GRASS / cv2 error after using installer

Bought the installer and tried to do an elevation map but got errors, any ideas on how to solve it?

coreplugins/elevationmap/elevationmap.py dsm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dsm.tif interval=1 format=GeoJSON noise_filter_size=3.0 epsg=4326 dtm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dtm.tif> …
worker | Traceback (most recent call last):
worker | File “/webodm/coreplugins/elevationmap/elevationmap.py”, line 63, in
worker | import cv2
worker | ModuleNotFoundError: No module named ‘cv2’

Could not execute GRASS script /webodm/coreplugins/elevationmap/elevationmap.py from /webodm/app/media/tmp/tmpz4unhaz0_grass_engine: Starting GRASS GIS… Creating new GRASS GIS location … Cleaning up temporary files… Executing <python3 /webodm/coreplugins/elevationmap/elevationmap.py dsm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dsm.tif interval=1 format=GeoJSON noise_filter_size=3.0 epsg=4326 dtm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dtm.tif> … Traceback (most recent call last): File “/webodm/coreplugins/elevationmap/elevationmap.py”, line 63, in import cv2 ModuleNotFoundError: No module named ‘cv2’ Execution of <python3 /webodm/coreplugins/elevationmap/elevationmap.py dsm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dsm.tif interval=1 format=GeoJSON noise_filter_size=3.0 epsg=4326 dtm=/webodm/app/media/project/10/task/a060f5df-5549-42a1-943d-a3124af6d501/assets/odm_dem/dtm.tif> finished. Cleaning up temporary files…

Try restarting the app after enabling the elevation change plugin.

I have activated plugins and restarted the docker/webodm but still no luck

Mm, try pressing “Update” from the WebODM Manager application?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.