Egg Image Feature Value Extraction Method Based on OpenCV+Python
Abstract
Aiming at the high efficiency development of embedded products with egg size classification and the poor ability of developing code transplantation, this paper proposes an image feature value extraction method based on OpenCV+Python to measure the egg shape index(aspect ratio of the minimum circumscribed rectanglee) and other characteristic values of egg images. Firstly, the image of the egg is preprocessed by OpenCV+Python, then the image is edge-detected with the Canny operator. Finally, the contour region is extracted and the feature value is extracted based on the edge detection and the commonly used API in OpenCV. Experiments show that the method can accurately and effectively extract the feature values of the egg image, and the code amount is small and the transplantation ability is strong.
Keywords
OpenCV+Python, Egg image, Edge Detection, Feature ExtractionText
DOI
10.12783/dtcse/cisnrc2019/33328
10.12783/dtcse/cisnrc2019/33328
Refbacks
- There are currently no refbacks.