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

is it possible to match an image from an external source? #67

Open
avnerbarr opened this issue Jan 4, 2018 · 2 comments
Open

is it possible to match an image from an external source? #67

avnerbarr opened this issue Jan 4, 2018 · 2 comments

Comments

@avnerbarr
Copy link

I've trained my dataset withe my set of images. I was wondering if it is possible to find a match using an external image from a picture I've taken with a phone camera

@ICC-qi
Copy link

ICC-qi commented Jan 15, 2018

Yes, you can use search.lua in /src/torch/11-similarity-searcher-cnn-file like this
$luajit search.lua test.jpg /home/.../A -dataFolder /home/.../B
A is the folder where test.jpg is located in; B is the dataset of images to be compared, -dataFolder option is added by myself.

@ICC-qi
Copy link

ICC-qi commented Jan 15, 2018

If you don't add the new option -dataFolder. The default folder of images dataset is /tiefvision/src/torch/data/encoded-images. Don't forget to move your images there.

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

No branches or pull requests

2 participants