mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
Merge remote-tracking branch 'upstream/HEAD' into YOLOv8
This commit is contained in:
commit
195de6e85f
12
README.md
12
README.md
@ -314,18 +314,6 @@ $ deepface analyze -img_path tests/dataset/img1.jpg
|
||||
|
||||
You can also run these commands if you are running deepface with docker. Please follow the instructions in the [shell script](https://github.com/serengil/deepface/blob/master/scripts/dockerize.sh#L17).
|
||||
|
||||
## Derived applications
|
||||
|
||||
You can use deepface not just for facial recognition tasks. It's very common to use DeepFace for entertainment purposes. For instance, celebrity look-alike prediction and parental look-alike prediction tasks can be done with DeepFace!
|
||||
|
||||
**Parental Look-Alike Prediction** - [`Vlog`](https://youtu.be/nza4tmi9vhE), [`Tutorial`](https://sefiks.com/2022/12/22/decide-whom-your-child-looks-like-with-facial-recognition-mommy-or-daddy/)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/parental-look-alike-v2.jpg" width="90%" height="90%"></p>
|
||||
|
||||
**Celebrity Look-Alike Prediction** - [`Vlog`](https://youtu.be/jaxkEn-Kieo), [`Tutorial`](https://sefiks.com/2019/05/05/celebrity-look-alike-face-recognition-with-deep-learning-in-keras/)
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/look-alike-v3.jpg" width="90%" height="90%"></p>
|
||||
|
||||
## Contribution [](https://github.com/serengil/deepface/actions/workflows/tests.yml)
|
||||
|
||||
Pull requests are more than welcome! You should run the unit tests locally by running [`test/unit_tests.py`](https://github.com/serengil/deepface/blob/master/tests/unit_tests.py) before creating a PR. Once a PR sent, GitHub test workflow will be run automatically and unit test results will be available in [GitHub actions](https://github.com/serengil/deepface/actions) before approval. Besides, workflow will evaluate the code with pylint as well.
|
||||
|
@ -36,13 +36,15 @@ def initialize_folder():
|
||||
OSError: if the folder cannot be created.
|
||||
"""
|
||||
home = get_deepface_home()
|
||||
deepFaceHomePath = home + "/.deepface"
|
||||
weightsPath = deepFaceHomePath + "/weights"
|
||||
|
||||
if not os.path.exists(home + "/.deepface"):
|
||||
os.makedirs(home + "/.deepface")
|
||||
if not os.path.exists(deepFaceHomePath):
|
||||
os.makedirs(deepFaceHomePath, exist_ok=True)
|
||||
print("Directory ", home, "/.deepface created")
|
||||
|
||||
if not os.path.exists(home + "/.deepface/weights"):
|
||||
os.makedirs(home + "/.deepface/weights")
|
||||
if not os.path.exists(weightsPath):
|
||||
os.makedirs(weightsPath, exist_ok=True)
|
||||
print("Directory ", home, "/.deepface/weights created")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user