The rise of Artificial Intelligence, deep learning, and contemporary computer vision techniques has been the primary force behind breakthroughs in agriculture. Latest detection models that support real-time processing directly on edge devices effectively solve many farming issues, including identifying diseases, pests, or insects, and determining crop maturity stages (fruits and vegetables). Today’s harvesting machines and robotic fruit pickers heavily depend on the detection strength of these algorithms. Several detection methods have been introduced and evaluated in the literature, achieving solid results in mean average precision. Nevertheless, today’s agricultural applications need not only strong mean average precision but also fast inference times. This work presents a Detectron2-powered framework integrated with PointRend (Point-based Rendering) that achieves superior, high-quality pixel-level instance segmentation when identifying and locating green gram pods or Mung Bean (Vigna radiata) in real-world field environments, generating sharp and refined boundaries for precise positioning of the green gram pods. Experimental results show that the proposed framework outperforms the well-known Mask R-CNN model, achieving higher mean average precision and noticeably better detection quality.