mirror of
https://github.com/jlengrand/Ivolution.git
synced 2026-03-10 15:50:41 +00:00
Adds output choice feature. mandatory Output folder parameter may be removed in the future
This commit is contained in:
16
test/path_test.py
Normal file
16
test/path_test.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from facemovie import Facemovie
|
||||
from facemovie import FaceParams
|
||||
|
||||
in_fo = "data/inputs/samples"
|
||||
#in_fo = "data/inputs/moi"
|
||||
out_fo = "data/plop/caca/test.mkv"
|
||||
|
||||
xml_fo = "haarcascades"
|
||||
|
||||
face_params = FaceParams.FaceParams(xml_fo, 'frontal_face')
|
||||
|
||||
facemovie = Facemovie.FaceMovie(in_fo, out_fo, face_params)
|
||||
facemovie.check_out_name(out_fo)
|
||||
|
||||
print facemovie.out_path, facemovie.out_name, facemovie.out_format
|
||||
print facemovie.get_out_file()
|
||||
Reference in New Issue
Block a user