I use the cam to detect a moving object passing in front of a black background.
Light seems to affect my trigger using l_ mean from image statistics only
Something like :
while st.l_ mean > 19:
Do Analyse object…
What is the best way to eliminate small light differences so the trigger becomes more’ stable’
So more like get the colour from image statistics regardless lighter or darker?
So if capture 1 one is at say x light and capture 2 is at x-1 Light
How you calculate capture 2 back to one?