SearchPhotos Code
Search descriptions in photo exiv information or text files
Brought to you by:
henkidefix
+ small size to install.
+ easy for the user.
+ limited to search photos and text files.
+ python3
+ python-whoosh 2.7
+ gtk3
+ exiv interface automatic selection
between gexiv2, piexif, pillow, py3exiv2
There are many (desktop) search programs
but most have their drawbacks:
- some search only on filenames.
- or they work only for text documents.
- or they work for all documents:
These have a lot of extra code to get the information
from word,excel,pdf,text,jpg,png,video and so on.
- some depend on Windows or QT
- or they are written in java and have dependencies
java runtime + swing and so on.
- some are very big to install.
- some are complex to compile + install.
- some have to may options / settings.
On all my systems python is already available
and most of my systems are using gtk3.
The first attempt is python-whoosh
( not sure if it's fast enaugh ).
pacman -S python-whoosh = 4 Mb.
And the result of the experiments is this project.
By the way: speed is not an issue
Generating an index of my 50.000 photos takes
a few minutes. But that's only done once.
Updating is a lot faster.
Search words and presenting the result is very quick.
Henk Speksnijder 20201203