Hi. If you grow flowers or fruit, every day you need to know one thing: how many flowers have opened, and how many buds are still closed. Meet Bloom Counter: an open-source project that counts them automatically with computer vision. Point a camera at the greenhouse, and you get the numbers ready to report.
The problem is real. In commercial growing, open blooms versus closed buds is the earliest solid signal of future yield. Today it is counted by hand: slow, every person counts differently, and impossible to scale across greenhouses. One camera plus a counting program turns a walkthrough into a spreadsheet.
How it works, in four steps. First, the program reads your photos, named by region and date. Second, detection: it looks for petal colors, pink, white, yellow, against green leaves in the H S V color space, then measures each blob: big ones are open blooms, small ones are buds. Third, it adds up the counts by region and by day. Fourth, it generates the report: a C S V file, a J S O N, and a bar chart. All in Python with OpenCV, no G P U, no training data needed.
I tested it on six simulated photos: two regions over three days, three hundred fifty-seven flowers in total. Result: ninety-nine point seven percent recall. In the image, every open bloom is boxed in green and every bud in blue, each with its confidence score. And this chart is the final report: blooms and buds per region per day, the summary your boss wants to see.
One honest note: this demo uses simulated photos, each watermarked. What is real is the whole pipeline: reading, detection, aggregation, reporting. The next step is a YOLO detector trained on real photos, and the code is already ready for that swap. It is open source under the M I T license, link in the video description. Give it a try, and tell me in the comments what you grow. See you in the next video!
S6: Take a breather. China has 24 solar terms; farmers have sown and harvested by them for millennia. Working with the seasons is ancient wisdom. May God, the Creator of heaven and earth, bless the work of your hands.
S7: For God so loved the world that he gave his one and only Son. John 3:16 Technology becomes outdated, but love never ends. May God bless you and your family. If this project helped you, please give it a Star and share it with more people.
Top comments (0)