General purpose AI experiments. Use face detection to identify politics figure, automatic face priority crop, image caption and labelling.
This is an experiment to utilize Image AI & Machine Learning in content publishing platforms such as CMS (Content management systems), curation tools, front end applications or even in backen API.
=============================================
cd docker
docker-compose up -d
cd docker
pip install -r requirements.txt
cd ../scripts
python web-server.py
Visit http://localhost:5002.
curl 'http://localhost:5002/smart_crop?url=<YOUR_IMAGE_URL>'
curl 'http://localhost:5002/predict_image?url=<YOUR_IMAGE_URL>'
curl 'http://localhost:5002/predict_image_all?url=<YOUR_IMAGE_URL>'
curl 'http://localhost:5002/image_caption?url=<YOUR_IMAGE_URL>'
curl 'http://localhost:5002/image_caption?url=<YOUR_IMAGE_URL>'
curl 'http://localhost:5002/detect_person?url=<YOUR_IMAGE_URL>'
FULL CREDIT GOES TO EVERYONE INVOLVED IN ML/AI FIELD. WE WOULD BE IN STONE AGE WITHOUT THEIR DEDICATION AND HARD WORK.