TheImagingSource / tiscamera

The Linux SDK for The Imaging Source cameras.
https://www.theimagingsource.com
Apache License 2.0
299 stars 148 forks source link

Using multiple cameras on linux #499

Closed dinhtuanan closed 1 year ago

dinhtuanan commented 1 year ago

Hi, I have 2 cameras:

I'm using Ubuntu 18.04.6 LTS

I plugged both of them through Ethernet Adapter Usb 3.0

Camera Info:

When I use tcam-capture application to open camera, I can only open 1 camera that plugged first and the other I can't open

I would like to know how I can use two cameras or how to setting cameras right way

Did I miss something in config cameras?

Regards, An

TIS-Stefan commented 1 year ago

Hello

you may try to open the second camera with command tcam-capture --reset.

Maybe that helps.

Stefan

dinhtuanan commented 1 year ago

Hi Stefan, thank you so much for replying

I tried your suggestion but nothing happen. Did I do right? image

TIS-Stefan commented 1 year ago

Hello

you are right, that option was available in the precious version. But according to the documentation at https://www.theimagingsource.com/documentation/tiscamera/tcam-capture.html you can open the camera directly by serial: tcam-capture --serial 31120204 and tcam-capture --serial 39220008

I suppose, you can see the live stream of each of the cameras, if they are opened as only camera, right?

Stefan

TIS-Stefan commented 1 year ago

Hello

Just one addtion: You use a PI4, so please make sure to use low frame rates:

dinhtuanan commented 1 year ago

Thank you so much Stefan,

I will close this issue

Regards, An