Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV on backend?

hi

I know this topic should actually be asked to the backend service provider who would be providing this service. Which I actually have done. I would still like to get an opinion from the OpenCV community for this as many of you would be more experienced than me.

Which of these services would work for OpenCV on backend with python?

GOOGLE APP ENGINE or COMPUTE ENGINE

Please guide.

I have already spent 2 weeks of my time trying to implement OpenCV through Google Cloud Functions BETA using Cloud Function Python ended up getting an error like this

Traceback (most recent call last):
File "function.py", line 3, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module File "site-packages/cv2/__init__.py", line 4, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 714, in load_module ImportError: libSM.so.6: cannot open shared object file: No such file or directory

which actually requires a library called libsm6which needs to be installed according to this link

I did pip install opencv-python==3.4.0.12 is there a way. How I can actually overcome this issue of libsm6 quickly?

PS: cloud function is suppose to be serverless so it would have libsm6 which the OpenCV requires

OpenCV on backend?

hi

I know this topic should actually be asked to the backend service provider who would be providing this service. Which I actually have done. I would still like to get an opinion from the OpenCV community for this as many of you would be more experienced than me.

Which of these services would work for OpenCV on backend with python?

GOOGLE APP ENGINE or COMPUTE ENGINE

Please guide.

I have already spent 2 weeks of my time trying to implement OpenCV through Google Cloud Functions BETA using Cloud Function Python ended up getting an error like this

Traceback (most recent call last):
File "function.py", line 3, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module File "site-packages/cv2/__init__.py", line 4, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 714, in load_module ImportError: libSM.so.6: cannot open shared object file: No such file or directory

which actually requires a library called libsm6which needs to be installed according to this link

I did pip install opencv-python==3.4.0.12 is there a way. How I can actually overcome this issue of libsm6 quickly?

PS: cloud function is suppose to be serverless so it would wouldn't have libsm6 which the OpenCV requires

OpenCV on backend?

hi

I know this topic should actually be asked to the backend service provider who would be providing this service. Which I actually have done. I would still like to get an opinion from the OpenCV community for this as many of you would be more experienced than me.

Which of these services would work for OpenCV on backend with python?

GOOGLE APP ENGINE or COMPUTE ENGINE

Please guide.

I have already spent 2 weeks of my time trying to implement OpenCV through Google Cloud Functions BETA using Cloud Function Python ended up getting an error like this

Traceback (most recent call last):
File "function.py", line 3, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 631, in exec_module File "site-packages/cv2/__init__.py", line 4, in <module> File "/app/cloudfn/pip-cache-3.5/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 714, in load_module ImportError: libSM.so.6: cannot open shared object file: No such file or directory

which actually requires a library called libsm6which needs to be installed according to this link

I did pip install opencv-python==3.4.0.12 is there a way. How I can actually overcome this issue of libsm6 quickly?

PS: cloud function is suppose to be serverless so it wouldn't have libsm6 which the OpenCV requires