Skip to content

Image must be cloned in text detection #23683

@LaurentBerger

Description

@LaurentBerger

In text_detection.cpp samples image where result are print must not be original image.

putText(frame, recognitionResult, quadrangle[3], FONT_HERSHEY_SIMPLEX, 1.5, Scalar(0, 0, 255), 2);

Sometime previous result are given to recognizer models
without clone
image
with
image

way to reproduce

opencv_dnn-sample_text_detection --rgb=1 -i="C:\lib\opencv_zoo\models\text_detection_db\examples\gsoc.jpg" --dmp=C:\dnn_models\frozen_east_text_detection.pb --rmp=C:\dnn_models\crnn_cs.onnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions