genicam / harvesters

Image Acquisition Library for GenICam-based Machine Vision System
Apache License 2.0
502 stars 86 forks source link

Unable to detect or connect to Lucid Vision Labs-TRI023S-C #294

Closed nznobody closed 2 years ago

nznobody commented 2 years ago

Describe the Bug

I am unable to get a Lucid Vision Labs GigE camera to be detected. I understand that this could be because Lucid's cameras are problematic, but I'd appreciate some confirmation that I am approaching this correct. What could be done to enable this software to work with their cameras? Would a wrapper around their ArenaSDK (in python) be suitable?

To Reproduce Steps to reproduce the behavior:

  1. from harvesters.core import Harvester
    import numpy as np
    h = Harvester()
    h.add_file("\some\valid\path\mvGenTLProducer.cti")
    h.update()
    len(h.device_info_list)
    >>> 0

Expected Behavior A clear and concise description of what you expected to happen.

I expect the camera to be detected. It is connected via Ethernet and if I open ArenaView it is detected and I can stream from it. If I open wxPropView (from mvGenTL_Acquire-x86_64-2.46.1.exe) then I can view the device and access it.

Screenshots If applicable, add screenshots to help explain your problem; Note that it is not necessary to put everything as a screenshot! If the source is a text just paste the text because that is much helpful for us.

image image

Configuration

Reproducibility

This phenomenon can be reproduced by other versions:

If so, please list up the reproducible versions you have confirmed:

Actions You Have Taken Tried using https://github.com/AravisProject/aravis and it can roughly detect the camera (but has many issues)

Additional context Add any other context about the problem here.

kazunarikudo commented 2 years ago

Hi, thank you for the report; here are few questions:

Regards, Kazunari.

nznobody commented 2 years ago

Hello @kazunarikudo :)

Thanks for your super fast response! I can confirm that adding the r to the actual path (I had changed it for the issue) solved it and I know get:

[(id_='TRI023S-C(1c:0f:af:00:fb:93)', vendor='Lucid Vision Labs', model='TRI023S-C', tl_type='GEV', user_defined_name=None, serial_number='213902307', version='1.69.0.0')]

I will check tomorrow that it actually captures images, but will close this for now!

I am surprised that it did not generate any errors, but I should have known about r on windows! Would a PR addressing this with a warning or error when the add_file argument can't be found be useful? I'd be happy to implement that.