These are some little tools for facebox, that can help you to teach or check based on images on your filesystem. Visit https://machinebox.io to get a key and run facebox on your machine.
faceboxteach is a tool that walks a directory structure teaching each
image file.
To install it:
$ go get github.com/machinebox/faceboxtools/faceboxteach
The folder name should be the name of the person, and the filenames will become
the id in facebox.
βββ George_Harrison
βΒ Β βββ george1.jpg
βΒ Β βββ george2.jpg
βΒ Β βββ george3.jpg
βββ John_Lennon
βΒ Β βββ john1.jpg
βΒ Β βββ john2.jpg
βΒ Β βββ john3.jpg
βββ Paul_McCartney
βΒ Β βββ paul1.jpg
βΒ Β βββ paul2.jpg
βΒ Β βββ paul3.jpg
βΒ Β βββ paul4.jpg
βΒ Β βββ paul5.jpg
βββ Ringo_Starr
βββ ringo1.jpg
βββ ringo2.jpg
βββ ringo3.jpg
βββ ringo4.jpg
- Underscores are translated into spaces for a better experience
To teach each item in the above structure, you would run:
$ faceboxteach -dir=/path/to/directory -images=.jpg -facebox=http://localhost:8080
dir- (string) Directory to processimages- (string) Pattern for files to teach (see filepath.Glob)facebox- (string) Address of running facebox
faceboxtag is a tool that walks a directory structure and outputs the people that recognise
To install it:
$ go get github.com/machinebox/faceboxtools/faceboxtag
βββ photos
βΒ Β βββ whoisthis.jpg
βΒ Β βββ unknown.jpg
βΒ Β βββ ????.jpg
To find out who is on the photos, will be on the output
$ faceboxteach -dir=./photos -images=.jpg -facebox=http://localhost:8080
dir- (string) Directory to processimages- (string) Pattern for files to teach (see filepath.Glob)facebox- (string) Address of running facebox