Skip to content

PritamPattnaik360/CamReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CamReader

Description

The provided Python script employs the OpenCV and Tesseract libraries to perform real-time text extraction from a camera feed. Upon execution, it initializes video capture, continuously acquiring frames for processing. The script waits for user input to trigger text recognition by pressing the 's' key, identifying text regions using contour detection. OCR is then applied to extract textual content from these regions, with recognized text appended to a designated output file. The script provides visual feedback by displaying both the original camera feed and the processed image. User termination is facilitated by pressing the 'q' key, releasing the camera resource, and closing the output file.

Application in Action

Screenshots

  • The image below shows the raw feed of the camera.
png1
  • The image is then processed.
png2
  • The text region is identified and then scans for the word and retrieves it as a string.
png3
  • Finally, the string is recorded and saved as a text file.
png4

Dependencies

pip install opencv-python
pip install pytesseract

You also need to download Pytesseract-OCR

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages