1 / 7

Software Engineering Project

Software Engineering Project. Fruit Recognition Zheng Liu. Block Diagram. Preprocess. Change to gray image. cvCvtColor (srcImg,grayImg,CV_BGR2GRAY ); Remove background: cvAbsDiff ( grayImg,bgdImg,difImg ); Resize to a 64*64 matrix. Background image. Character extraction. Gabor filter

solada
Télécharger la présentation

Software Engineering Project

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. Software Engineering Project Fruit Recognition Zheng Liu

  2. Block Diagram

  3. Preprocess • Change to gray image. • cvCvtColor(srcImg,grayImg,CV_BGR2GRAY); • Remove background: • cvAbsDiff(grayImg,bgdImg,difImg); • Resize to a 64*64 matrix. Background image

  4. Character extraction • Gabor filter • I: image; : Gabor core function. • PCA dimensionality reduction.

  5. Sort • K-nearest neighbor algorithm: • Calculate distance between the vector of recognizing image and database vector. • Compare the distance. • Assign to a kind of fruits.

  6. SIS Test bed • Input: a 3*3 matrix. • Imitate the process of the character extraction SIS test bed output result

  7. Bug • A pure white background is needed. • Shade and other noise may be recognized as eggplant, because of deep color. • Fruit has to be in a particular pose.

More Related