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.
在Path的环境变量中添加python的DLL位置(C:\ Program Files\Python35\DLL)。
相关问题 更多 >
编程相关推荐