Skip to content

Aplicación de múltiples técnicas y transformación en imágenes para su optimización.

Notifications You must be signed in to change notification settings

larry852/image-optimization-pipeline

Repository files navigation

image-optimization-pipeline

Aplicación de múltiples técnicas y transformación en imágenes para su optimización.

Deployment

Requirements

phyton 3

sudo apt install python3

python-pip

sudo apt install python-pip

virtualenv

sudo pip install virtualenv

python3-dev

sudo apt install python3-dev

tesseract-ocr

sudo apt install tesseract-ocr

tesseract-spa

sudo apt install tesseract-spa

Run

git clone https://github.com/larry852/image-optimization-pipeline
cd image-optimization-pipeline
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt

# Run app http://localhost:3000/
python app.py
# Run api http://localhost:8000/
python api.py

API endpoints

Endpoint Parameters Method Response Description
/ GET Api root
/upload POST
  • success
  • id
Upload new image
/processing/{image} GET
  • success
  • original
  • transformations
Get trasnformations of image by id
/pipelines/{image}
  • list_transformations
POST
  • success
  • original
  • pipelines
Get pipelines of image by id
/pipeline/{image}
  • steps
POST
  • success
  • original
  • pipeline
Get specific pipeline of image by id
/ocr/{image}
  • text
POST
  • success
  • results
Get comparative ocr of all pipelines of image by id
/steps/{pipeline} GET
  • success
  • steps
Get steps of pipeline by id
/ocr-steps/{original}/{folder} GET
  • success
  • results
Get text of each step of pipeline by folder id
/ocr-individual/{pipeline} GET
  • success
  • results
Get text of pipeline by id

About

Aplicación de múltiples técnicas y transformación en imágenes para su optimización.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published