File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 9
9
int main ()
10
10
{
11
11
static ClassificationTensorRT CLASSIFICATION_TENSORRT;
12
- cv::Mat img = cv::imread (" C:/DeepEye/Data/Result/boundingbox_resources/20190409/0009201904090172_F.jpg" );
13
- std::string model = " C:/DeepEye/Data/DNN/DamageClassificationModel/deploy.prototxt" ;
14
- std::string trained = " C:/DeepEye/Data/DNN/DamageClassificationModel/network.caffemodel" ;
15
- std::string mean = " C:/DeepEye/Data/DNN/DamageClassificationModel/mean.binaryproto" ;
16
- std::string label = " C:/DeepEye/Data/DNN/DamageClassificationModel/labels.txt" ;
12
+ // Edit image and caffe model path below
13
+ cv::Mat img = cv::imread (" image.jpg" );
14
+ std::string model = " CaffeModel/deploy.prototxt" ;
15
+ std::string trained = " CaffeModel/network.caffemodel" ;
16
+ std::string mean = " CaffeModel/mean.binaryproto" ;
17
+ std::string label = " CaffeModel/labels.txt" ;
17
18
ClassificationTensorRT::classifier_ctx *ctx;
18
19
int time1, time2;
19
20
@@ -29,4 +30,4 @@ int main()
29
30
30
31
system (" PAUSE" );
31
32
return 0 ;
32
- }
33
+ }
You can’t perform that action at this time.
0 commit comments