Itseez/opencv — pull request #233 by znah (2012-12-18 13:10:05+00:00)
Title: First experiments on exposing GPU api into Python

Here are some quick and humble attempts to expose OpenCV GPU features to python interface.
Currently exposed:
* GpuMat creation, upload and download
* pyrUp / pyrDown

See "samples/python2/gpu/test.py" for usage example.

Issues:
* probably should put gpu stuff into gpu submodule (instead of using prefix)
* 'gen2.py' incorreclty handles functions, residing in nested namespaces (it thinks of them as class methods). Temprorary fixed it but marking such fucntions as "static methods" (search for "HACK" in 'hdr_parser.py')