FastOCR is a desktop application for OCR API.

Overview

FastOCR

GitHub top language GitHub

FastOCR is a desktop application for OCR API.

Installation

Arch Linux

fastocr-git @ AUR

Build from AUR or install with your favorite AUR helper.

yay -S fastocr-git  # Using yay
pikaur -S fastocr-git  # Using pikaur
# ...

PyPI

fastocr @ PyPI

pip install --user fastocr
# Then copy desktop file to ~/.local/share/applications

Manually

Proudly use DepHell to generate setup.py file.

python setup.py install
# Then copy desktop file to ~/.local/share/applications

Development

Proudly use Poetry for developing.

poetry install

Usage

fastocr

DBus

Service name: io.github.brucezhang1993.FastOCR

Object: /io/github/brucezhang1993/FastOCR

Methods

Actions Arguments Description
captureToClipboard {seconds} {no_copy} Capture and OCR to system clipboard or dbus signal
seconds: Delay capture in seconds
no_copy: If true, the result will not be saved in clipboard
quitApp -- Quit app

Signal

Signals Arguments Description
captured {text} OCR result will be sent to this signal
text: OCR result in plain text

Contributing

Pull requests are welcome.

For major changes, please open an issue first to discuss what you would like to change.

License

LGPL3

Comments
  • invalid token doesn't need cache, fix potential TypeError

    invalid token doesn't need cache, fix potential TypeError

    For Baidu OCR, token and expires_in in .cache/fastocr/baidu_token_data.json will be null if wrong API (or empty API) is given, where there's no need to save token in the cache file. (Otherwise it can raise a TypeError during timestamp + expires_in)

    opened by wsyxbcl 1
  • [BUG] 截图操作后操作区内容可能存在未更新的问题

    [BUG] 截图操作后操作区内容可能存在未更新的问题

    Describe the bug 截图操作后操作区内容可能存在未更新的问题

    To Reproduce 用户反馈待复现

    Expected behavior TODO

    Environment information 用户反馈待复现 [Strongly recommend to run fastocr diagnose in the console and paste the outputs here]

    Additional context Add any other context about the problem here.

    unconfirmed bug 
    opened by BruceZhang1993 0
  • [BUG] The token cache for BaiduOCR may block the API update in setting?

    [BUG] The token cache for BaiduOCR may block the API update in setting?

    As the property method of BaiduOcr would use the cache file directly if there is, the API change in setting won't work.

    Remove the cache file after Setting.save or redefine the "cache file behavior" would probably be nice?

    confirmed bug 
    opened by wsyxbcl 0
  • [Feature Request] Please support Mathpix API

    [Feature Request] Please support Mathpix API

    Describe the feature Could you please add support for mathpix API so that users can use this to copy and paste math formulars? Reference: https://mathpix.com/ocr

    feature request 
    opened by sukanka 2
  • Distribution

    Distribution

    Linux

    • [x] Arch Linux derivative AUR ~~Thanks to myself~~
    • [x] NixOS/Nix fastocr Thanks to Potato Hatsue
    • [ ] Debian/Ubuntu derivative
    • [ ] Gentoo derivative
    • [x] AppImage

    ...

    Windows

    • [x] PyInstaller (Exe)
    • [x] PyInstaller (Zip)

    macOS

    • [x] PyInstaller (App)

    Common

    help wanted 
    opened by BruceZhang1993 2
Owner
Bruce Zhang
Bruce Zhang
It is a image ocr tool using the Tesseract-OCR engine with the pytesseract package and has a GUI.

OCR-Tool It is a image ocr tool made in Python using the Tesseract-OCR engine with the pytesseract package and has a GUI. This is my second ever pytho

Khant Htet Aung 4 Jul 11, 2022
Indonesian ID Card OCR using tesseract OCR

KTP OCR Indonesian ID Card OCR using tesseract OCR KTP OCR is python-flask with tesseract web application to convert Indonesian ID Card to text / JSON

Revan Muhammad Dafa 5 Dec 6, 2021
Opencv face recognition desktop application

Opencv-Face-Recognition Opencv face recognition desktop application Program developed by Gustavo Wydler Azuaga - 2021-11-19 Screenshots of the program

