Color and feature classification opencv

徘徊边缘 提交于 2021-02-07 10:17:28

问题


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.

My questions are:

  • Is the same technique would apply if I include color, that is, I will create a feature map (gray-scaled; shape attribute) and color histogram map and train SVM for both attributes?
  • Or is there a way that SIFT can compute both shape and color attributes in OpenCV?

回答1:


I found a project similar to the problem in this paper titled Leveraging Computer Vision Priciples for Image-Based Shoe.

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.. :)



来源:https://stackoverflow.com/questions/35188334/color-and-feature-classification-opencv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!