opencv 0.10.0

Rust bindings for OpenCV
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define CVRS_CATCH(return_val) \
catch (cv::Exception& e) { \
   char* msg = strdup(e.what()); \
   return_val ret; \
   memset(&ret, 0x00, sizeof(ret)); \
   ret.error_code = e.code; \
   ret.error_msg = msg; \
   return ret; \
} catch (...) { \
   char* msg = strdup("unspecified error in OpenCV guts"); \
   return_val ret; \
   memset(&ret, 0x00, sizeof(ret)); \
   ret.error_code = -99999; \
   ret.error_msg = msg; \
   return ret; \
}