Skip to content

Running agricultural analysis (AI spectral reconstruction) and data collection on a Raspberry Pi 4B on the edge deployed at 3km altitude.

Notifications You must be signed in to change notification settings

ULAS-HiPR/AgriSat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgriSat

This project is the operations for data processing and analysis of satellite images for agriculture from a CanSat running a Raspberry Pi at the edge. For parallelism we use child processes via sensor clients and using handlers for logging, persistence and data processing.

Installation

git clone https://github.com/ULAS-HiPR/AgriSat.git
cd AgriSat

# Install dependencies
pip install -r requirements.txt

Usage

python main.py

Testing

coverage run --source=clients,handlers  --branch -m unittest discover -s tests
coverage report --format markdown
Name Stmts Miss Branch BrPart Cover
clients/AltimeterClient.py 18 18 0 0 0%
clients/BaseClient.py 16 16 6 0 0%
clients/CameraClient.py 18 18 0 0 0%
clients/GpsClient.py 19 19 2 0 0%
clients/LoraClient.py 14 14 0 0 0%
clients/NetClient.py 9 9 0 0 0%
handlers/CSVHandler.py 12 0 6 0 100%
handlers/LogHandler.py 29 0 2 1 97%
handlers/__init__.py 0 0 0 0 100%
TOTAL 135 94 16 1 32%

About

Running agricultural analysis (AI spectral reconstruction) and data collection on a Raspberry Pi 4B on the edge deployed at 3km altitude.

Resources

Stars

Watchers

Forks