Skip to content

Commit

Permalink
Save Operation for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed May 8, 2022
1 parent a7cbf6d commit 2d0aad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion deepface/DeepFace.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
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"]
Expand Down

0 comments on commit 2d0aad0

Please sign in to comment.