Open G-S-A opened 9 months ago
I have the same problem with a FLIR thermal camera Did you solve the problem?
I have the same problem with a Teledyne thermal camera Has anyone solved it or saved how to solve it?
I have the same problem with a Teledyne thermal camera Has anyone solved it or saved how to solve it?
I've solved it, but the scritp that aquire the image is running locally.
I am starting to use IP cameras, and I have to capture an image, specifically from the JAI AD-132GE camera using Python, I am starting by using the Harvester library, however I have not been able to obtain images.
I have used the tool that JAI provides JAI Camera Control Tool and with it I can perform the image acquisition:
However, when I try to link it in Python I get an error, this is the code:
If i print device_info_list:
[{'access_status': 2, 'display_name': 'AD-132GE_#0', 'id_': 'MAC->00-0C-DF-08-40-14::JAI Ltd., Japan::AD-132GE_#0', 'model': 'AD-132GE_#0', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x0000022E26E1E450> >, 'serial_number': 'QV132321', 'thisown': True, 'tl_type': 'GEV', 'user_defined_name': '', 'vendor': 'JAI Ltd., Japan', 'version': None}, {'access_status': 2, 'display_name': 'AD-132GE_#0', 'id_': 'MAC->00-0C-DF-08-40-14::JAI Ltd., Japan::AD-132GE_#0', 'model': 'AD-132GE_#0', 'parent': <genicam.gentl.Interface; proxy of <Swig Object of type 'std::shared_ptr< GenTLCpp::TLInterface > *' at 0x0000022E26E1E870> >, 'serial_number': 'QV132321', 'thisown': True, 'tl_type': 'GEV', 'user_defined_name': '', 'vendor': 'JAI Ltd., Japan', 'version': None}]
This is the error it gives me when running the program:
` PS C:\Users\bchns\OneDrive\Escritorio\TRABAJOS Y TAREAS\9 SEMESTRE\TALLER DE INVESTIGACIÓN\AUTOMATIZACION> & C:/Users/bchns/AppData/Local/Programs/Python/Python37/python.exe "c:/Users/bchns/OneDrive/Escritorio/TRABAJOS Y TAREAS/9 SEMESTRE/TALLER DE INVESTIGACIÓN/AUTOMATIZACION/t2.py" GenTL producer does not implement IFGetParentTL GenTL producer does not implement DevGetParentIF GenTL producer does not implement DSGetParentDev GenTL producer does not implement DSGetNumBufferParts GenTL producer does not implement DSGetBufferPartInfo
Traceback (most recent call last): File "c:/Users/bchns/OneDrive/Escritorio/TRABAJOS Y TAREAS/9 SEMESTRE/TALLER DE INVESTIGACIÓN/AUTOMATIZACION/t2.py", line 15, in
ia = h.create(0)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 3082, in create
return self._create_acquirer(device_proxy=device_proxy, config=config)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 3113, in _create_acquirer
file_dict=file_dict, parent=self)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 1634, in init
xml_dir_to_store=self._xml_dir)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 489, in init
xml_dir_to_store=xml_dir_to_store)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 284, in init
port else None
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\harvesters\core.py", line 355, in _create_node_map
node_map.connect(concrete_port, port.name)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\genicam\genapi.py", line 1950, in connect
return self._connect(args)
File "C:\Users\bchns\AppData\Local\Programs\Python\Python37\lib\site-packages\genicam\genapi.py", line 1860, in _connect
return _genapi.NodeMap__connect(self, args)
_genapi.AccessException: Feature not present (reference not valid) : AccessException thrown (file 'NodeMapRef.h', line 497)
`
i have: genicam 1.3.0 harvesters 1.4.2 Python 3.7.0
I would appreciate if anyone has an idea of what the error could be and could educate me on the subject, greetings.