faceit icon indicating copy to clipboard operation
faceit copied to clipboard

how to use the faceit = FaceIt('fallon_to_oliver', 'fallon', 'oliver')

Open Ai-is-light opened this issue 6 years ago • 0 comments

Setup your model and training data in code, e.g.:

Create the model with params: model name, person A name, person B name.

faceit = FaceIt('fallon_to_oliver', 'fallon', 'oliver')

Add any number of videos for person A by specifying the YouTube url of the video.

faceit.add_video('fallon', 'fallon_emmastone.mp4', 'https://www.youtube.com/watch?v=bLBSoC_2IY8') faceit.add_video('fallon', 'fallon_single.mp4', 'https://www.youtube.com/watch?v=xfFVuXN0FSI') faceit.add_video('fallon', 'fallon_sesamestreet.mp4', 'https://www.youtube.com/watch?v=SHogg7pJI_M')

Do the same for person B.

faceit.add_video('oliver', 'oliver_trumpcard.mp4', 'https://www.youtube.com/watch?v=JlxQ3IUWT0I') faceit.add_video('oliver', 'oliver_taxreform.mp4', 'https://www.youtube.com/watch?v=g23w7WPSaU8') faceit.add_video('oliver', 'oliver_zazu.mp4', 'https://www.youtube.com/watch?v=Y0IUPwXSQqg')

Thanks

Ai-is-light avatar Jun 07 '18 03:06 Ai-is-light