Machine learning and computer vision techniques for auroral video, passive FM radar, incoherent scatter radar and other geoscience data using collective behavior detection. The programs are OS/platform-agnostic.
Using raw ISR data:
python Detect.py ~/data/2013-05-01/isr -e .dt3.h5
python Detect.py ~/mydir -e avi
This will find all the .avi files in directory ~/mydir and play them back with analysis.
python Detect.py ~/mydir/myvideo.avi
python Detect.py ~/data/DMC2015-11/2015-11-15 -e .fits -p dmc.ini
- PNG figure plot of the number of auroral detections per video frame sampled
- HDF5 file of the data in the PNG plot (so that you can use another program to extract the GB of interesting data from TB file
This program reads any video format available to OpenCV cv2.VideoCapture() and imageio.imread() -- essentially anything FFmpeg can read, such as most AVI, MPG, MOV, OGV, etc. depending on how your particular OpenCV was compiled. The program also reads our multi-terabyte .DMCdata video files in a proprietary binary format from the HiST project.
It is usually straightforward to adapt the program to ingest NetCDF, HDF5 and many other formats.
python -m pip install -e .
If you don't have OpenCV:
python -m pip install -e .[opencv]