https://github.com/fcoagz/rate-reader-epv
pyDolarVenezuela API utilities, image processing (EnParaleloVzla) to extract currency exchange rates from specific platforms, validating content against expected patterns
https://github.com/fcoagz/rate-reader-epv
data finance json processing-images pydolarvenezuela
Last synced: 4 months ago
JSON representation
pyDolarVenezuela API utilities, image processing (EnParaleloVzla) to extract currency exchange rates from specific platforms, validating content against expected patterns
- Host: GitHub
- URL: https://github.com/fcoagz/rate-reader-epv
- Owner: fcoagz
- License: gpl-3.0
- Created: 2025-03-25T20:20:40.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T13:18:26.000Z (6 months ago)
- Last Synced: 2025-04-04T14:25:38.660Z (6 months ago)
- Topics: data, finance, json, processing-images, pydolarvenezuela
- Language: Python
- Homepage:
- Size: 3.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Rate Reader EnParaleloVzla


API de procesamiento de imágenes diseñada para la identificación y extracción automatizada de tasas de cambio del dólar paralelo en Venezuela, mediante técnicas de:
- Reconocimiento Óptico de Caracteres (OCR) con implementación del motor [Tesseract](https://github.com/tesseract-ocr/tesseract)
- AI con Gemini para validación y análisis contextual (opcional)### Ejecución con Docker
```bash
# Construir la imagen
docker build -t rate-reader-epv .# Ejecutar el contenedor
docker run -d -p 14924:14924 --name rate_reader rate-reader-epv
```## Endpoints
### `GET /api/docs`
### `POST /api/reader`
En este endpoint se envía una imagen de la tasa de cambio del dólar paralelo en Venezuela, y se obtiene la tasa de cambio en formato JSON.
#### Request
```json
{
"file": "bytes",
"type_img": "image-1|image-2|null"
}
```#### Response
```json
{
"content": [
{
"name": "@EnParaleloVzla3",
"price": 95.60
},
{
"name": "@Yadio_io",
"price": 92.5
},
...
]
}
```## Tipo de imágenes
### `image-1`
Es la imagen principal que refleja la tasa de cambio del dólar paralelo y sus fuentes.

### `image-2`
Es la imagen secundaria que refleja el precio de dolar BCV, Euro y Bitcoin.
