Unable to open assets\shape_predictor_68_face_landmarks.dat
- Langage dominant
- Python
- Étoiles
- 12
- Forks
- 8
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
gmale@GMALE-M-R0DA:~/Documents/GitHub/PyFry$ python PyFry.py
objc[35976]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff989f33d8) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x12395af50). One of the two will be used. Which one is undefined.
picture location = ['/Users/gmale/Documents/GitHub/PyFry/test.jpg']
Traceback (most recent call last):
File "PyFry.py", line 124, in
main()
File "PyFry.py", line 114, in main
img = addFlare(img)
File "PyFry.py", line 54, in addFlare
**predict = dlib.shape_predictor("assets\shape_predictor_68_face_landmarks.dat")
RuntimeError: Unable to open assets\shape_predictor_68_face_landmarks.dat**
I don't know if this is macos specific issue or not.
While I tried to run PyFry.py, dlib is not able to open "shape_predictor_68_face_landmarks.dat" which is under assets folder.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par PyFry.py à addFlare, à la ligne 54, où le chemin assets\shape_predictor_68_face_landmarks.dat est transmis à dlib, et vérifiez le fichier référencé sous assets. Exécutez python PyFry.py sur macOS pour reproduire l’erreur. C’est terminé lorsque le predictor s’ouvre correctement et que l’exécution se poursuit sans RuntimeError.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- computer-vision
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100