-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.cpp
34 lines (31 loc) · 888 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <iostream>
#include "yolov5-seg/yolov5_seg_ncnn.cpp"
//#alsa "yolov8-seg/yolov8_seg_ncnn.cpp"
//#alsa "yolov8-pose/yolov8_pose_ncnn.cpp"
//#alsa "yolov8/yolov8_ncnn.cpp"
//#alsa "yolo-nas/yolo_nas_ncnn.cpp"
//#include "sherpa/sherpa_ncnn.cpp"
#include "realsr/realsr_ncnn.cpp"
//#include "real_esrgan/realesrgan_ncnn.cpp"
int main() {
// typedef struct DetectResults {
// float score;
// int label;
// int* box_pred;
// float* mask_pred;
// } DetectResults;
// int a[] = {1,2,3,4} ;
// int*b = a;
// for(int i = 0; i<4; i++){
// std::cout << b+i << " " << *(b+i) << std::endl;
// }
// test_yolov5_seg_ncnn();
// test_yolov8_seg_ncnn();
// test_yolov8_pose_ncnn();
// test_yolov8_ncnn();
// test_yolo_nas_ncnn();
// test_sherpa_ncnn();
test_realsr_ncnn();
// test_realesrgan_ncnn();
return 0;
}