sod_img sod_img_load_cv_ipl(IplImage* src);
Load an image/frame from an OpenCV IplImage. The library must be compiled against OpenCV with the compile-time directive SOD_ENABLE_OPENCV defined. On success, a memory representation of the target image is returned in an instance of the sod_img object which can be processed or analyzed via the exported interfaces.
Valid pointer to an OpenCV IplImage.
Memory representation of the target image is returned in an instance of the sod_img object. if something goes wrong during loading, then an empty image is returned via sod_make_empty_image(). Once done, you must release the memory allocated to this object via sod_free_image() to avoid memory leaks.
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
sod_hilditch_thin • sod_image_draw_box • sod_image_find_blobs • sod_hough_lines_detect • sod_crop_image • sod_resize_image.