-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORB and Object Detection #3
base: master
Are you sure you want to change the base?
Conversation
it would be good to leave comments or write somewhere which cells to run 😅 many of the cells can't be run due to various errors such as |
Added a few comments. The second cell is a mixture of a lot of methods and is really convoluted. It can be ignored for the time being. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it help to train 3 separate vocab files for the 3 classes (waldo, wendy, wizard)? 🤔
there was some sort of a mixup while committing my code locally. i've cleaned it up now |
Regarding this, I'm not so sure about this.. Isn't your vocabulary supposed to be general, and not specific? This way, it can be more robust? Either way, we might need to train our SVM with random images as well, so that pictures that are not any of Waldo, Wendo or Wizard don't end up getting classified as one of the 3. |
I tried feature matching using ORB and SURF (mainly because getting SIFT descriptors was time-consuming). The results were horrible, to say the least. If I tried to extract the keypoints that matched, we'd end up getting a large portion of the image as waldo/wenda/wizard.
The other approach I tried is object detection - similar to lab 4. I split the templates for the 3 characters into training and testing sets (70-30). I created my vocab using the training images. Then, I extracted sift features of each template for each character using dsift, and created bags of sifts. Finally, I trained an SVM and recorded its accuracy.