Search found 195 matches

by stereomaton
Mon Mar 01, 2021 2:40 pm
Forum: OpenCV, Python and other image processing
Topic: DISFlow for disparity map
Replies: 6
Views: 71

Re: DISFlow for disparity map

Yes, my second question was for this case: the optical flow searches for changes in 2D, but sometimes it might find vertical component if the grayscale image had not enough information to decide (uniform zone, occlusion...). That's why I asked if we can constrain it.
by stereomaton
Sun Feb 28, 2021 11:51 pm
Forum: OpenCV, Python and other image processing
Topic: DISFlow for disparity map
Replies: 6
Views: 71

Re: DISFlow for disparity map

Shouldn't it be flow[...,0] to get the U component of the optical flow?
Is there a way to say that we are sure that the image is well aligned and that the flow should be computed only in X and not Y, or at least bias the cost function to prefer horizontal flow when possible?
by stereomaton
Sun Feb 28, 2021 11:18 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: New to Raspberry Pi
Replies: 4
Views: 72

Re: New to Raspberry Pi

What do I need to do to the video recordings from stereopi to view a movie is stereo on the Oculus headset? I have no experience with it, but I heard of people looking at side-by-side videos/movies in their oculus headset. So there should be applications to load such videos. With a quick search, I ...
by stereomaton
Sun Feb 28, 2021 10:05 pm
Forum: Your Project
Topic: is there a way to connect 4 cameras?
Replies: 5
Views: 1559

Re: is there a way to connect 4 cameras?

The article has indeed an emphasis on fast synchronization with a lot of little tricks to achieve it. If your scene is stationary (or even has slow movements), using the button solution presented in the first answer will be enough and simpler. In the linked thread, the user MauriceCyril has answered...
by stereomaton
Sun Feb 28, 2021 9:41 pm
Forum: StereoPi hardware
Topic: StereoPi v2
Replies: 16
Views: 625

Re: StereoPi v2

I would think I need the ability to change the angle of the cameras (rather than keep them parallel) for microscopy. Does this sound right to you? Just in case, I think of two possible consequences: 1) You will probably need to compensate for the keystone effect (perspective). When the two sensors ...
by stereomaton
Sun Feb 28, 2021 8:46 pm
Forum: StereoPi hardware
Topic: Stereopi power over gpio headers
Replies: 1
Views: 63

Re: Stereopi power over gpio headers

Hi. I looked at the link you gave, and it seems to do what you are looking for. The install script is full of unrelated things so that I did not have the patience to read all. Thus I do not know how it starts, but I have seen that the code is actually hosted there: https://github.com/pimoroni/clean-...
by stereomaton
Wed Jan 20, 2021 3:08 pm
Forum: Video, photo (livestream, recording, photo capturing)
Topic: synchronized Full-Res (12Mpx) Still image with HQcamera
Replies: 3
Views: 173

Re: synchronized Full-Res (12Mpx) Still image with HQcamera

According to this tweet https://twitter.com/StereoPi/status/1267397816130981888, realizator (from the team of StereoPi) managed to use two HQ cameras. I do not know his detailed results though.
by stereomaton
Wed Jan 20, 2021 3:04 pm
Forum: StereoPi hardware
Topic: StereoPi works too slowly
Replies: 2
Views: 177

Re: StereoPi works too slowly

I do not know how TeamViewer gets the image of the screen from the board, but I know that I had problems with VNC on another embedded board years ago. It is far in my memory, but I think that the solution was to ask x11vnc to get the image directly from the framebuffer or something like that, or to ...
by stereomaton
Wed Jan 20, 2021 2:51 pm
Forum: StereoPi hardware
Topic: Invalid Channel
Replies: 1
Views: 405

Re: Invalid Channel

It seems that the GPIO you want to use is used by another program/driver. It is quite strange since there is nothing special there that could a priori be in conflict, though I do not have the original image on my StereoPi to compare. The linux kernel has a special file to see what GPIO are in use by...
by stereomaton
Wed Jan 20, 2021 2:12 pm
Forum: The art of stereoscopic photo
Topic: viewing stereo images on the web site
Replies: 10
Views: 6656

