Can i use open cv with python in google app?

In fact, I was working on a project that I was planning to deploy to Google appengine. However, I found that the google engine supports python. Can I run openCV using python scripts in a Google app?

+4
source share
3 answers

No. GAE only supports pure python extensions or the extensions they supply themselves.

OpenCV uses C, so it is not suitable.

The interpreter can run any Python code, including the Python modules that you add with your application, as well as the standard Python library. The interpreter cannot load Python modules using C code; This is a clean Python environment.

https://developers.google.com/appengine/docs/python/overview

Pure Python and Gae

+8
source

No. OpenCV is the Python wrapper for the C ++ library, and the Google App Engine can only run pure Python code.

The Google App Engine took this question on May 9, 2012 , but it hasn’t appeared anywhere else.

+4
source

Now it is possible. The application must be deployed using a custom runtime in a flexible GAE environment. The OpenCV library can be installed by adding the RUN apt-get update && apt-get install -y python-opencv command RUN apt-get update && apt-get install -y python-opencv to the Docker file.

+2
source

All Articles