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

How to map 1000 images? #24

Closed
parasjain-12 opened this issue Nov 16, 2019 · 1 comment
Closed

How to map 1000 images? #24

parasjain-12 opened this issue Nov 16, 2019 · 1 comment

Comments

@parasjain-12
Copy link

parasjain-12 commented Nov 16, 2019

In your code you are mapping the images manually but what if we have more than 1000 images how we will map then?
Here is what you have done:

    if int(identity) <=4:
        return str('abc'), min_dist
    if int(identity) <=8:
        return str('xyz'), min_dist

If we have more than 1000 images of images it is not possible to map it according to that , Is there any other approach to do it.
Please help

@akshaybahadur21
Copy link
Owner

@parasjain-12 - Yes, using a map is naive and will not be able to scale.
I would suggest using some sort of a search engine perhaps elastic search for faster retrieval.
I haven't explored the possibilities though.

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