Black Grayscale Line Following Example problem

Discussion related to "under the hood" OpenMV topics.
vasinalex
Posts: 1
Joined: Mon Jan 27, 2020 11:57 am

Black Grayscale Line Following Example problem

Postby vasinalex » Mon Jan 27, 2020 12:04 pm

Hello. I use the Black Grayscale Line Following Example script to build a robot following the black line. But I ran into the problem that if the room is light, the camera stops recognizing black objects. Subdued light solves the problem, but it does not suit me. Is it possible to adjust the hue of the recognized black color in the script?
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Black Grayscale Line Following Example problem

Postby kwagyeman » Mon Jan 27, 2020 12:08 pm

Yes, please use the Tools -> Machine Vision -> Threshold Editor to pick new color bounds. Note that you can have multiple color bounds at the same time to deal with different lighting conditions.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests