opencv.h
Go to the documentation of this file.
00001 /*
00002  * opencv.h
00003  *
00004  *  Created on: Dec 19, 2010
00005  *      Author: ethan
00006  */
00007 
00008 #ifndef PANO_PY_OPENCV_H_
00009 #define PANO_PY_OPENCV_H_
00010 #include <opencv2/core/core.hpp>
00011 #include <boost/python.hpp>
00012 namespace pano_py{
00017 cv::Mat convertObj2Mat(boost::python::object image);
00018 
00019 cv::Mat convertNumpy2Mat(boost::python::object np);
00020 
00021 bool numpy_to_mat(const PyObject* o, cv::Mat& m, const char* name = "<unknown>", bool allowND=true);
00022 
00023 int failmsg(const char *fmt, ...);
00024 
00025 
00026 
00027 }
00028 
00029 
00030 #endif /* OPENCV_H_ */


pano_py
Author(s): Ethan Rublee
autogenerated on Wed Aug 26 2015 16:34:19