PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

Decreasing Input Shape for Detection

Open 7ZFG1 opened this issue 2 years ago • 2 comments

Hello Everyone,

I want to decrease input image shape before entering the detection model (mobilenet_v3) because my dataset has small-sized images. For this purpose, I changed the parameters as det_limit_side_len = 224 and det_limit_type = min. But the performance became bad. Anyone can help?

Thank you!

7ZFG1 avatar Oct 11 '22 14:10 7ZFG1

I think it's because the trained model is trained on a larger scale image. You can see the input size in the config file of the detection model. I do not remember it exactly, but it's around 960x1280. Fine tune the model if you have enough data may help

thangnm99 avatar Oct 12 '22 06:10 thangnm99

In the config file there is parameters which is DetResizeForTest in Eval part. If I use this parameters for resizing will it work?

7ZFG1 avatar Oct 12 '22 07:10 7ZFG1

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 08 '23 02:07 github-actions[bot]