{"id":22345841,"url":"https://github.com/gifflet/opencv-text-detection","last_synced_at":"2026-03-02T11:01:58.351Z","repository":{"id":130780951,"uuid":"207357432","full_name":"gifflet/opencv-text-detection","owner":"gifflet","description":"Text detection using OpenCV's EAST detector in Python. Perfect for computer vision and OCR projects.","archived":false,"fork":false,"pushed_at":"2024-11-17T22:43:38.000Z","size":88327,"stargazers_count":14,"open_issues_count":1,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T11:48:38.717Z","etag":null,"topics":["computer-vision","cv2","east","image-processing","ocr","opencv","python","text-detection"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gifflet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-09T16:44:26.000Z","updated_at":"2025-09-17T04:09:43.000Z","dependencies_parsed_at":"2025-06-25T18:21:01.305Z","dependency_job_id":null,"html_url":"https://github.com/gifflet/opencv-text-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gifflet/opencv-text-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fopencv-text-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fopencv-text-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fopencv-text-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fopencv-text-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gifflet","download_url":"https://codeload.github.com/gifflet/opencv-text-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gifflet%2Fopencv-text-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29999221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","cv2","east","image-processing","ocr","opencv","python","text-detection"],"created_at":"2024-12-04T09:18:54.981Z","updated_at":"2026-03-02T11:01:58.309Z","avatar_url":"https://github.com/gifflet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV Text Detection (EAST text detector) 🔍\n\nA Python application that performs real-time text detection in images and video streams using OpenCV and the EAST text detector model.\n\n## 📋 Table of Contents\n- [✨ Features](#-features)\n- [🔧 Requirements](#-requirements)\n- [🚀 Installation](#-installation)\n- [💻 Usage](#-usage)\n- [🔍 How it Works](#-how-it-works)\n- [🤝 Contributing](#-contributing)\n- [📄 License](#-license)\n- [🙏 Acknowledgments](#-acknowledgments)\n\n## ✨ Features\n- Real-time text detection in images\n- Real-time text detection in video streams and webcam\n- Support for multiple text orientations\n- Non-maximum suppression for overlapping detections\n- Adjustable confidence threshold\n- FPS counter for performance monitoring\n\n## 🔧 Requirements\n- Python 3.6+\n- OpenCV (cv2)\n- NumPy\n- imutils\n- Pre-trained EAST text detector model\n\n## 🚀 Installation\n\n1. Clone this repository:\n\n```bash\ngit clone https://github.com/gifflet/opencv-text-detection.git\ncd opencv-text-detection\n```\n\n2. Install the required packages:\n\n```bash\npip install opencv-python numpy imutils\n```\n\n3. Download the EAST text detector model (frozen_east_text_detection.pb)\n\n## 💻 Usage\n\n### Image Detection\nTo detect text in an image:\n```bash\npython text_detection.py --image path/to/image.jpg --east frozen_east_text_detection.pb\n```\n\nOptional arguments:\n- `--min-confidence`: Minimum probability to filter weak detections (default: 0.5)\n- `--width`: Resized image width (should be multiple of 32)\n- `--height`: Resized image height (should be multiple of 32)\n\n### Video/Webcam Detection\nTo detect text in video or webcam:\n```bash\n# For webcam\npython text_detection_video.py --east frozen_east_text_detection.pb\n\n# For video file\npython text_detection_video.py --east frozen_east_text_detection.pb --video path/to/video.mp4\n```\n\n## 🔍 How it Works\n\nThe application uses the EAST (Efficient and Accurate Scene Text) detector, which is a deep learning model designed for text detection. The process involves:\n\n1. Image preprocessing and resizing\n2. Running the EAST detector to get text predictions\n3. Decoding the predictions to get bounding box coordinates\n4. Applying non-maximum suppression to eliminate overlapping detections\n5. Drawing the results on the original image/frame\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details.\n\n## 🙏 Acknowledgments\n\nProject based on the original work by Adrian Rosebrock from PyImageSearch (https://www.pyimagesearch.com/2018/08/20/opencv-text-detection-east-text-detector/)\n\n---\n\nMade with ❤️ by gifflet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fopencv-text-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgifflet%2Fopencv-text-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgifflet%2Fopencv-text-detection/lists"}