【问题标题】:when i run the below mentioned code it gives me error that is pixels is not defined当我运行下面提到的代码时,它给我的错误是像素未定义
【发布时间】:2021-09-20 19:57:24
【问题描述】:

NameError: 名称“像素”未定义

从 mtcnn.mtcnn 导入 MTCNN 导入cv2

模型 = MTCNN()

检测图像中的人脸

faces = model.detect_faces(像素)

提取面部细节

x1, y1, width, height = faces[0]['box']

【问题讨论】:

    标签: python conv-neural-network pixel


    【解决方案1】:

    运行上述代码时出现以下错误

    【讨论】:

      猜你喜欢
      • 2019-09-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-23
      • 2018-12-09
      • 2021-12-12
      • 2022-12-11
      • 1970-01-01
      相关资源
      最近更新 更多