AETrapp Image Processing Service
10K+
This project is part of AeTrapp - a collaborative effort designed for community engagement in monitoring population of Aedes aegypti mosquitoes, which is a known vector of several diseases including dengue, Zika, chikungunya and urban yellow fever. The idea behind this initiative is to provide an easy-to-use mobile app as a tool for getting instructions to create your own traps, capture samples containing eggs of Aedes, share them to the community and to acquire informations about its incidence in a region shared by other users.
Check our contributing guide and feel free to open issues.
This repository contains source code for image processing tasks applied to automatic detection and counting of eggs of Aedes aegypti. The activity chart below shows a summary of its operation.

Link for download: https://drive.google.com/open?id=15YtFv4kor01GsTeiZGsP3Wi8au78udQm
Node.js 8+ and Docker are required. Clone this repository locally and download the model:
git clone <repository_url>
cd <repository_path>
./download-model.sh
Build and start the server with Docker:
docker-compose up
Then, access the dashboard at http://localhost:3131/agenda. To create your first job, make a POST request to /agenda/api/jobs/create like in the following example. You can change "imageUrl" value to any image available:
curl -H "Content-Type: application/json" -X POST -d \
'{
"jobName": "process image",
"jobSchedule": "now",
"jobData": {
"image": {
"url": "https://github.com/aetrapp/image-processing-service/raw/master/samples/06.4SEM.CENC.INTRA.SONY.jpg"
}
}
}' http://localhost:3131/agenda/api/jobs/create
If you need shell access to the server, get your container name with docker ps and run:
docker exec -i -t <imageprocessingservice_container_name> /bin/bash
AeTrapp's main API server checks every five minutes the current version of the Image Processing Server, and will perform re-analysis of samples if a new version is found. To start this process:
ipsVersion value in package.json and commit:{
"name": "image-processing-service",
"version": "0.0.1",
"ipsVersion": "1.4.0", <- CHANGE THIS LINE
"description": "Aetrapp Image Processing Service",
...
This will start automatically the processes of sample re-analysis by the API server.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Special thanks to:
João Herrera 💬 👀 📖 💻 | Vitor George 💬 👀 📖 💻 | Miguel Peixe 💻 | Caio Sheidegger 🐛 | Oda Scatolini 🤔 📋 📖 🐛 |
|---|
This project follows the all-contributors specification.
Content type
Image
Digest
Size
1.1 GB
Last updated
over 8 years ago
docker pull miguelpeixe/aetrapp-ips