Aplicación de múltiples técnicas y transformación en imágenes para su optimización.
sudo apt install python3
sudo apt install python-pip
sudo pip install virtualenv
sudo apt install python3-dev
sudo apt install tesseract-ocr
sudo apt install tesseract-spa
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
Endpoint | Parameters | Method | Response | Description |
---|---|---|---|---|
/ | GET | Api root | ||
/upload | POST |
|
Upload new image | |
/processing/{image} | GET |
|
Get trasnformations of image by id | |
/pipelines/{image} |
|
POST |
|
Get pipelines of image by id |
/pipeline/{image} |
|
POST |
|
Get specific pipeline of image by id |
/ocr/{image} |
|
POST |
|
Get comparative ocr of all pipelines of image by id |
/steps/{pipeline} | GET |
|
Get steps of pipeline by id | |
/ocr-steps/{original}/{folder} | GET |
|
Get text of each step of pipeline by folder id | |
/ocr-individual/{pipeline} | GET |
|
Get text of pipeline by id |