Created on 2nd May 2021
•
With the rapid increase in the production in the agriculture sector it is increasingly becoming difficult for the industrial sector to assess the product and sort it effectively. Considering the humungous and varied fruit cultivation in our country, the task of grading is vital in the industry because there is a great demand for high-quality fruits in the market. However, fruit grading by humans is inefficient, labor-intensive, and prone to error. This paves way for the intervention of technology to find an optimized solution for this problem
A few problems we ran into while building this were, Initially, when we got the code from the teachable machine it was running in an infinite loop using multithreading but we wanted it to stop when ESC is pressed which wasn't working out. We fixed it by making a separate function that checks for keypress and flags a variable. Then we can use that variable to end that thread.