This inspection is discussed in the Imaq Vision For LabView manual, and at one time there was example code.
https://www.ni.com/pdf/manuals/322917a
Fuses are an excellent example of Design for inspection.. Each current rating has a different color, so OCR is not required.
In the image posted in this message, Field of View and lighting needs to be optimized.. One of the fuses has critical glare that obscures the color and value of the fuse.
Check out the Color Threshold example.
Bug me if you need more help.