Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use open cv with python on Google app engine?

HI actually I was working on a project which i intended to deploy on the google appengine. However I found that google app engine is supported by python. Can I run openCV with python scripts on Google app engine?

like image 904
Roger Mendes Avatar asked Dec 06 '22 10:12

Roger Mendes


2 Answers

No. GAE only supports either pure python extensions or extensions that they are supplying themselves.

OpenCV uses C, so it is not suitable.

The interpreter can run any Python code, including Python modules you include with your application, as well as the Python standard library. The interpreter cannot load Python modules with C code; it is a "pure" Python environment.

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

Pure Python and GAE

like image 130
Paul Collingwood Avatar answered Dec 08 '22 22:12

Paul Collingwood


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

Google App Engine accepted this issue on May 9, 2012, but it has not gotten anywhere yet.

like image 37
Fredrick Brennan Avatar answered Dec 08 '22 22:12

Fredrick Brennan