Repository navigation
Create text_detection.py - #13432
Merged
Merged
Create text_detection.py#13432
Conversation
Contributor
Author
dkurt
reviewed
Dec 13, 2018
opencv#12270 opencv#13429 **Deep Learning text detection sample (Python)** - Tested on **Ubuntu 18.04** - OpenCV 3.4.3, OpenCV 3.4.4, OpenCV 4.0 (master branch) - Python version supported - Python 2 and Python 3
Member
|
@vishwesh5, please note that I changed the base branch from |
Contributor
Author
|
@dkurt done! Thanks for your help! |
dkurt
reviewed
Dec 13, 2018
dkurt
reviewed
Dec 13, 2018
dkurt
reviewed
Dec 14, 2018
Contributor
Author
|
Sure. I will make that addition in a couple of hours (I am traveling right
now)
…On Fri 14 Dec, 2018, 2:08 PM Dmitry Kurtaev ***@***.*** wrote:
***@***.**** commented on this pull request.
------------------------------
In samples/dnn/text_detection.py
<#13432 (comment)>:
> @@ -0,0 +1,146 @@
+# Import required modules
+import cv2 as cv
+import math
+import argparse
+
+############ Add argument parser for command line arguments ############
+parser = argparse.ArgumentParser(description='Use this script to run text detection deep learning networks using OpenCV.')
It'd be nice to add some references to origin paper and network's repo.
I.e. like in text_detection.cpp:
Use this script to run TensorFlow implementation (https://github.com/argman/EAST) of
EAST: An Efficient and Accurate Scene Text Detector (https://arxiv.org/abs/1704.03155v2)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13432 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALkvCgxpQEBL4phwo7XM-6XQcV8Zn-87ks5u42OQgaJpZM4ZRHc3>
.
|
dkurt
approved these changes
Dec 17, 2018
dkurt
left a comment
Member
There was a problem hiding this comment.
@vishwesh5, That's cool, thank you! 👍
Contributor
Author
|
Thank you for your help!
…On Mon 17 Dec, 2018, 2:26 PM Dmitry Kurtaev ***@***.*** wrote:
***@***.**** approved this pull request.
@vishwesh5 <https://github.com/vishwesh5>, That's cool, thank you! 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13432 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALkvCn7JGHnVPf_Q3SowS3kmowmRhiWtks5u51wwgaJpZM4ZRHc3>
.
|
Merged
SavyaSanchi-Sharma
pushed a commit
to SavyaSanchi-Sharma/opencv
that referenced
this pull request
Jul 30, 2026
* Create text_detection.py opencv#12270 opencv#13429 **Deep Learning text detection sample (Python)** - Tested on **Ubuntu 18.04** - OpenCV 3.4.3, OpenCV 3.4.4, OpenCV 4.0 (master branch) - Python version supported - Python 2 and Python 3 * Fix trailing whitespaces * Update text_detection.py * Remove whitespace * Remove comments * Remove unused packages * Update description
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.
resolves #12270
relates #13429
Deep Learning text detection sample (Python)