1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#include "include.h" #include "vid_clothes.h" class VidClothes { private: /* data */ public: VidClothes(/* args */); ~VidClothes(); int init(int devId); int detect(vector<sy_img> vec_img); private: void release(); private: void* m_handle{nullptr}; aclrtContext ctx{nullptr}; };