Hi,
Yes, it is possible to detect the geometries outlined in red. For example you could use edge detection within a Region Of Interest, or a Geomatric Matching. For more informations on the algorithms please view this KB article:
IMAQ Vision Algorithms
http://digital.ni.com/public.nsf/allkb/D6B6B5D928C186B486256F4D00046CFC?OpenDocument
I'm also adding a KB on geometric matching:
Why Wouldn't the Selected Template Match with the Main Image When Using Geometric Pattern Matching?
http://digital.ni.com/public.nsf/allkb/D9420536790B209886257559000B02DB?OpenDocument
and finally some community examples with vision and detection / matching:
Continuous Edge Detection Using Morphological Filters
https://decibel.ni.com/content/docs/DOC-24921
Edge Detection with a USB Camera
https://decibel.ni.com/content/docs/DOC-34733
Verify Wires: Vision Builder AI
https://decibel.ni.com/content/docs/DOC-31260
Identify "Perfection" Piece Using Geometric Pattern Matching
https://decibel.ni.com/content/docs/DOC-30575
Identify Multiple "Perfection" Pieces Using Geometric Edge Matching
https://decibel.ni.com/content/docs/DOC-30576
Simple Face Detection using IMAQ
https://decibel.ni.com/content/docs/DOC-33812
Use Vision Assistant to Find Matched Patterns
https://decibel.ni.com/content/docs/DOC-32828
Pool Playing Robot
https://decibel.ni.com/content/docs/DOC-16484
EDIT: added more examples
Best regards,
Robert P-F
Applications Engineer
National Instruments