aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2024-07-27 22:43:53 -0500
committerAnthony Wang2024-07-27 22:44:15 -0500
commitc054089f6770a511fef5116b4ff5ec38c8778719 (patch)
treef7626b3d8f502e130447ce192e55bfddf603c385
parent7c6dad605fec72bdc8051fb7afabd0a3edeabc5c (diff)
Recommend TIDY, explain res symlinks some more
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index 12c6b6c..ba9f1b6 100644
--- a/README.md
+++ b/README.md
@@ -14,4 +14,8 @@ If you don't need PyTorch with GPU support, first run `pip3 install torch torchv
This program uses a client-server architecture to watch directories with inotify and keep the model loaded in memory. It takes around 15 seconds to load the model so it wouldn't be great if every query had to wait on that.
-Run `python server.py DIRS_TO_INDEX` to start the server. Then, run `python client.py SEARCH_TEXT NUM_RESULTS` to get a list of the most similar files. You can pass this list to an image viewer such as Gwenview to view image results. Note that Gwenview doesn't preserve the order of the images. Alternatively, add a third parameter to `python client.py` and it will symlink `res0`, `res1`, and so on to the files on the list.
+Run `python server.py DIRS_TO_INDEX` to start the server. The server only indexes images, audio, and videos since text files tend to irrelevantly pollute the search results.
+
+Then run `python client.py SEARCH_TEXT NUM_RESULTS` to get a list of the most similar files. You can pass this list to an image viewer such as Gwenview to view image results. Note that Gwenview doesn't preserve the order of the images. Alternatively, add a third parameter to `python client.py` and it will symlink `res0`, `res1`, and so on to the files on the list. This can be used in conjunction with the Dolphin file manager's integrated terminal to get thumbnails of the search results.
+
+Check out [TIDY](https://github.com/slavabarkov/tidy) for a similar awesome program that runs on Android.