genicam / harvesters_gui

Harvester-based GUI
Apache License 2.0
56 stars 22 forks source link

AttributeError: 'ImageAcquirer' object has no attribute 'worker_image_acquisition' #34

Open Clement-Tapway opened 2 months ago

Clement-Tapway commented 2 months ago

Describe the bug The gui shut down when trying to connect to Omron line scan camera via harvester gui

To Reproduce Steps to reproduce the behavior:

  1. Have harvesters and harvesters_gui downloaded
  2. Using Omron Line Scan Camera FS-B8KU35GES-F
  3. Run harvesters.py as per README.MD
  4. With the harvesters gui running, select the *.cti file for the Omron camera (/sentech/lib/libstgentl.cti)
  5. Click Connect --> Error occurs

Expected behavior Should be able to run harvesters_gui to see live feed from camera

Screenshots image

Desktop (please complete the following information):

@kazunarikudo Is there any way to resolve this issue?

NguyenDucQuan12 commented 1 month ago

@Clement-Tapway Have you found a solution yet? I'm currently using the fh-sc05r camera. I'm looking for a way to connect the camera to python so I can view images from this camera.

Clement-Tapway commented 1 month ago

Hi @NguyenDucQuan12, sadly no, I proceeded with a cv2 implementation to see live inferencing from my camera with reference to this issue, hope it helps~ https://github.com/genicam/harvesters/issues/452

NguyenDucQuan12 commented 1 month ago

@Clement-Tapway How did you deploy with cv2? When I use it with ip cameras, there will be an rtsp link, but with omron cameras, I don't know how to use it with cv2. Can you tell me how to get the path to the cti file? Thank you

Clement-Tapway commented 1 month ago

@NguyenDucQuan12 , just to verify have you downloaded the required software from the Omron website? https://automation.omron.com/en/us/products/family/FH

image

For my case, I had to download the SDK for my Omron machine vision line scan camera to my device (jetson), then the SDK folder downloaded would contain the *.cti file in this path for my case: /opt/sentech/lib/libstgentl.cti, pls explore and study what software is required for your camera, and it will download the cti file in your device

NguyenDucQuan12 commented 1 month ago

@Clement-Tapway thank you so much

Clement-Tapway commented 1 month ago

@NguyenDucQuan12 no worries, would like to hear if you managed to get it running soon!