codezoned / codezoned/PyFry

Unable to open assets\shape_predictor_68_face_landmarks.dat

オープン
#13 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
12
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with PyFry.py at addFlare on line 54, where the assets\shape_predictor_68_face_landmarks.dat path is passed to dlib, and verify the referenced file under assets. Run python PyFry.py on macOS to reproduce the error. Done means the predictor opens successfully and execution proceeds without the RuntimeError.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
computer-vision
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。