Near-real time detection of derelict (ghost) crab pots with side-scan sonar.
GhostVision
is an open-source Python interface for automatically detecting and mapping ghost (derelict) crab pots from side-scan sonar imagery. GhostVision
leverages Yolo
models trained with Roboflow
. Detections are then georeferenced with PINGMapper
.
GhostVision
is optimized for running inference (predictions) on the GPU. The processing environment is installed with conda
. Any flavor of conda
will do, but we recommend Miniforge
. Follow the instructions below based on your OS.
Windows does not natively support inference on the GPU. A utility called WSL (Windows Subsystem for Linux) needs to be installed in order to run inference on the GPU.
- Install WSL (Windows Subsystem for Linux) &
- Open the command prompt by launching
Ubuntu
from the Windows Start menu.
- In a command prompt, download
Miniforge
with:wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
- Install
Miniforge
with:bash Miniforge3-$(uname)-$(uname -m).sh
- Install
PINGInstaller
:pip install pinginstaller
- Install
GhostVision
:python -m pinginstaller ghostvision-gpu
An experimental version of GhostVision
is available to test inference speeds on the CPU. This has been tested on Windows 11 only.
- Install
Miniforge
. - Open the
Miniforge
prompt. - Install
PINGInstaller
:pip install pinginstaller
- Install
GhostVision
.python -m pinginstaller ghostvision
- Open the appropriate command prompt based on your installation above.
- Launch
GhostVision
:conda activate ghostvision python -m ghostvision
- Select desired parameters and click
Submit
.
GhostVision
includes Roboflow
object detection models designed to detect crab pots from side-scan sonar imagery. You can train and use your own object detection model by downloading the model from Roboflow
with the included utility.
- Open the appropriate command prompt based on your installation above.
- Launch the Roboflow model download utility:
conda activate ghostvision python -m ghostvision rf-download
- Supply your Roboflow API Key.
- Enter the project name (all lowercase).
- Enter the project version.
The model will be downloaded and available to use.
GhostVision
has been made possible through mentorship, partnerships, financial support, open-source software, manuscripts, and documentation linked below.
NOTE: The contents of this repository are those of the author(s) and do not necessarily represent the views of the individuals and organizations specifically mentioned here.
Development Team: Cameron Bodine, Art Trembanis, Kleio Baxevani, Onur Bagoren, Olivia Hines, Jared Wierzbicki, Ophelia Christoph, Catherine Hughes, Julia Greco.