Text Recognition: Add script to evaluate text recognition by ICDAR2003#71
Merged
zihaomu merged 3 commits intoopencv:masterfrom Sep 7, 2022
Merged
Text Recognition: Add script to evaluate text recognition by ICDAR2003#71zihaomu merged 3 commits intoopencv:masterfrom
zihaomu merged 3 commits intoopencv:masterfrom
Conversation
WanliZhong
reviewed
Jul 14, 2022
zihaomu
requested changes
Jul 29, 2022
| - For details on training this model, please visit https://github.com/ShiqiYu/libfacedetection.train. | ||
| - This ONNX model has fixed input shape, but OpenCV DNN infers on the exact shape of input image. See https://github.com/opencv/opencv_zoo/issues/44 for more information. | ||
|
|
||
| Results of accuracy evaluation with [tools/eval](../../tools/eval). |
| cropped = cv.warpPerspective(image, rotationMatrix, self._inputSize) | ||
|
|
||
| if 'CN' in self._model_path: | ||
| if 'CN' in self._model_path or 'CH' in self._model_path: |
Member
There was a problem hiding this comment.
Please add some comments about the difference between CN and CH.
| python eval.py -m mobilenet -d imagenet -dr /path/to/imagenet | ||
| ``` | ||
|
|
||
| ## WIDERFace |
Member
There was a problem hiding this comment.
Please rebase, the PR of WIDERFace has been merged.
tools/eval/datasets/icdar.py
Outdated
| def __init__(self, root): | ||
| self.root = root | ||
| self.acc = -1 | ||
| self.inputSize = [100, 32] # |
zihaomu
reviewed
Aug 30, 2022
| cropped = cv.warpPerspective(image, rotationMatrix, self._inputSize) | ||
|
|
||
| if 'CN' in self._model_path: | ||
| if 'CN' in self._model_path or 'CH' in self._model_path: |
6cf7a1e to
820ad78
Compare
Merged
fengyuentau
pushed a commit
that referenced
this pull request
Jun 8, 2023
#71) * update readme * add another script * revise details for this pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.