This project has been deprecated favor of a plugin.
You can find it here:
https://github.com/stashapp/CommunityScripts/tree/main/plugins/visage
Visage is a userscript to do facial recognition on video's and images in Stash.
Once installed, A new icon will show on a scene's page next to the organized button.
Please check out https://github.com/cc1234475/visage-ml