dlibをインストールし、インポートが出来ることを確認したので、以下のコードを打つと、detector = dlib.get_frontal_face_detector()でエラーが出てしまいます。
コード
import dlib import cv2 import sys import numpy as np import matplotlib as plt detector = dlib.get_frontal_face_detector() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-87e84c608439> in <module> ----> 1 detector = dlib.get_frontal_face_detector() AttributeError: module 'dlib' has no attribute 'get_frontal_face_detector'
あなたの回答
tips
プレビュー