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
Um simples projeto para fazer o reconhecimento do captcha usado pelo jogo bombcrypto

CaptchaSolver - LEIA ISSO 😓 Para iniciar o codigo: pip install -r requirements.txt python captcha_solver.py Se você deseja pegar ver o resultado das

Kawanderson 50 Mar 21, 2022
A python program to block out your face

Readme This is a small program I threw together in about 6 hours to block out your face. It probably doesn't work very well, so be warned. By default,

1 Oct 17, 2021
Play the Namibian game of Owela against a terrible AI. Built using Django and htmx.

Owela Club A Django project for playing the Namibian game of Owela against a dumb AI. Built following the rules described on the Mancala World wiki pa

Adam Johnson 18 Jun 01, 2022
PianoVisuals - Create background videos synced with piano music using opencv

Steps Record piano video Use Neural Network to do body segmentation (video matti

Solbiati Alessandro 4 Jan 24, 2022
An unofficial implementation of the paper "AutoVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss".

AutoVC: Zero-Shot Voice Style Transfer with Only Autoencoder Loss This is an unofficial implementation of AutoVC based on the official one. The reposi

Chien-yu Huang 27 Jun 16, 2022
Recognizing cropped text in natural images.

ASTER: Attentional Scene Text Recognizer with Flexible Rectification ASTER is an accurate scene text recognizer with flexible rectification mechanism.

Baoguang Shi 681 Jan 02, 2023
An Optical Character Recognition system using Pytesseract/Extracting data from Blood Pressure Reports.

Optical_Character_Recognition An Optical Character Recognition system using Pytesseract/Extracting data from Blood Pressure Reports. As an IOT/Compute

Ramsis Hammadi 1 Feb 12, 2022
Image Smoothing and Blurring Using OpenCV

Image-Smoothing-and-Blurring-Using-OpenCV This repository contains codes for performing image smoothing and blurring using OpenCV. There are different

Happy N. Monday 3 Feb 15, 2022
CTPN + DenseNet + CTC based end-to-end Chinese OCR implemented using tensorflow and keras

简介 基于Tensorflow和Keras实现端到端的不定长中文字符检测和识别 文本检测:CTPN 文本识别:DenseNet + CTC 环境部署 sh setup.sh 注:CPU环境执行前需注释掉for gpu部分,并解开for cpu部分的注释 Demo 将测试图片放入test_images

Yang Chenguang 2.6k Dec 29, 2022
TableBank: A Benchmark Dataset for Table Detection and Recognition

TableBank TableBank is a new image-based table detection and recognition dataset built with novel weak supervision from Word and Latex documents on th

844 Jan 04, 2023
Deep learning based page layout analysis

Deep Learning Based Page Layout Analyze This is a Python implementaion of page layout analyze tool. The goal of page layout analyze is to segment page

186 Dec 29, 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 03, 2023
Document manipulation detection with python

image manipulation detection task: -- tianchi function image segmentation salie

JiaKui Hu 3 Aug 22, 2022
[BMVC'21] Official PyTorch Implementation of Grounded Situation Recognition with Transformers

Grounded Situation Recognition with Transformers Paper | Model Checkpoint This is the official PyTorch implementation of Grounded Situation Recognitio

Junhyeong Cho 18 Jul 19, 2022
Natural language detection

Detect the language of text. What’s so cool about franc? franc can support more languages(†) than any other library franc is packaged with support for

Titus 3.8k Jan 02, 2023
Lightning Fast Language Prediction 🚀

whatthelang Lightning Fast Language Prediction 🚀 Dependencies The dependencies can be installed using the requirements.txt file: $ pip install -r req

Indix 152 Oct 16, 2022
color detection using python

colordetection color detection using python In this color detection Python project, we are going to build an application through which you can automat

Ruchith Kumar 1 Nov 04, 2021
Neural search engine for AI papers

Papers search Neural search engine for ML papers. Demo Usage is simple: input an abstract, get the matching papers. The following demo also showcases

Giancarlo Fissore 44 Dec 24, 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 06, 2021
The project is an official implementation of our paper "3D Human Pose Estimation with Spatial and Temporal Transformers".

3D Human Pose Estimation with Spatial and Temporal Transformers This repo is the official implementation for 3D Human Pose Estimation with Spatial and

Ce Zheng 363 Dec 28, 2022