cihologramas / pyueye

Python wrapper for ueye cameras
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

[QUESTION]: Gain Correction or Parameter Loading on pyueye #17

Open franferraz98 opened 2 years ago

franferraz98 commented 2 years ago

Hi!

I have a bunch of cameras that I need to use for work and I've spent a while trying to correct a color issue, but I'm not succeeding.

I'm using Ubuntu 18.04 with Python3.6, the drivers installed are the last available. When I use either PyuEye or ueyedemo, the images I get have a weird color tone, a bit too orange. I work with Computer Vision software, so this is something I need to solve.

I've been able to get the proper colors by loading a parameter file via ueyecameramanager -> Camera Information -> Parameter Set 1. I created the parameter set on ueyedemo -> uEye -> Image by changing the color gains and then exported via File -> Save Parameter -> Parameter Set.

Now when I open my camera on ueyedemo I get the proper colors, but when I use the example script for PyuEye I get the old, orange-ish colors.

Is there a way to either load the other parameter set or change the color gains via PyuEye?

Thanks in advance, all help is welcome. Fran

ramezquitao commented 2 years ago

@franferraz98 , sorry, not for the moment. To be honest we are not using much the pyueye lately, so it is kind of a dead project. I hope you can solve the issue.