This is the picture of a chilli plant I recently bought. I want to set-up a raspberry pi with a camera to take photos of this plant everyday and record down the number of red peppers, green peppers and flowers. Additionally, I want my program to be able to draw boxes around the objects it draws.
Here is where I need advice. Could you guys recommend some approaches that I could use. I have thought of either
- Finding groups of red pixels together (to indicate a red pepper) and groups of purple/white pixels together (to indicate a flower). This method obviously has its limitations when it comes to the green peppers
- Machine learning
Most machine learning programs are made to identify that an image has peppers rather than count the number of peppers (correct me if I am wrong) so I need some guidance on how I would take the machine learning approach.
Additionally, just one point of view would not able to spot all the peppers and adding multiple points of views would result in double counting. Any solutions to this problem will also be greatly appreciated.
Thank you guys so much for your help!