🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

github.com/purylte/ocr-webui

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/purylte/ocr-webui

Source
Go
Version
v1.0.0
Version published
Created
Source

OCR WebUI

OCR WebUI allows users to upload images, crop specific sections, and extract text using Optical Character Recognition (OCR). The project is built in Go, leveraging gosseract for OCR and HTMX for seamless interactions while being lightweight.

Installation

Docker

  • Run docker run -p 3000:3000 ghcr.io/purylte/ocr-webui:latest
  • Open http://localhost:3000/app

Local

Development

Using Dev Container (VS Code)

git clone https://github.com/purylte/ocr-webui.git
code ocr-webui
  • Run "Dev Containers: Reopen in Container" in VS Code
  • Run air to start hot reload

Manually

  • Clone the repository
git clone https://github.com/purylte/ocr-webui.git
cd ocr-webui
go install github.com/a-h/templ/cmd/templ@latest
go install github.com/air-verse/air@latest```
  • Run air to start hot reload

Todo

  • Preprocess image before doing OCR using gocv
  • Test
  • Better logging & error handling

Contributing

Feel free to fork this project, submit issues, and create pull requests. Contributions are welcome!

License

This project is licensed under the MIT License - see the LICENSE file for details.

FAQs

Package last updated on 27 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts