LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get only horizontal line from canny edge detection?

Solved!
Go to solution

Is it possible to take out horizontal line from canny edge detection ? or what other way can I use for scanning horizontal edge ? My project is to detect horizontal line of a bottle with juice inside, and check whether the water level is normal, or less .

ORI.jpg

PULSEWannabe_0-1659260533603.png

 

0 Kudos
Message 1 of 3
(888 Views)
Solution
Accepted by topic author PULSE.Wannabe

I would just look at the color change along a vertical line. No need to edge detect the entire image.

0 Kudos
Message 2 of 3
(863 Views)
  • Is the drink always dark?
  • Is the cap always white? Do we know exactly where the cap is?
  • Is the bottle always in the same position (horizontal, vertical, distance, magnification, etc.)?
0 Kudos
Message 3 of 3
(851 Views)