-
Notifications
You must be signed in to change notification settings - Fork 211
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
Asynchronous grabbing from a 2-camera array #766
Comments
Are the cameras HW triggered ? |
The camera can be software triggered. There is no hw triggering in this setup.
FgH...
Frederick Haibach
Sr. Director, Spectroscopy and Applications
Direct: 774.462.6711
***@***.***<https://www.kpmanalytics.com/>
From: Thies Möller ***@***.***>
Sent: Friday, July 19, 2024 6:28 PM
To: basler/pypylon ***@***.***>
Cc: Fred Haibach ***@***.***>; Author ***@***.***>
Subject: Re: [basler/pypylon] Asynchronous grabbing from a 2-camera array (Issue #766)
You don't often get email from ***@***.*** Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Are the cameras HW triggered ?
-
Reply to this email directly, view it on GitHub<#766 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BFV3HB4AFHAUGVLVDI2ARR3ZNGHFTAVCNFSM6AAAAABLFIYHICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBQGQYTAMBWG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
are you using same camera model? and the resulting frame rate of both camera is same? may be the camera 2 running slower or it is losing images. |
Hi, you want the irregular pattern, but you dont know how to trigger the second camera irregular, did i get that correct? Can you tell the fps and when do you know if the second camera should take an Image? Is the irregular pattern known from the beginning or do you react to something during the process? |
Also, you don't necessarily have to use the InstantCameraArray. You can also create two instances of InstantCameras and call camera.RetrieveResult for each camera individually. The cameras will continue to grab images in freerun. So if you want to avoid traffic to your host, a software trigger solution might be the best, but then you need to know the pattern in advance. One additional thing, because you say "grabmultiplecameras.py is an example of synchronous grabbing": |
Describe what you want to implement and what the issue & the steps to reproduce it are:
grabmultiplecameras.py is an example of synchronous grabbing of frames. I need to do asynchronous grabbing from two cameras. For example, lets label the cameras as "1" and "2", then the sequence might be
1 1 1 1 2 1 1 1 2 1 1 1 1 1
The pattern that interleaves 2 is irregular.
While I could get both images synchronously and just ignore unused images from 2, I was hoping for something cleaner and with less overhead.
Is your camera operational in Basler pylon viewer on your platform
Yes
Hardware setup & camera model(s) used
RPi 4, Raspbian/Debian OS
USB4 - direct connection via 30 cm cables
Runtime information:
The text was updated successfully, but these errors were encountered: