The goal of this hackathon is to create a project that will help the citizens of Wallonia. The project must be innovative and must be able to be implemented in the region.
The project is a web application using Azure Computer Vision API to detect unsafe situations in the city. The application will be able to detect if a person is in danger and will send an alert to the related services.
Head over there
- Java 17
- Gradle
- Azure Computer Vision API key
- AWS S3 bucket
- AWS IAM user with access to the S3 bucket
- AWS IAM user access key and secret key
- A video file
- Clone the repository
- Create a file named
application.properties
in thesrc/main/resources
folder - Add the following properties to the file:
azure.sub.key=YOUR_AZURE_COMPUTER_VISION_API_KEY
azure.endpoint=YOUR_AZURE_COMPUTER_VISION_API_ENDPOINT
aws.secret.ket=YOUR_AWS_SECRET_KEY
aws.access.key=YOUR_AWS_ACCESS_KEY
- Create a video directory at root of the project
- Add your video file to the video directory
- Run the application with
gradle bootRun
- Go to
http://localhost:8080
in your browser - Click on the
launch
button - Wait for the application to process the video