Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eniompw/geminiocr

Gemini API for OCR
https://github.com/eniompw/geminiocr

gemini gemini-api gemini-pro-vision llm ocr vercel

Last synced: about 2 months ago
JSON representation

Gemini API for OCR

Awesome Lists containing this project

README

        

# Gemini OCR

Simple Demo of using the Gemini API for OCR

Based on:
* [Gemini API OCR Demo](https://github.com/eniompw/GeminiAPI/blob/main/dev/flask/app-ocr.py)
* [Gemini API](https://github.com/eniompw/GeminiAPI)
* [Gemini File API](https://github.com/google-gemini/cookbook/blob/main/quickstarts/File_API.ipynb)
* [Get API key](https://aistudio.google.com/app/apikey)

## Setup API Key Environment Variable
```
echo 'export GOOGLE_API_KEY=AI...' >> ~/.bashrc
source ~/.bashrc
```

## Install Requirements
` pip install -r requirements.txt `

## Run
` python app.py `