Overexposure can help in white detection?

Added by Alex nistor 5 months ago

Hello Guys,

I am really new too this.
I acquired Pixy for one of my project. I want to detect when a white ink marking is missing from a full black background.
Because white has no hue and can not be detected, neither black, I was thinking, can can I make Pixy give a signal to Arduino when any overexposure area (in my case the white ink marking) is detected and when it is not (ink missing)?

I want to make it start an alarm when the ink is missing, this means no overexposure detected.

What do you guys think?

Andru


Replies (4)

RE: Overexposure can help in white detection? - Added by Edward Getz 5 months ago

Hello Alex,
Pixy's color-connected-components algorithm only works with hue-based detection. Black and white won't work with this algorithm. Your example sounds like a simple problem though.

The IR-lock folks have a custom version of Pixy's firmware that only looks for intensity (black and white). You might find their firmware does what you want it to do. We don't support it unfortunately. Here is the link if you're interested:

https://irlock.com/

Edward

RE: Overexposure can help in white detection? - Added by Alex nistor 5 months ago

Thank you for the advice Edward.
Wanted to order their lens kit, but it either takes 6 weeks to ship to eastern Europe, or I have to pay 100 euro only for the shipment to gent them in 1 week.
I will try to find some replacement IR lens on the market if I can,

I will let you know how it goes when I will have some info.

RE: Overexposure can help in white detection? - Added by Edward Getz 5 months ago

Hi Alex,
You may not need their lens. Their lens is special because it only lets in IR light. It sounds like you want a regular lens, like the lens that came with Pixy, but a different algorithm -- an algorithm that detects objects based on intensity (not hue). That's why I suggested you give IR-lock's firmware a try.

Hope this helps!

Edward

RE: Overexposure can help in white detection? - Added by Alex nistor 5 months ago

It works!
The problem was that I initially downloaded an IRLock version which didn't had the setting to modify the exposure and I was getting a black screen. Downloaded the correct one and it works like a charm!

Thank you for the help!

(1-4/4)