Update main.cpp

master
syan 5 years ago committed by GitHub
parent a2f5efbd53
commit 22205a11da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ cv::String scan(std::string imgpath, std::string modelpath, double confidence){
modelpath+"/HorizonalFinemapping.prototxt",modelpath+"/HorizonalFinemapping.caffemodel",
modelpath+"/Segmentation.prototxt",modelpath+"/Segmentation.caffemodel",
modelpath+"/CharacterRecognization.prototxt",modelpath+"/CharacterRecognization.caffemodel",
modelpath+"/SegmentationFree.prototxt",modelpath+"/SegmentationFree.caffemodel"
modelpath+"/SegmenationFree-Inception.prototxt",modelpath+"/SegmenationFree-Inception.caffemodel"
);
cv::Mat image = cv::imread(imgpath);
std::vector<pr::PlateInfo> res = prc.RunPiplineAsImage(image,pr::SEGMENTATION_FREE_METHOD);

Loading…
Cancel
Save