train_shape_predictor_ex.cpp.htmlとface_landmark_detection_ex.cpp.htmlを異なるランドマーク番号でトレーニングすることはできますか?両方とも、既定で正面に68
のランドマークを検出します。 39
のランドマークのみを検出したいと思います。私はtrain_shape_predictor_ex
を使ってすべてを鍛えることができます。しかしface_landmark_detection_ex
が添付されたメッセージを出力:エラーメッセージの面ではDlibを使用した顔のランドマーク検出
スローされた例外
Error detected at line 25.
Error detected in file /Users/Vareto/Documents/Dlib/dlib/../dlib/image_processing/render_face_detections.h.
Error detected in function std::vector dlib::render_face_detections(const std::vector &, const dlib::rgb_pixel).
Failing expression was dets[i].num_parts() == 68.
std::vector render_face_detections()
Invalid inputs were given to this function.
dets[0].num_parts(): 39
train_shape_predictor_ex.cppをどのように訓練しましたか?あなたは私を精緻化できますか?私もこれを探しています。 – Mavie
@ VIctor、私はDlib:http://dlib.netというコンピュータビジョンライブラリを使用しました。あなたはそれらが利用可能にした例をコンパイルする必要があります。これを行うには、ダウンロードしてウェブサイトの指示に従わなければなりません。 –
あなたは使用しているデータセットに対してtraining_with_face_landmarks.xmlをどうやって取得しましたか? – Mavie