Page 1 of 1

snapshot two pictures in the same vsync

Posted: Fri Mar 05, 2021 11:45 am
by wasfan
Hi
could i get two pictures ( left, right) at the same time ( the same vsync)

Re: snapshot two pictures in the same vsync

Posted: Fri Mar 05, 2021 5:00 pm
by Realizator
Hi wasfan,
That’s the key point of the stereoscopy - to get both images at the same time.
You can use default software synchronization (a few milliseconds precision). Or advanced hardware sync with nanosecond precision. HQ cameras has this feature out-of-the-box, as I mentioned in our last update: https://www.crowdsupply.com/stereopi/st ... d-stereopi

Re: snapshot two pictures in the same vsync

Posted: Tue Mar 09, 2021 11:15 am
by wasfan
Hi
when i snapshot , i get a jpg that merged by left and right
can i get pictures individually ? left.jpg , right.jpg ?

Re: snapshot two pictures in the same vsync

Posted: Tue Mar 09, 2021 12:00 pm
by Realizator
Yes, you can. You just run tewo image capture commands.
Please note, that in the stereoscpic mode images are synced by default. But if you are taking them separately, system does not know you need to synchronize them. In this case the direct sensors sync can help you.
I'm curious, why do you need two independent images, and why splitting them after capturing a frame does not works for you?

Re: snapshot two pictures in the same vsync

Posted: Sun Mar 14, 2021 10:36 am
by wasfan
hi
some deep learning model need pitcures to trained by this way.
i will split pic by cv , thx

Re: snapshot two pictures in the same vsync

Posted: Mon Mar 15, 2021 9:53 am
by Realizator
Wasfan, this is the way we use in our OpenCV code. We capture a stereoscopic pair and then split it into left and right images. Our experience says this is the most comfortable way instead of working with separate images, and also the only way for stereoscopic video processing.