Skip to content

An heuristic toolbox for spying* intertidal crabs in their environment; built in Python. In continuous development. * Furtively collect information about crabs biology and ecology

License

CexyNature/Crabspy

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 

DOI License: GPL v3 GitHub Fork: GitHub Start: Twitter

CrabSpy

An heuristic toolbox for spying* intertidal crabs in their environment; built in Python. In continuous development.

* Furtively collect information about crabs functional biology and ecology: species identity, movement patterns, change in coloration, feeding rates, bioturbation, and more.

"Until comparatively recently, ecologists were content to describe how nature “looks” (sometimes by means of fantastic terms!) and to speculate on what she might have looked like in the past or may look like in the future. Now, an equal emphasis is being placed on what nature ‘does’, and rightly so, because the changing face of nature can never be understood unless her metabolism is also studied. This change in approach brings the small organisms into perspective with the large, and encourages the use of experimental methods to supplement the analytic. It is evident that so long as a purely descriptive viewpoint is maintained, there is very little in common between such structurally diverse organisms as sperma-tophytes, vertebrates and bacteria. In real life, however, all these are intimately linked functionally in ecological systems, according to well-defined laws. Thus the only kind of general ecology is that which I call a ‘functional ecology’..."

-- Eugene P. Odum
    Fundamentals of Ecology, 1957

Content:

Overview

Crabspy is proposing an alternative workflow to collect biological and ecological data from intertidal crabs using computer vision and learning. Crabspy aims to provide a toolbox which can accelerate and improve information collection, enabling rapid and actionable scientific and policy response by means of a faster data streamline.

Why CrabSpy and similar initiatives are important?

Traditional methods to collect data on the ecology of crabs and their role within ecosystems are often time consuming, invasive and can alter the natural habitat of the study site. The development of new technologies therefore presents an ideal opportunity to innovate and improve on traditional techniques to scale up data collection to the levels required. Furthermore, many species are disappearing before we can even catalogue them or describe them. Thus, natural scientists are faced with challenge of needing to rapidly increase their efforts to gather reliable species and ecosystem information at broader spatial and temporal scales. Crabspy seeks to ease some of these challenges by incorporating automation on data collection.

Introduction

Crabspy was created to enable scientist to create their own image databases and train their own detection and classification models. Thus, most routines in Crabspy use simple off-the-shelf algorithms to extract data (e.g. OpenCV tracking methods). Manual methods are also included for those situations where simple algorithms are not successful.

Crabspy was originally developed to track intertidal crabs in soft sediments. However, other functions have been included such as counting feeding events, extracting individuals' colors, measuring and counting burrows, and more. Some of these routines require training machine learning algorithms.

Crabspy also includes some utilities for organizing information associated to videos, and a workflow for extracting frames from videos and running 3D reconstructions using the popular VisualSFM program.

Requirements

Crabspy requires Python >= 3.5. Full list of dependencies can be found in the requirements file

Installation

  1. Create virtual environment
  2. Clone or Download project
  3. Navigate inside project
  4. Run
python setup.py install

Work in Progress (yet not working as expected)

  • correct_hc.py
  • fast_track.py
  • draw_track.py
  • manual_tracking.py
  • scoop_feed.py
  • scoop_feed_v1.py
  • snaps_dict.py
  • svm_hog.py
  • test.py

How to collaborate

We would like to see this code used by other researchers, professionals and nature enthusiasts. Please do not hesitate to share your friendly feedback, create issues, suggest features, and create pull requests. We are also keen in receiving bugs reports and fiddler crab images.

Information about submitting pull request can be found in this article.

Acknowledgement

Organizations which made possible this project by funding or allocating other sources (computing, expertise) to C. Herrera

James Cook University Estuary and Coastal Wetland Ecosystems Science Integrated Coastal Ecosystem Management
Holsworth Wildlife Research Endowment Holsworth Wildlife Research Endowment
The National eResearch Collaboration Tools and Resources project The Queensland Cyber Infrastructure Foundation QRIScloud
JCU's Marine Data Technology Hub JCU's TropWATER

ASPP-APAC 2019

alt text alt text

About

An heuristic toolbox for spying* intertidal crabs in their environment; built in Python. In continuous development. * Furtively collect information about crabs biology and ecology

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages