Python Computer Vision Project Practice

Source: Internet
Author: User

This is a Bayesian model of computer Vision small project. I hope you will know how the general Computer Vision Project is operated through this simple project.


I'm going to start with the topic here. I want to be interested in the children's shoes spend a week thinking and implementation with Python. A week later I'm going to post my detailed details and code.

We hope that we can apply the knowledge of machine learning and computer vision to practice through this simple project.

Based on OpenCV to write a picture classification and classification program based on naive Bayesian

Requirements:

[1] in Google's image search engine input "flower" and "airplane", respectively download m (>100) Zhang "flower" Picture and N (>100) "Sky" picture, as a positive and negative sample of the data set; Note: These two types of images can also be arbitrarily selected, for example "chair" and "car"

[2] The visual lexicon is constructed using the following methods: Randomly dividing the picture blocks of P (p>500) 25x25 from the pictures in each training set, calculating the color histogram feature (6x6x6 interval) of the image block, and then adding the blocks of these images (collectively owning p* (m+ N) Use Kmeans to form K (k>1000) classes as dictionaries; Note: Kmeans can call OpenCV directly or use other toolkits to cluster.

[3] Training or testing, to the test of the image of dense sampling, with histogram intersection distance (calculated formula). The number of times each word is calculated using a recent neighbor method.

[4] Using 50 percent cross-validation to calculate the average precision and recall;


datasets You can consider writing a crawler to Google to download images ( Let's say you can teach me how to operate a reptile, huh? if not, can I ask for data set QQ #14 # 14# 626.

Python Computer Vision Project Practice

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.