Gus 1 Nov 19, 2021
A Python wrapper for the tesseract-ocr API

tesserocr A simple, Pillow-friendly, wrapper around the tesseract-ocr API for Optical Character Recognition (OCR). tesserocr integrates directly with

Fayez 1.7k Dec 31, 2022
A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well

ocrserver Simple OCR server, as a small working sample for gosseract. Try now here https://ocr-example.herokuapp.com/, and deploy your own now. Deploy

Hiromu OCHIAI 541 Dec 28, 2022
Use Youdao OCR API to covert your clipboard image to text.

Alfred Clipboard OCR 注:本仓库基于 oott123/alfred-clipboard-ocr 的逻辑用 Python 重写,换用了有道 AI 的 API,准确率更高,有效防止百度导致隐私泄露等问题,并且有道 AI 初始提供的 50 元体验金对于其资费而言个人用户基本可以永久使用

Junlin Liu 6 Sep 19, 2022
Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

EasyOCR Ready-to-use OCR with 80+ languages supported including Chinese, Japanese, Korean and Thai. What's new 1 February 2021 - Version 1.2.3 Add set

Jaided AI 16.7k Jan 3, 2023
OCR-D-compliant page segmentation

ocrd_segment This repository aims to provide a number of OCR-D-compliant processors for layout analysis and evaluation. Installation In your virtual e

OCR-D 59 Sep 10, 2022
OCR software for recognition of handwritten text

Handwriting OCR The project tries to create software for recognition of a handwritten text from photos (also for Czech language). It uses computer vis

Břetislav Hájek 562 Jan 3, 2023
Turn images of tables into CSV data. Detect tables from images and run OCR on the cells.

Table of Contents Overview Requirements Demo Modules Overview This python package contains modules to help with finding and extracting tabular data fr

Eric Ihli 311 Dec 24, 2022
Code for the paper STN-OCR: A single Neural Network for Text Detection and Text Recognition

STN-OCR: A single Neural Network for Text Detection and Text Recognition This repository contains the code for the paper: STN-OCR: A single Neural Net

Christian Bartz 496 Jan 5, 2023
A pure pytorch implemented ocr project including text detection and recognition

ocr.pytorch A pure pytorch implemented ocr project. Text detection is based CTPN and text recognition is based CRNN. More detection and recognition me

coura 444 Dec 30, 2022
python ocr using tesseract/ with EAST opencv detector

pytextractor python ocr using tesseract/ with EAST opencv text detector Uses the EAST opencv detector defined here with pytesseract to extract text(de

Danny Crasto 38 Dec 5, 2022
Run tesseract with the tesserocr bindings with @OCR-D's interfaces

ocrd_tesserocr Crop, deskew, segment into regions / tables / lines / words, or recognize with tesserocr Introduction This package offers OCR-D complia

OCR-D 38 Oct 14, 2022
A set of workflows for corpus building through OCR, post-correction and normalisation

PICCL: Philosophical Integrator of Computational and Corpus Libraries PICCL offers a workflow for corpus building and builds on a variety of tools. Th

Language Machines 41 Dec 27, 2022
Tensorflow-based CNN+LSTM trained with CTC-loss for OCR

Overview This collection demonstrates how to construct and train a deep, bidirectional stacked LSTM using CNN features as input with CTC loss to perfo

Jerod Weinman 489 Dec 21, 2022
🖺 OCR using tensorflow with attention

tensorflow-ocr ?? OCR using tensorflow with attention, batteries included Installation git clone --recursive http://github.com/pannous/tensorflow-ocr

null 646 Nov 11, 2022
This is the implementation of the paper "Gated Recurrent Convolution Neural Network for OCR"

Gated Recurrent Convolution Neural Network for OCR This project is an implementation of the GRCNN for OCR. For details, please refer to the paper: htt

null 90 Dec 22, 2022
A tool for extracting text from scanned documents (via OCR), with user-defined post-processing.

The project is based on older versions of tesseract and other tools, and is now superseded by another project which allows for more granular control o

Maxim 32 Jul 24, 2022