This Matlab code can classify the test dataset into 15 different categories namely 'Bedroom','Coast','Forest','Highway','Industrial','InsideCity','Kitchen','LivingRoom','Mountain','Office','OpenCountry','Store','Street','Suburb','TallBuilding'.
The dataset can be downloaded from:
If not drop a comment below, I will mail it to you.
How to Run ?
1. Place the files in the path of Matlab
2. Make sure the test images are placed in a folder named 'testing'
3. Just run Classify_Scene.m
4. The results will be stored in a 'Results.txt' file
Suggestions and Comments are always welcome.
Thanks in advance,
Manu BN (2021). Scene Recognition and Classification (https://www.mathworks.com/matlabcentral/fileexchange/55016-scene-recognition-and-classification), MATLAB Central File Exchange. Retrieved .
email id: email@example.com
Please send the dataset required for it ASAP.
Thanks in advance.
i am not able to acess the dataset can you please suggest me some options
i have a question..
i have done secmentic segmentation now i want to classify the same segmnted scene can i classify it.?
Hi Manu, Could I know how you train your data? I found the classification result is incorrect. Thank you very much
Hi,Manu,thank you for sharing the codes with us. After running, I found the classification result is incorrect. I want to know how you train this data. In addition, has anyone encountered the same problem?
Hi Manu B.N
Can you please provide me research paper/document related to such code?
I shall be very thankful to you.
Can u please provide me a supporting document to the work.
It will be great.
from korean.. and can i question? if start, 다음 사용 중 오류가 발생함: imread (line 349)
파일 "testing\1.jpg"이(가) 존재하지 않습니다. (not exist testing.. but i made testing folder...
오류 발생: Classify_Scene (line 95)
img=imread(['testing\',num2str(i),'.jpg']); // error message... ㅜㅜ
Thanks for replying.
You are right, I have fixed this problem by resetting the matlab pathtool.
Trail_Feat.mat is included in the zip file only.
Looks like the inputs of svm train dosent support the dataset you have used. So check with the documentation of svmtrain.
I dont understand why are you using svmtrain when I have given the pretrained .mat files.
All you have to do is to use svm classify
Hi, I had this problem.. Don't know how to solve this.. Could you help me? Thank you very much!
"errstring = consist(net, 'svm', X, Y);
Processing Test Image no.1
Error using svmtrain (line 59)
Data structure does not contain type field
Error in multisvm (line 45)
svmStruct = svmtrain(T,newClass,'kernel_function','rbf'); % I am using rbf kernel function,
you must change it also
Error in Classify_Scene (line 112)
result = multisvm(T,C,test);
Trail_Feat.mat is not provided, can anyone provide that on my email " firstname.lastname@example.org". Thank you
@ Imran: You just have to put the testing images in the folder names 'testing' & run Classify_Scene.m. The results will be stored in a Results.txt file. Open it to see the classifications.
@ Malik: Train_Feat.mat is included. Plz check
@zhuzu : The link to download dataset is in the description
Thanks to all for the ratings
Thanks for sharing the code. I have a question?? i tried to run your program but did not get where to place the training set and testing set. Can u please make it clear for me..how to exactly run the program????
Thanks in advance.
Trail_Feat.mat is missing please send me this file
Is there any research paper related to this code with result
no data set found...
hi, thank you for sharing the codes with us.can you send me the dataset via email, and the email addr is email@example.com.
The dataset is available here : http://www-cvr.ai.uiuc.edu/ponce_grp/data/scene_categories/scene_categories.zip
hi, can you send me the dataset via email,
and the email addr is firstname.lastname@example.org.
Hello, Could you send me the dataset?
hi, the dataset is missing?
when i visit to the download page, it returned 404.
@ SST: It happens in the first run. So have 500 iterations and find average accuracy. If it is still low, find a new feature set
No offense, I don't know if I have done something wrong, why the accuracy of testing all pictures of this ucf dataset is only about 23%..
@ sst : thanks for the dataset
I think this is the dataset.
I have searched for UCF dataset with 15 categories, but nothing found.. sad
can u send a dateset to my email? email@example.com. Thank you very much!!
no data set
no data set found
not any dataset is found.kindly mail me
hey somehow I have lost the dataset on dropbox and on my hard drive also. Plz search in google for UCF dataset with 15 categories.
I will try my best to get it back ASAP.
r/sir, i need data set
Can you upload the data
I can give you some hints. Plz rate the project if you find it useful.
sir i want to do classification of vehicles .can u please help
Spatial Interest Points
Hello, I have a question ?
What are discriptors (feature extraction) you used in you solution ?
Thank you !
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!