How to detect a color in an image

Hi there,

Can anyone help me with this:
in an image some text can be yellow, red or blue.
(rgb: 255,0,0 & 0,255,0 & 0,0,255)
How can I get this detected?
The images looks like.

1
2
The image displays the text "WGHM" followed by the numbers "1.00000" in blue and "0.00000" in green on a black background. (Captioned by AI)

Anyone any idea?
thanks in advance!

@Bureau_G

One approach for you…but identifying the pixel area is important

Cheers

I have seen and tried this one. But I have no idea how I can use it. Is there any documentation available of this package? Or can anyone help me with it?

Hi @Bureau_G ,

I have developed a workflow using the same approach.
Please find the workflow screenshot and the XAML file attached below for your reference.
Additionally, try importing the System.Drawing library into your workflow, as bitmaps are handled using this namespace.

Workflow Screenshot

Workflow
Color Detector from Image.zip (3.4 KB)

Hope it helps you out!
Best Regards,
Vikas M
LinkedIn

1 Like