Select to view content in your preferred language

Error 002667.

54
0
Monday
Labels (1)
JuanmaAneraMarin
Occasional Contributor

Hi,

I'm trying to use the "Car Detection - USA" DL model from the Detect Objects Using Deep Learning tool. https://doc.arcgis.com/en/pretrained-models/latest/imagery/using-car-detection-usa.htm

I've already followed the installation steps, for ArcGis Pro 3.5: https://github.com/Esri/deep-learning-frameworks

The installation of that package was done.

The problem persists when I try to use the model definition: CarDetection_USA.dlpk
which is stored under my testing project folder.

"import cv2" is where the issue is getting that error.
Even using a cloned environment of the arcgispro-py3 default version, is getting me same error.

The error message:

Unable to load the specified python raster function module. [C:\Users\anera\AppData\Local\Temp\ArcGISProTemp16404\CarDetection_USA.dlpk\ArcGISInstanceDetector.py]
Traceback (most recent call last):
File "C:\Users\anera\AppData\Local\Temp\ArcGISProTemp16404\CarDetection_USA.dlpk\ArcGISInstanceDetector.py", line 5, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'

Unable to load the specified python raster function module. [ArcGISInstanceDetector]


Any hint?
Thanks everyone,

Juanma

Tags (1)
0 Kudos
0 Replies