0

I have been working on a codebar recognition project for weeks,. I was asked to use GIGE cameras to recognize the code bars from a PCB and I choosed to use python for the job. So far, I've finished the recognition of codebars from a picture with Opencv. The problem is how to connect to a GIGE camera and grab a photo with My program. Unfortunately, I found Opencv doesn't support GIGE camera so I had to choose Halcon instead. However, eventhogh I can use HDevelop to connect and capture the image, I find no solution to link it to my Python program as Halcon program can only be exported as C# or C++

btw, I tried to use pythonnet and ironPython, but I don't how could I use them to execute a C# script(.cs file)

Liu Alex
  • 1
  • 2
  • You can try https://github.com/genicam/harvesters. Also, have a look at https://stackoverflow.com/questions/3345467/opencv-with-gige-vision-cameras – Paul92 Jun 04 '19 at 10:36
  • Sadly, I found they don't support my OPT camera. Harvester has a support list but OPT is not on the list. The other link suggests opencv can support prosilica gige cameras, that doesn't seem quite help... – Liu Alex Jun 05 '19 at 01:24
  • Which version of HALCON are you using? We have interfaced Python to HALCON via the HalconDotNet interface. Is this project on Windows? – RtiBobV Aug 26 '19 at 13:47
  • 2
    I'm a developer at Pleora (eBUS SDK) and we're currently in the process of writing python bindings for our SDK which will allow you to write your entire application in python and use whichever libraries you like. It's still in progress but might be available for some early alpha testing soon. – Chris Warkentin May 21 '20 at 10:04

0 Answers0