Phantoscope Preview is a GUI interface designed for Phantoscope users to verify the search results of their applications.
$ export LOCAL_ADDRESS=$(ip a | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'| head -n 1)
$ docker run -d -e API_URL=$LOCAL_ADDRESS:5000 -p 8000:80 phantoscope/preview:latest
Open http://127.0.0.1:8000 with a Web browser to view the interface of Phantoscope Preview.
- Click the lens image on the top left to choose a local image for an image search.
- You can pull an image to the left area for an image search.
- You can crop up the image to search with part of the image.
- Click application to switch between applications.
Note: You need to use a RESTful API to create an application.