Closed msharmavikram closed 5 years ago
Sorry, that application is from quite some time ago and has yet to be updated. I'm going to remove it from the repository entirely. However, you could still approximate it by looking at the TensorFlow examples (e.g. the one in scannertools), except extract the last layer feature vectors instead of the actual labels.
Thanks. Reverse image search is a very good use case for Scanner. Although I am sad that you are removing it, I am wondering if there is any specific reason apart from updating the example to latest code base?
Mostly just that we're focusing more on video applications than image ones.
Seems like I have misunderstood the example then.
I thought the example would allow searching across multiple videos with a frame of interest. For example, let's say, I have a movie screen snapshot and I want to figure out which movie it belongs to. I could perform a reverse image search on a large corpus of video database to find the specific movie. I anticipated this example would reflect such a scenario. (at least basic)
(Why I am interested in this? Sometimes I would like to know where the meme pictures are actually derived from! What season of tv series, movie or news, etc.)
Hey @msharmavikram! I think you understood the application correctly: it was used to search for frames from a video. However, as @willcrichton pointed out, it hasn't been updated for the newest version of our API.
Unfortunately, we don't have the time to update it right now. Would you be interested in trying to get it working again? I can answer any questions you have while trying to revive the example and provide advice on what to replace any missing components with! I think the main parts that need to be updated our:
Let me know!
Thanks for the response @apoms I would be happy to help fix this example. Currently, I am playing around with FAISS and once done, I will start working on this. (probably over the weekend).
I would definitely need some help on the APIs. I tried to hack a little bit to reach a stage where further modifications did not help. I also experimented what @willcrichton suggested using the scannertools but noted that it used older scanner base and I could not point to the reference in scanner to get the thing working. With help, I think I can revive it to become alive again!
A suggestion: Can we have tags to point out in scannertool to tell the base commit of scanner? Given that scanner is actively getting developed, it makes sense to have reference point across scannertool and scanner.
Note here: Scannertools has been updated with matching versions to Scanner.
@msharmavikram going to close this for now, but please reopen if you have an issue.
I am not sure how to run the reverse image search example and I am very interested in it!
I noticed a few things missing in the example and I tried to fix it but did not succeed in understanding how to actually run it.
Even after all of this, I still did not understand how to host the server and perform the search. Kind of stuck. I was able to run the server but failed to load the data to the server. Appreciate if you can provide some information on how to use server - search scheme of running.
Regards Vikram.