PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

ppocrv3 detection inference

Open alicera opened this issue 2 years ago • 0 comments

请问我的对ppocrv3 detection inference理解是否正确?

前处理:

  1. resize 960x960
  2. pixel 除以 255
  3. 'std': [0.229, 0.224, 0.225], 'mean': [0.485, 0.456, 0.406],

inference: 1. pred= [0.5 0.5 0.5 0.1 0.1 0.1 0.1 0.5 0.5 0.5 0.1 0.1 0.1 0.1 ]

  1. 设定阀值 thres = 0.3

  2. 结果转成 BINARY [1 1 1 0 0 0 0 1 1 1 0 0 0 0]

  3. get the object box cv::findContours cv::minAreaRect

alicera avatar Nov 08 '22 09:11 alicera