About 60% of Pakistan’s export is dependent on agriculture. European Union is a large market of Pakistani fruits. However, Pakistan struggles to meet the EU standards. Numerous imaging techniques have been used to detect and predict bruises/diseases in fruits. Images gathered through these methods are processed through computer vision and machine learning algorithms. iFruitFly Detector project aims to detect fruit fly infestation in mangoes. The present project focuses on feature extraction, anomaly detection and supervised learning to predict bad regions in fruits. Early bruises are detected through infrared imaging before they can appear actually.