Red date long diameter detection method based on OpenCV
A detection method and technology for jujubes, applied in image analysis, image enhancement, instruments, etc., can solve the problems of low efficiency, single sorting standard, complicated processing methods, etc., to improve detection accuracy, improve recognition rate, and improve detection Efficient effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] The present invention will be further described in detail below with reference to the accompanying drawings.
[0035] A method for detecting the long diameter of red dates based on OpenCV, which specifically includes the following steps:
[0036] 1. Use an industrial camera to capture the red date image B1 on the conveyor belt, and grayscale the image through the cvColor function to obtain image B2;
[0037] 2. Perform mean filtering on image B2 through the cv2.blur function to obtain image B3;
[0038] 3. Binarize the image B3 through the cv2.threshold function to obtain the image B4;
[0039] 4. Find the minimum circumscribed rectangle of each contour of the image B4 and draw the image B5, specifically:
[0040] 4.1) Calculate the minimum circumscribed rectangle of each contour through the cv2.minAreaRect function;
[0041] 4.2) Draw the center point of the minimum circumscribed rectangle through the cvCircle function;
[0042] 4.3) Obtain the coordinates of the 4...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com