Normalize light

asked 2018-01-21 08:24:09 -0600

peak@opencv gravatar image

updated 2018-01-21 08:25:50 -0600

Using a webcam. With optimized light (by trial and error) for OpenCV it recognize what it should, in this case playing cards but could be any object. As soon as the light changes in any way, the recognition fails. Is there any way to have OpenCV to automatically adjust for different light situations?

edit retag flag offensive close merge delete

Comments

Thats probably because you trained a system to only recognize well illluminated objects. Without a deeper insight in your processing pipeline we cannot help you in finding decent solutions.

StevenPuttemans gravatar imageStevenPuttemans ( 2018-01-21 09:13:19 -0600 )edit

Thanks for your answer. I understand your point. I trained the system with a well-lit photo of all playing cards. Of course it fails when light is less or different.

peak@opencv gravatar imagepeak@opencv ( 2018-01-21 09:44:24 -0600 )edit
1

" I trained the system" -- what does it mean, exactly ?

berak gravatar imageberak ( 2018-01-21 10:29:39 -0600 )edit
peak@opencv gravatar imagepeak@opencv ( 2018-01-22 00:24:04 -0600 )edit