Opencv-python: Is there a way to use cv2 without libsm6?

Created on 7 May 2018  路  1Comment  路  Source: opencv/opencv-python

Hi. I'm developing a Python facial recognition program in a robot called NAO. I'm using opencv to crop face out of the picture. I have written the facial recognition program that works fine in my VM (running in Ubuntu). However, when I try to run the program in NAO robot, it shows error message:

ImportError: libSM.so.6: cannot open shared object file: No such file or directory

Most helpful comment

I will publish soon two new headless distributions which don't depend on libSM: opencv-python-headless and opencv-contrib-python-headless. Meanwhile you can downgrade your version to 3.3.0.9 which does not include any GUI dependencies. See: https://github.com/skvark/opencv-python/issues/44

>All comments

I will publish soon two new headless distributions which don't depend on libSM: opencv-python-headless and opencv-contrib-python-headless. Meanwhile you can downgrade your version to 3.3.0.9 which does not include any GUI dependencies. See: https://github.com/skvark/opencv-python/issues/44

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chtsngn picture chtsngn  路  3Comments

ghost picture ghost  路  4Comments

gldraphael picture gldraphael  路  6Comments

owend picture owend  路  7Comments

ghimireadarsh picture ghimireadarsh  路  3Comments