“ImportError:DLL加载失败:找不到指定模块”执行对象检测时出现此错误

2024-04-28 17:29:55 发布

您现在位置:Python中文网/ 问答频道 /正文

from imageai.Detection import ObjectDetection

import os

execution_path = os.getcwd()

--------------------------------------------------------------------------- ImportError Traceback (most recent call last) in () ----> 1 from imageai.Detection import ObjectDetection 2 import os 3 4 execution_path = os.getcwd()

~\Anaconda3\lib\site-packages\imageai\Detection__init__.py in () ----> 1 import cv2 2 3 from imageai.Detection.keras_retinanet.models.resnet import resnet50_retinanet 4 from imageai.Detection.keras_retinanet.utils.image import read_image_bgr, read_image_array, read_image_stream, preprocess_image, resize_image 5 from imageai.Detection.keras_retinanet.utils.visualization import draw_box, draw_caption

ImportError: DLL load failed: The specified module could not be found.


Tags: pathinfromimageimportreadoskeras