-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3D image #12
Comments
The compute module version of the raspberry has 2 camera interfaces allowing 2 pi cameras to be attached but only 1 is active and processed by the GPU at a time. This software supports the compute module and allows switching between the 2 cameras using the cn command which can be sent into the command PIPE. If you are just interested in getting 2 still images from the cameras for processing into a stereo view then this would be possible by issuing an im command followed by a cn command (to switch cameras) followed by another im command. If you want true simultaneous image capture or simultaneous video capture then you really need 2 Pis. The software runs well on a Pi Zero so that is an option. You then need to send in commands to both Pis close together. |
349/5000
I am using StereoPi https://www.crowdsupply.com/virt2real/stereopi
It already comes with a module but I would like to use RPI_Cam_WEB because it has more controls in the photo.
But RPi_Cam_web only triggers a camera would like to trigger both.
From the Raspistill command line this is possible by entering the 3d example .: raspistill -3d sbs -w 1280 -h 480 -o 1.jpg
De: roberttidey <[email protected]>
Enviada em: segunda-feira, 29 de julho de 2019 04:50
Para: roberttidey/userland <[email protected]>
Cc: 2print <[email protected]>; Author <[email protected]>
Assunto: Re: [roberttidey/userland] 3D image (#12)
The compute module version of the raspberry has 2 camera interfaces allowing 2 pi cameras to be attached but only 1 is active and processed by the GPU at a time.
This software supports the compute module and allows switching between the 2 cameras using the cn command which can be sent into the command PIPE.
If you are just interested in getting 2 still images from the cameras for processing into a stereo view then this would be possible by issuing an im command followed by a cn command (to switch cameras) followed by another im command.
If you want true simultaneous image capture or simultaneous video capture then you really need 2 Pis. The software runs well on a Pi Zero so that is an option. You then need to send in commands to both Pis close together.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#12?email_source=notifications&email_token=AMVKSL7EBYF6AZXX6H7433TQB2OMLA5CNFSM4IHM5MXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD274NVQ#issuecomment-515884758> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMVKSL4VJMGD2WMKEE63LALQB2OMLANCNFSM4IHM5MXA> . <https://github.com/notifications/beacon/AMVKSLZGJG4NKZHURQKUUBTQB2OMLA5CNFSM4IHM5MXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD274NVQ.gif>
|
OK. This is using the -3d option supported by raspivid to run both cameras through the GPU simultaneously. Currently tthe RPi Cam software doesn't support that. In principle, it can be achieved by adding a bit more support in the MMAl layer, so I will investigate it further. If I add support for it in then I won't have the means to test it as I don't have compute module / stereo camera set up. So it would just be supplied for external testing. |
if you send me I test here
De: roberttidey <[email protected]>
Enviada em: segunda-feira, 29 de julho de 2019 14:39
Para: roberttidey/userland <[email protected]>
Cc: 2print <[email protected]>; Author <[email protected]>
Assunto: Re: [roberttidey/userland] 3D image (#12)
OK. This is using the -3d option supported by raspivid to run both cameras through the GPU simultaneously.
Currently tthe RPi Cam software doesn't support that.
In principle, it can be achieved by adding a bit more support in the MMAl layer, so I will investigate it further.
If I add support for it in then I won't have the means to test it as I don't have compute module / stereo camera set up. So it would just be supplied for external testing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#12?email_source=notifications&email_token=AMVKSLZOTSQ3XDYEQYPBGCLQB4TNDA5CNFSM4IHM5MXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BOUXQ#issuecomment-516090462> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AMVKSLZTPJGWHV2G3MAP64TQB4TNDANCNFSM4IHM5MXA> . <https://github.com/notifications/beacon/AMVKSL3YD2V5Z5ZQWPZZ2S3QB4TNDA5CNFSM4IHM5MXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BOUXQ.gif>
|
Is it possible to enable 2 camera to have 3D image?
The text was updated successfully, but these errors were encountered: