Skip to content
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

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

ORB and Object Detection #3

wants to merge 14 commits into from

Conversation

yash-chowdhary
Copy link
Owner

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.

@khooroko
Copy link
Collaborator

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 unexpected indent. Also the .DS_Store shouldn't be committed

@yash-chowdhary
Copy link
Owner Author

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.

Copy link
Collaborator

@khooroko khooroko left a 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)? 🤔

trials_yash.ipynb Outdated Show resolved Hide resolved
trials_yash.ipynb Outdated Show resolved Hide resolved
trials_yash.ipynb Outdated Show resolved Hide resolved
@yash-chowdhary
Copy link
Owner Author

there was some sort of a mixup while committing my code locally. i've cleaned it up now

@yash-chowdhary
Copy link
Owner Author

yash-chowdhary commented Oct 18, 2019

Would it help to train 3 separate vocab files for the 3 classes (waldo, wendy, wizard)? 🤔

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?
If we have 3 different vocabularies, we'd need 3 different classifiers instead of the one classifier that classifies 3 labels.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants