You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-7Lines changed: 26 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,45 @@ group pictures, screenshots, etc...
11
11
12
12
## Setup
13
13
14
-
In a new Python 3.8+ virtual environment run:
14
+
In a Python 3.8+ virtual environment, install either from PIP or from source:
15
+
16
+
####Installation from the PIP package:
17
+
```bash
18
+
pip install image-searcher
19
+
20
+
pip install face_recognition # Optional to enable face features
21
+
pip install flask flask_cors # Optional to enable a flask api
22
+
```
23
+
24
+
#### Installation from source
15
25
```bash
16
26
pip install -r dev_requirements.txt
17
-
pip install face_recognition # Optional
27
+
28
+
pip install face_recognition # Optional to enable face features
29
+
pip install flask flask_cors # Optional to enable a flask api
18
30
```
19
31
20
32
Troubleshooting: If problems are encountered building wheels for dlib during the face_recognition installation, make sure to install the `python3.8-dev`
21
33
package (respectively `python3.x-dev`) and recreate the virtual environment from scratch with the aforementionned command
22
34
once it is installed.
23
35
24
36
## Usage
25
-
Currently, the usage is as follows. It computes the embeddings of all images one by one, and stores them in
37
+
Currently, the usage is as follows. The library first computes the embeddings of all images one by one, and stores them in
26
38
a picked dictionary for further reference. To compute and store information about the persons in
27
39
the picture, enable the `include_faces` flag (note that it makes the indexing process up to 10x slower).
0 commit comments