# FastAPI-YoLO Docker container to produce object recognition in images. Works as website and curl API ## How To Use To use image recognition you can either do so through webpage or through direct HTTP requests using either CURL or scripts ### Webpage To use the this on the web first make sure you are connected to the dsv-extrality-lab Wi-Fi. Then access the webpage through http://10.204.0.244:8003/ and upload a photo of your choosing. ### Direct HTTP requests To use this through direct http requests you can use curl commands or scripting in any language. When using direct HTTP make sure to access the correct endpoint specifically `http://10.204.0.244:8003/detect-curl/`. There is a python script provided - `./test_images/docker_image_test.py` To test the CURL command enter `test_images` folder and execute the following command in your terminal ```bash curl -X POST 'http://10.204.0.244:8003/detect-curl/person' -H 'accept: application/json' -F 'image=@./test_images/test_image1_bus_people.jpg;type=image/JPEG' ```