alliedvision / VimbaPython

Old Allied Vision Vimba Python API. The successor to this API is VmbPy
BSD 2-Clause "Simplified" License
93 stars 40 forks source link

Unstable threshold under auto exposure #101

Open azuredj opened 2 years ago

azuredj commented 2 years ago

Hello, Guys..

I am under developing machinevision application using Alvium-050m usb3.0 Camera.

I initialized ExposeAuto as 'Continuous', Gain as '8', Gamma as '1.0', black as '0'. AutoMax is 500 and AutoMin is 64. and I captured 120fps image by 480 x 300 pixel and remove noise using opencv bilateralfilter & morphologyEx(OPEN). finallly Execute opencv threshold by threshold value 128.

But when I executed opencv contour about acquired binary image, Even though the object is stationary, the center of contour's boundingbox is not fixed.

For few seconds seems like stable, but stumblin in again. Within 1 pixel boundingbox's center move to left and right.

Before now I fixed Exposetime but If I think I have found a stable setting with led light, the next moment becomes unstable totally. T.T And So changed to AutoExposure that at least as close to similar working.

Please Tell me good solution ~

BernardoLuck commented 2 years ago

Hello,

I think we can move this ticket the official Allied Vision support team, so that we can have a deeper analysis of this issue. Please, click on the following link, this leads to the support area from our website: https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/

BR

Bernardo Luck Villanueva // Applications Engineer

Allied Vision Technologies GmbH