Api simples de OCR feita com Fastify e Tesseract.js

Overview

ocr-api

API de OCR simples feita com Fastify e Tesseract.js

Iniciando

Depois de instalar as depedências, simplesmente inicia com npm run start.

Nota: Você deve instalar o Esrun antes disso. npm install @digitak/esrun

Como alterar a porta?

Basta alterar a variavel de ambiente PORT (se não tiver ela, a porta padrão será 3030).

Como fazer as requests

Basta fazer um POST para a rota principal, enviando um multipart/form-data, pode ser até 4 imagens.

Nota

O Tesseract é muito antigo e lerdo, então não espere respostas rápidas da API.

You might also like...

🚀 Blazing Fast S3 Powered CDN ✨ Powered By Fastify, S3 Buckets & Docker!

🚀 WasiCDN Blazing Fast S3 Powered CDN, Powered By Fastify, S3 Compatible Buckets & Docker! Core DockerHub: https://hub.docker.com/r/maximking19/wasic

Aug 31, 2022

NextAuth.js plugin for Fastify.

fastify-next-auth Authentication plugin for Fastify, powered by NextAuth.js. Requirements: fastify-cookie: used to set cookie for tracking sessions. f

Dec 16, 2022

End-to-End type safety for REST APIs written in Fastify. Only problem is you have to explicity export and register route handlers. LOL

Chino intelligence in japaneese End-to-End type safety for REST APIs written in Fastify. Only problem is you have to explicity export and register rou

Sep 12, 2022

A Weather API project inspired by The Ultimate API Challenge / Weather API.

Weather API Project A Weather API project inspired by The Ultimate API Challenge / Weather API. Tech Stack: React.js Tailwind Axios Inspiration The Pr

Dec 29, 2021

This project is built with JavaScript, Webpack, HTML & CSS, Leaderboard api. When user clicks on Refresh button it hits the api and responds with the data, The user can also post data to the api

This project is built with JavaScript, Webpack, HTML & CSS, Leaderboard api. When user clicks on Refresh button it hits the api and responds with the data, The user can also post data to the api

leaderboad Description the project. this project is about the leaderboad i did during Microverse to build a website for adding Data to the API and fet

May 30, 2022

Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services.

Tidbyt Client for Node.js Unofficial API client for the Tidbyt API. Use this client to control Tidbyt devices and integrate with other services. Insta

Dec 17, 2022

Webb-tracker-api - James Webb Space Telescope (JWST) tracking REST API

Webb-tracker-api - James Webb Space Telescope (JWST) tracking REST API

James Webb Telescope tracking REST API Public REST API to track JWST's current status API data source: https://www.jwst.nasa.gov/content/webbLaunch/wh

Nov 22, 2022

To-do-expressJS-api - An ExpressJS API, where you can create your own To-Do's

To-do-expressJS-api - An ExpressJS API, where you can create your own To-Do's

ExpressJS to-do API What is this API about? This is an API where you can do the following: Log in. Sign up. Create task Read Task Update Task Delete T

Jan 3, 2022

Base-mock-api - Repo to storage my fake api's to use in my 2022 projects.

Base Mock API's Project made 100% with JavaScript, with the objective of creating endpoints to use in projects. Prerequisites Before you begin, ensure

Nov 20, 2022
Owner
Victor Reis David
Apenas um Jovem que se interessou em programação.
Victor Reis David
O NLW Esports foi desenvolvido durante a semana da NLW feita pela Rocketseat 🚀

Plataforma para encontrar e conectar jogadores para fazerem aquele duozinho maneiro no seu jogo preferido ✅ Demostração ?? Sobre o projeto O projeto f

Alan Mauro Franco 7 Nov 28, 2022
Página da Web que tem uma calculadora simples utilizando CSS Grid, JavaScript e HTML

Calculadora-Oline Calculadora exibida online via HTML e CSS, com foco no CSS Grid. Utilizei quatro (sub)grids dentro de uma principal, a qual engloba

João Vitor Esposte Campos 3 Nov 21, 2022
Uma simples linguagem de programação implementada em JavaScript.

[Projeto descontinuado] Vou estudar alguns conceitos muito importantes que aprendi ao implementar essa linguagem e, possivelmente, vou criar uma lingu

Erick Augusto 5 Aug 17, 2022
É um Dropdown simples desenvolvido a partir de Sass e jQuery.

Dropdown É um Dropdown simples construído com Sass e jQuery. ?? Conteúdo São necessários somente os arquivos com estilos e scripts para habilitar o Dr

Marcelo Tomazelli 3 Sep 27, 2021
Uma opção simples baseada na biblioteca exceljs para criar planilhas.

NODE-SHEET A simple option based on the exceljs library to create spreadsheets. Disclaimer The project is under development and is not fit to be used

Pedro Henrique 5 Oct 11, 2022
Um date time simples com frases do nosso Deus toguro 📅

toguro-datetime Um date time simples com frases do nosso Deus toguro ?? Como utilizar o pacote ? ?? Instale o pacote ?? npm -i toguro-datetime | ya

Paulo Henrique 7 Oct 23, 2022
API server for AospExtended made with Fastify.

AospExtended API API server for AospExtended made with Fastify. Run Locally Clone the project git clone https://github.com/allstargaurav/aospextende

Gaurav 3 Oct 12, 2022
🔥 Blazing Fast API which scrapes Mydramalist.com made using Fastify and Cheerio.

mydramalist API ?? Blazing Fast API which scrapes Mydramalist.com made using Fastify and Cheerio. Setup pnpm install node index.js available at http:/

Paranjay Singh 6 Dec 4, 2022
Ergonomic, chaining-based Typescript framework for quick API development for Fastify

Ergonomic, chaining-based Typescript framework for quick API development for Fastify Installation > pnpm add @t3ned/channel Usage // index.ts import

T3NED 6 Aug 2, 2022
Run REST APIs in Node.js applications frameworks (Express, Koa, Hapi and Fastify) on top of any Serverless Cloud.

?? Serverless Adapter Install | Usage | Support | Architecture | Credits Run REST APIs and other web applications using your existing Node.js applicat

Vinicius Lourenço 45 Jan 1, 2023