mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 08:21:18 +00:00
28 lines
535 B
Python
28 lines
535 B
Python
"""
|
|
.. module:: weighted_images
|
|
:platform: Unix, Windows
|
|
:synopsis: Script used to help refactoring the Facemovie. Should not be used
|
|
|
|
.. moduleauthor:: Julien Lengrand-Lambert <jlengrand@gmail.com>
|
|
|
|
"""
|
|
import sys
|
|
|
|
import cv
|
|
|
|
from facemovie import Facemovie
|
|
from facemovie import FaceParams
|
|
|
|
in_fo = "data/inputs/samples"
|
|
out_fo = "data"
|
|
|
|
xml_fo = "haarcascades"
|
|
|
|
face_params = FaceParams.FaceParams(xml_fo, 'frontal_face')
|
|
|
|
facemovie = Facemovie.FaceMovie(in_fo, out_fo, face_params)
|
|
facemovie.list_guys()
|
|
|
|
|
|
|
|
print "Exiting..." |