Save Operation for CLI

This commit is contained in:
Onur Atakan ULUSOY 2022-05-08 23:20:42 +03:00
parent a7cbf6da63
commit 2d0aad07bb
2 changed files with 4 additions and 2 deletions

View File

@ -824,4 +824,6 @@ def detectFace(img_path, target_size = (224, 224), detector_backend = 'opencv',
#main
functions.initialize_folder()
fire.Fire()
def cli():
fire.Fire()

View File

@ -21,7 +21,7 @@ setuptools.setup(
],
entry_points={
"console_scripts":
["DeepFace = deepface:DeepFace"],
["deepface = deepface:DeepFace.cli"],
},
python_requires='>=3.5.5',
install_requires=["numpy>=1.14.0", "pandas>=0.23.4", "tqdm>=4.30.0", "gdown>=3.10.1", "Pillow>=5.2.0", "opencv-python>=3.4.4", "tensorflow>=1.9.0", "keras>=2.2.0", "Flask>=1.1.2", "mtcnn>=0.1.0", "retina-face>=0.0.1", "fire>=0.4.0"]