1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00

add pose information to binary files of label for caffe training

This commit is contained in:
Wangyida
2015-07-30 15:18:24 +08:00
parent 6f38d89160
commit 4fe5498a45
11 changed files with 122 additions and 26 deletions

View File

@@ -129,7 +129,7 @@ class CV_EXPORTS_W IcoSphere
CV_WRAP static void createHeader(int num_item, int rows, int cols, const char* headerPath);
/** @brief Create header in binary files collecting the image data and label.
*/
CV_WRAP static void writeBinaryfile(string filenameImg, const char* binaryPath, const char* headerPath, int num_item, int label_class);
CV_WRAP static void writeBinaryfile(string filenameImg, const char* binaryPath, const char* headerPath, int num_item, int label_class, int x, int y, int z);
/** @brief Write binary files used for training in other open source project.
*/