IOTree is a wireless network of smart devices that are developed using a deep learning algorithm and machine vision designed for the early detection, classification, and counting of different types of harmful pests. Farmers can benefit from the IOTree app by receiving real-time reports and updates on the best agricultural practices to deal with pest invasions. Using IoTree, the farmers will improve 30% the quality of harvest.