| | |
| | | } |
| | | |
| | | int c_api_face_tracker_init(const int tm, const int gi, const int wid, const int hei, |
| | | const int maxFaces, const int detinterval, const int sampleSize){ |
| | | const int maxFaces, const int detinterval, const int sampleSize){ |
| | | if (!face) face = new sdkface(); |
| | | if (face) printf("create sdk face success\n"); |
| | | return face->init_face_tracker(tm, gi, wid, hei, maxFaces, detinterval, sampleSize); |
| | | } |
| | | |
| | | int c_api_face_track_resize(const int chan, const int wid, const int hei){ |
| | | return face->face_track_resize(chan, wid, hei); |
| | | } |
| | | |
| | | YoloHandle c_api_yolo_init( |
| | | const char *fcfg, const char *fweights, const char *fname, |
| | | const int gpu_index){ |