Skip to content

RavenKing144/Text-detection-in-live-video-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text-detection-in-live-video-streaming

Python Libraries required

imutils numpy argparse pytesseract imutils time cv2

Our script requires command line arguments:

--east : The EAST scene text detector model file path. --video : The path to our input video. Optional — if a video path is provided then the webcam will not be used. --min-confidence : Probability threshold to determine text. Optional with default=0.5 . --width : Resized image width (must be multiple of 32). Optional with default=320 . --height : Resized image height (must be multiple of 32). Optional with default=320 --padding : The (optional) amount of padding to add to each ROI border. You might try values of 0.05 for 5% or 0.10 for 10% (and so on) if you find that your OCR result is incorrect. . Important: The EAST text requires that your input image dimensions be multiples of 32, so if you choose to adjust your --width and --height values, ensure they are multiples of 32!

Command to run the code is

python webcam2text.py --east frozen_east_text_detection.pb

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages