Skip to content

DApIA-Project/DApIA-DetectionAPI

Repository files navigation

DetectionAPI Unit Tests workflow DetectionAPI Publish Docker Image workflow

DApIA Detection API

Overview

This server is an API detecting anomalies in a ADS-B message stream.

Requirements

Generate API

docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli:v7.0.1 generate -i /local/dapia-detection-api.yaml -g python-flask -o /local --package-name dapia_detection_api

Windows

The command above must be carried out in a Windows Powershell

Linux

Not yet tested

File Paths Over 260 Characters and manually install tensorflow

If you have a Windows Home edition, you will have to edit the Windows Registry to remove the 260 Character Path Limit and you have to manually install tensorflow. A solution to this problem was found in this GitHub solution : tensorflow/tensorflow#46934 (comment)

Install dependencies

poetry install

Run with Poetry

To run the server, please execute the following from the root directory:

poetry run python -m dapia_detection_api

Run with Docker

To run the server on a Docker container, please execute the following :

Build the image and start up a container:

docker run -p 3033:3033 dapiaproject/detection-api:0.4

Use API

You can visualize specification of DApIA Detection API at the following URLs:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors