With reference to the following Image can someone guide me how to go for extracting all the bulbs (b1, b2, b3, b4, b5) and putting them in separate image (b1.jpg, b2.jpg, b3.jpg, b4.jpg, b5.jpg).
I can use a template, but the issue is the size and shape of the bulbs are varying as you can see varying. (But the over all look of the bulb is still the same).
Any advice how to go for this using openCV?
Thanks and regards,
Heshsham