123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- /*M
- #ifndef OPENCV_DATASETS_OR_SUN_HPP
- #define OPENCV_DATASETS_OR_SUN_HPP
- #include <string>
- #include <vector>
- #include "opencv2/datasets/dataset.hpp"
- #include <opencv2/core.hpp>
- namespace cv
- {
- namespace datasets
- {
- struct OR_sunObj : public Object
- {
- int label;
- std::string name;
- };
- class CV_EXPORTS OR_sun : public Dataset
- {
- public:
- virtual void load(const std::string &path) = 0;
- static Ptr<OR_sun> create();
- std::vector<std::string> paths;
- };
- }
- }
- #endif
|