Open thasnimolvs opened 3 years ago
No matter to which port I connect C1 it should always be S1 : No.
I would suggest you set user-defined name for each camera. Let say cam1,cam2,cam3 then open the camera using a predefined camera info object. so you have always sorted list.
@SMA2016a Currently am initialising and that looping is using enumerate function..I need every time a proper order of folders ..sir , could you please explain clearly. ? Now am creating that folder based on their serial no
Please refer the sample https://github.com/basler/pypylon/blob/master/samples/grabmultiplecameras.py
you just need to adapt the attach line.
SNs= ["sn1", "sn2", "sn3"]
for i, cam in enumerate(cameras):
device_info = pylon.DeviceInfo()
device_info.SetSerialNumber(SNs[i])
cam.Attach(tlFactory.CreateDevice(device_info))
So you have always in same order.
@SMA2016a Hi sir, i have one more doubt, when i captured the images from multiple camera and analysed by using histogram of delta t (time difference between each time stamp) but the difference is much lesser means less than 1ms for 60 fps, so it seems to be some problem with code. i think its due to multiple images are added to the buffer, but they are not cleared at regular time and putting the timestamp only reading from the buffer , timestamp depends on whrn we read data , here by attaching my code here the images are transfred to an array. is it possible to modify this code that array part?????????????
would you also add your histro file, please?. I do not find any issue in your code.
Please check if auto exposure function is enabled.
@SMA2016a auto exposure function is already off . how to set it in python??
@SMA2016a is there any issues in settings?? instead of exposure auto i set the exposure time directly
Let us say you have attached three cameras C1, C2 and C3 and connected to three ports P1, P2 and P3. If your code now says that their serial IDs are S1, S2, S3.
No matter to which port I connect C1 it should always be S1, similarly for C2 and C3. using my code each time getting different order