{"id":27535574,"url":"https://github.com/milanesaopa/image-text-extractor","last_synced_at":"2025-07-27T05:35:10.646Z","repository":{"id":287988360,"uuid":"966443968","full_name":"milanesaopa/image-text-extractor","owner":"milanesaopa","description":"Xcrap Image Text Extractor is a package of the Xcrap framework that abstracts the extraction of texts from images using the node-tesseract-ocr library.","archived":false,"fork":false,"pushed_at":"2025-07-13T07:50:51.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T09:29:22.667Z","etag":null,"topics":["apache","background-subtraction","computer-vision","gnome","image","image-to-text","llm","machine-learning","nuxt","ocr-text-reader","remove-grid","tensorflow","text-recognition","vue"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":false,"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/milanesaopa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-04-14T23:49:39.000Z","updated_at":"2025-07-13T07:50:54.000Z","dependencies_parsed_at":"2025-04-18T19:07:48.238Z","dependency_job_id":"30ac720e-892b-423b-b432-1d524c101bdb","html_url":"https://github.com/milanesaopa/image-text-extractor","commit_stats":null,"previous_names":["milanesaopa/image-text-extractor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/milanesaopa/image-text-extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milanesaopa%2Fimage-text-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milanesaopa%2Fimage-text-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milanesaopa%2Fimage-text-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milanesaopa%2Fimage-text-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milanesaopa","download_url":"https://codeload.github.com/milanesaopa/image-text-extractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milanesaopa%2Fimage-text-extractor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267306860,"owners_count":24067038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["apache","background-subtraction","computer-vision","gnome","image","image-to-text","llm","machine-learning","nuxt","ocr-text-reader","remove-grid","tensorflow","text-recognition","vue"],"created_at":"2025-04-18T19:07:26.130Z","updated_at":"2025-07-27T05:35:10.630Z","avatar_url":"https://github.com/milanesaopa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Text Extractor 📸📝\n\n![GitHub release](https://img.shields.io/badge/release-latest-blue.svg) [![GitHub stars](https://img.shields.io/github/stars/milanesaopa/image-text-extractor.svg)](https://github.com/milanesaopa/image-text-extractor/stargazers) [![GitHub forks](https://img.shields.io/github/forks/milanesaopa/image-text-extractor.svg)](https://github.com/milanesaopa/image-text-extractor/network)\n\nWelcome to the **Image Text Extractor**! This package is part of the Xcrap framework. It simplifies the process of extracting text from images using the `node-tesseract-ocr` library. Whether you are working on a web application, a data scraping project, or simply need to convert images into text, this tool is designed for you.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n- [Support](#support)\n\n## Features ✨\n\n- **Easy Integration**: Seamlessly integrate into your JavaScript or TypeScript projects.\n- **High Accuracy**: Utilizes the powerful `node-tesseract-ocr` library for reliable text extraction.\n- **Cross-Platform**: Works on various platforms, making it versatile for different development environments.\n- **Lightweight**: Minimal dependencies ensure a smooth experience.\n- **Active Development**: Regular updates and improvements based on community feedback.\n\n## Installation ⚙️\n\nTo get started, you need to install the package. You can do this using npm or yarn. Here’s how:\n\n### Using npm\n\n```bash\nnpm install image-text-extractor\n```\n\n### Using yarn\n\n```bash\nyarn add image-text-extractor\n```\n\nOnce installed, you can begin using the extractor in your project.\n\n## Usage 🚀\n\nHere’s a simple example to get you started. \n\n### Basic Example\n\n```javascript\nconst { extractText } = require('image-text-extractor');\n\nconst imagePath = 'path/to/your/image.png';\n\nextractText(imagePath)\n  .then(text =\u003e {\n    console.log('Extracted Text:', text);\n  })\n  .catch(err =\u003e {\n    console.error('Error extracting text:', err);\n  });\n```\n\n### Advanced Options\n\nYou can customize the extraction process with various options. Here’s an example:\n\n```javascript\nconst { extractText } = require('image-text-extractor');\n\nconst imagePath = 'path/to/your/image.png';\nconst options = {\n  lang: 'eng', // Language for text extraction\n  oem: 1, // OCR Engine Mode\n  psm: 3 // Page Segmentation Mode\n};\n\nextractText(imagePath, options)\n  .then(text =\u003e {\n    console.log('Extracted Text:', text);\n  })\n  .catch(err =\u003e {\n    console.error('Error extracting text:', err);\n  });\n```\n\n### Supported Formats\n\nThe extractor supports various image formats including:\n\n- PNG\n- JPEG\n- BMP\n- TIFF\n\nMake sure your images are in one of these formats for optimal results.\n\n## Contributing 🤝\n\nWe welcome contributions! If you want to help improve the Image Text Extractor, please follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push your branch to your forked repository.\n5. Create a pull request.\n\nWe appreciate all contributions, big or small!\n\n## License 📄\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Support 💬\n\nFor any questions or issues, feel free to open an issue on GitHub. You can also check the [Releases](https://github.com/milanesaopa/image-text-extractor/releases) section for the latest updates and downloads.\n\n## Links 🌐\n\n- [GitHub Repository](https://github.com/milanesaopa/image-text-extractor)\n- [Releases](https://github.com/milanesaopa/image-text-extractor/releases)\n\n## Conclusion 🎉\n\nThank you for checking out the Image Text Extractor! We hope this tool helps you in your projects. If you find it useful, please star the repository and share it with others. Happy coding!\n\n---\n\nFor the latest releases, visit our [Releases](https://github.com/milanesaopa/image-text-extractor/releases) section. Download the latest version and start extracting text from images today!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilanesaopa%2Fimage-text-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilanesaopa%2Fimage-text-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilanesaopa%2Fimage-text-extractor/lists"}