Re: viewing stereo images on the web site

It would be nice if the web site had some sort of live javascript that allowed left and right images to be swapped in-situ by the reader, to allow either type of viewing A popular viewer is "HTML5 Stereo Viewer" from Masuji SUTO. As far as I understood, it is only distributed with StereoPhotoMaker ...
by stereomaton
Wed Jan 20, 2021 1:52 pm
Forum: StereoPi hardware
Topic: Support 2 HQ cameras
Replies: 2
Views: 423

Re: Support 2 HQ cameras

According to this tweet https://twitter.com/StereoPi/status/1267397816130981888, realizator (from the team of StereoPi) managed to use two HQ cameras. For the external trigger, this thread https://forum.stereopi.com/viewtopic.php?f=10&t=106 gives a solution that is integrated with the default system...
by stereomaton
Thu Oct 29, 2020 9:16 am
Forum: OpenCV, Python and other image processing
Topic: 3D world coordinates from stereo calibration
Replies: 5
Views: 644

Re: 3D world coordinates from stereo calibration

I have no experience in the domain, but I see that the only input of the function are your calibration matrices and the coordinates of your homologous points. Thus, I would suspect that the calibration is not good enough. I suppose that the RMS value you talk about is computed as reprojection error ...
by stereomaton
Wed Oct 28, 2020 10:49 pm
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

Okay. I just had a quick overview of these two modules and the distinction is essentially the same as I said. One (threading) provides an interface to execute the tasks in the same process/program with shared memory, and thus you need to protect access on modifiable shared memory with appropriate me...
by stereomaton
Wed Oct 28, 2020 11:29 am
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

It is up to you, I exposed some pros and cons of the different architectures. Notice that it is not because I personally do not know (and did not search for) messaging libraries that your are stuck to not use more elaborated objects in communications via sockets. That said, I do not see what you pla...
by stereomaton
Tue Oct 27, 2020 12:37 pm
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

Using multithreading (instead of sockets in this case) allows direct access to the memory of the other task. This might be useful if you want to access large memory or complex structures, but it comes with the need to protect correctly the access to any (modifiable) shared resources. Otherwise there...
by stereomaton
Mon Oct 26, 2020 8:58 am
Forum: OpenCV, Python and other image processing
Topic: Stereo_Camera Calibration error
Replies: 32
Views: 7041

Re: Stereo_Camera Calibration error

Your new question might lead to a long discussion not related to the original topic, you should probably open a new post.
by stereomaton
Mon Oct 26, 2020 8:49 am
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

What I mean by a blocking call is a call to a method that place the task in a blocking state in the operating system, which means that the task will not consume CPU time until the appropriate event occurres (may be a timeout, a user input, the answer of a peripheral, the release of a mutex by anothe...
by stereomaton
Sun Oct 25, 2020 10:01 am
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

If I understand well, you want to have a part with blocking calls, and another independent that can respond during this, through probably another blocking call for the interface. There are many ways to deal with this. One classical way is to use an event loop (but your blocking calls have to be comp...
by stereomaton
Sat Oct 24, 2020 9:29 pm
Forum: OpenCV, Python and other image processing
Topic: Depth map calibration/explanation
Replies: 21
Views: 8128

Re: Depth map calibration/explanation

Tuannm, first let me point out that your images are reversed (left on right and right on left). I did not played seriously with the calibration part, but several problems reported on the forum were due to bad input data. In particular, you can set drawCorners to True to check if all detected chessbo...
by stereomaton
Sat Oct 24, 2020 9:20 pm
Forum: OpenCV, Python and other image processing
Topic: Continuous Capture in the Background
Replies: 14
Views: 781

Re: Continuous Capture in the Background

Is this the actual code ? By reading it, it looks like there are syntax errors, problem with the place where sensor variable is created (before declaration of its class) and that even after this is corrected, the code will do nothing interesting as is (except probably turn the LEDs on) because only ...