1 / 25

Asparagus Computer Vision Aided Detection

Asparagus Computer Vision Aided Detection. By Ryan Moore & Gerti Tuzi. Project Objective and Application. To design a system which can determine the physical location of individual asparagus in a farming environment, through the use of Computer Vision methods.

Download Presentation

Asparagus Computer Vision Aided Detection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Asparagus Computer Vision Aided Detection By Ryan Moore & GertiTuzi

  2. Project Objective and Application • To design a system which can determine the physical location of individual asparagus in a farming environment, through the use of Computer Vision methods. • Implemented in a moving asparagus-picking machine. • Determination of correct asparagus: • Physical Location • Physical Height • Operated during day and night time.

  3. Simplified System Overview Detection and Image Coordinate Determination Moving Asparagus Picking Machine Digital To Physical Coordinate Conversion

  4. Physical Systematic Characteristics • Single out only the asparagus in the field using directed light. • Marking the asparagus allows identification • Directed light must be more intense than background • Higher light intensity must be able to be detected during day and night time. • Predetermined-angle light source. • Allows determination of objects at varying distances from machine. • Minimum height detection is predetermined.

  5. Simplified Physical System SetupAbstract

  6. Digital Systematic Characteristics • Perceive the reflection of the directed light on the asparagus into the digital image. • Minimize background noise (light) interference. • Use short digital camera exposure times. • To be able to extract and detect the asparagus object (Light Source Mark) in the digital image. • Remove background noise. • Determine objects and return digital image object coordinates • Additional Characteristics • To account for object detection under motion.

  7. Combining Physical and DigitalNecessary Steps • Determine geometrical setup. • Establish relationship between physical location/height and digital image coordinates. • Mark asparagus with directed light. • Perceive light markers, while minimizing noise • Detect light marker and return digital image coordinates. • Translate digital image coordinates into physical world coordinates.

  8. Geometrical Setup and Digital Image DataSimplified Example Geometrical Setup Data Extraction – Object Labels

  9. Location DeterminationWorld vs. Digital Image Relation Marker Height Equation (Best Fit Line) World Distance Equation (Best Fit Line) • Data extracted from digital images were plotted against respective world measurements. • Strong relationship between digital and world measurements • Prediction test were run successfully. Average prediction errors were : 3% and 3.5% for base distance and marker height respectively

  10. Object Detection • Upon reception of digital image, positive objects (physical light marker) must be detected. • Steps necessary: • Background vs. Foreground Differentiation • Morphological Transformation, Background Removal, Binary Thresholding, Blob Size restriction • Object Detection. • Blob Detection • Image Digital Coordinate Determination of Positive Objects • Collect and return blob coordinates .

  11. Object DetectionStatistical Method • Designing a system which integrates image processing and object detection. • Image processing was based on the use statistical analysis of available data. • Determine positive object light intensity vs. overall image. • Averages, Standard Deviation • Determine Optimal Binary Thresholds • Use Normalized Image Energy to identify optimal (predetermined) binary threshold

  12. Object Detector TestingModular Description

  13. Experiment SetupTesting the Statistical Approach LEDs were used to represent the light marker on the asparagus. Varying distance to emulate motion. Controlled background lighting to reduce errors and determine the performance of the approach

  14. Statistical ApproachExperiment Example Detected Objects inside red Squares Raw Camera Feed • High Recognition Rate • Object is a light source. • Much higher intensity than background. • Very low false alarm rate

  15. Otsu’s Threshold Method • Find’s the threshold based on the intensity distribution of a grayscale images. • Helps adjust to account for lighting changes in the environment. • Reduces the overlapping of the foreground and background regions. • The algorithm is quick for large images.

  16. Otsu Examples

  17. Binary Morphology • Binary morphology has 4 fundamental tools, namely, erosion, dilation, opening, and closing. • Each tool requires a structuring element. • The structuring element will determine what gets removed and what remains. • The goal is the have the structuring element match the desired shape and remove it. • Performing subtraction will give us the desired object.

  18. Otsu with morphology Examples

  19. Morphology and Otsu ApproachExperiment Setup Black Background to minimize noise Controlled Lighting to determine the performance and behavior of approach. Varying distance to emulate motion

  20. Morphology and Otsu ApproachExperiment Example Raw Camera Feed Detected Objects • Recognition Rate is high • False Hits Rate is also high. • There is still lots of background noise. • This noise should be reduce by using the IR camera.

  21. Morphology and Otsu’s MethodFunctional Description: Blob Size Hit Rate as a function of Blob Size Missed Rate as a function of Blob Size

  22. Morphology and Otsu’s Method in IR

  23. Strobe Light • Control Methods • Use a PIC microcontroller for the external trigger • Software Trigger • External circuit is used to create large current spikes during the strobe period to produce high intensities. • Maximum current that can be used is 10A at 1% Duty Cycle and 500mA at DC.

  24. Strobe Light Circuit

  25. Questions?

More Related