颜色和特征分类opencv [英] Color and feature classification opencv
问题描述
我是机器学习的新手,目前正在从事一个项目.该项目是关于根据特征和颜色属性对图像进行分类.
I am new to machine learning and currently working on a project. The project is about classifying images based on feature and color attributes.
I have tried classifying images through feature extraction based on the example given in the OpenCV with Python by Example book (the Dense extractor SIFT descriptor technique to generate a codebook and train SVM to classify the extracted feature) but I haven't tried yet combining both feature and color attributes since the images sampled were gray-scaled during feature extraction.
我的问题是:
- 如果我包含颜色,是否会应用相同的技术,也就是说,我将创建一个特征图(灰度;形状属性)和颜色直方图,并为这两个属性训练SVM?
- 或者SIFT是否可以在OpenCV中计算形状和颜色属性?
推荐答案
I found a project similar to the problem in this paper titled Leveraging Computer Vision Priciples for Image-Based Shoe.
他们采用了不同的方法来检测和比较图像颜色及其形状和纹理.我将在opencv中尝试他们推荐的算法,看看是否适用于该项目.. :)
They have utilized different approaches to detect and compare the image color with its shape and texture. I will try their recommended algorithm in opencv and see if this works for the project.. :)
这篇关于颜色和特征分类opencv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!