-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Image must be cloned in text spotting #23685
Copy link
Copy link
Closed
Labels
Milestone
Description
System Information
Same problem in scene_text_spotting than in #23683
Detailed description
Image where result are printed must be a clone when --rgb is set to 1
opencv/samples/dnn/scene_text_spotting.cpp
Line 113 in 87331ca
| recInput = frame; |
opencv/samples/dnn/scene_text_spotting.cpp
Line 134 in 87331ca
| putText(frame, recognitionResult, quadrangle[3], FONT_HERSHEY_SIMPLEX, 1, Scalar(0, 0, 255), 2); |
Steps to reproduce
scene_text_spotting --rgb=1 -i="C:\lib\opencv_zoo\models\text_detection_db\examples\gsoc.jpg" --dmp=C:\dnn_models\DB_IC15_resnet50.onnx --rmp=C:\dnn_models\crnn_cs.onnx
0: 'program'
1: 'broar'
2: 'view'
3: 'announced'
4: 'program'
5: '2022'
6: 'code'
7: 'summer'
8: 'google'
Result with clone
0: 'program'
1: 'page'
2: 'view'
3: 'announced'
4: 'program'
5: '2022'
6: 'code'
7: 'summer'
8: 'google'
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable