Issue in recognising multiple objects in an Image

4 ビュー (過去 30 日間)
Rohan Gupta
Rohan Gupta 2017 年 1 月 21 日
コメント済み: william pyae 2018 年 5 月 26 日
I have images of Apples as well as of Oranges, which I am using as training images. The test image is an image consisting of both apple and orange. I am using GIST descriptor for feature extraction. When I train the classifier using extracted features, it gives an output as apple or orange for the test image. I have a query, as how can I make classifier recognise both of them in the test image. I am using KNN classifier
  4 件のコメント
william  pyae
william pyae 2018 年 5 月 26 日
Hi Rohan, I'm doing a similar project as yours. Could you able to post all your matlab code in the file exchange? I would like to take references from your project. Thank you so much.



Image Analyst
Image Analyst 2017 年 1 月 25 日
Why not simply look at the color? Just convert to HSV color space, mask out the background and look at the amount of orange in the image. If there's more orange than non-orange, it's an orange.
  3 件のコメント
Rohan Gupta
Rohan Gupta 2017 年 1 月 28 日
Thank-You Sir, it works


その他の回答 (1 件)

Takuji Fukumoto
Takuji Fukumoto 2017 年 1 月 25 日
I think you should cut block from a whole image and slide it for recognition if you want to use that classification.
  3 件のコメント
Rohan Gupta
Rohan Gupta 2017 年 1 月 27 日
I am not suppose to use RCNN or CNN for this application. Is there any other way. By the way thank you for your valuable inputs. It would be really helpful, if you could help me out further.
The single test image will have 3 or 4 fruits, How can I detect all of them?
Features of each fruits can be extracted using color as it's feature (during training), but when I train KNN classifier and give it a test image, it will give only one output (i.e orange or apple). It won't tell me the names of all the fruits present in the image.



Find more on Recognition, Object Detection, and Semantic Segmentation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by