howto:stashface
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| howto:stashface [2025/04/19 21:42] – created Wuff | howto:stashface [2025/04/20 13:08] (current) – Wuff | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Stashface ====== | ====== Stashface ====== | ||
| + | |||
| + | Stashface is a Gradio web user interface with api endpoints for facial recognition, | ||
| + | The performers.json mapping file should be in the following format for stashface: | ||
| + | |||
| + | <code - performers.json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ... | ||
| + | } | ||
| + | </ | ||
| + | |||
| https:// | https:// | ||
| Line 66: | Line 79: | ||
| - | Deprecated Visage version: | + | Deprecated Visage |
| https:// | https:// | ||
| Line 77: | Line 90: | ||
| - " | - " | ||
| - | Visage-ML: | + | ====== |
| + | |||
| + | Visage-ML is used to create a database from images for use with stashface/ | ||
| + | |||
| + | The directory structure of the images needs to be in the following format: | ||
| + | < | ||
| + | person_name | ||
| + | - image_file_001.jpeg | ||
| + | - another_01.jpeg | ||
| + | </ | ||
| + | |||
| + | Updated fork: | ||
| https:// | https:// | ||
| + | Original: | ||
| + | https:// | ||
| + | < | ||
| + | git clone https:// | ||
| + | |||
| + | #Hashing: | ||
| + | cd visage-ml/ | ||
| + | mkdir weights | ||
| + | cd weights/ | ||
| + | wget https:// | ||
| + | wget https:// | ||
| + | cd .. | ||
| + | mkdir -p / | ||
| + | vi docker-compose.yaml | ||
| + | # adjust image folder in compose | ||
| + | docker-compose build | ||
| + | docker-compose up | ||
| + | |||
| + | #builder | ||
| + | cd ../builder | ||
| + | vi docker-compose.yaml | ||
| + | # adjust image folder in compose | ||
| + | docker-compose build | ||
| + | docker-compose up | ||
| + | |||
| + | #matcher | ||
| + | cd ../matcher | ||
| + | cp / | ||
| + | cp / | ||
| + | vi performers.json | ||
| + | { | ||
| + | " | ||
| + | } | ||
| + | |||
| + | docker-compose up | ||
| + | </ | ||
howto/stashface.1745095360.txt.gz · Last modified: by Wuff