Apply for community grant: Academic project

#1
by aus10powell - opened

image.jpeg

image.png

MIT Fishery Counter

Our Ask

Currently our funding is almost zero due to the nature of university funding. Our major limitation is cloud resources to host training and processing. Any GPU services to run object detection models and process uploaded videos from our stakeholders would be of enormous benefit.

Contributors

  • Robert Vincent (MIT Research Advisor)
  • Austin Powell (Contributor)
  • Lydia Zuehsow (Contributor)
  • Blaine Gilbreth (Contributor)

Introduction

Introducing the MIT NOAA-sponsored project, a groundbreaking solution to automate the counting of River herring migrating into Massachusetts county fisheries. With the active involvement of the Nipmuc and Mashpee Wampanoag Tribe, our project aims to revolutionize fisheries population monitoring, ultimately preserving healthy oceans and sustaining the U.S. economy.

Currently, manual annotation of vast amounts of video and photographic data poses a significant challenge for fisheries management. Our innovative approach combines optical flow and background removal techniques to extract crucial information from the captured footage. By isolating moving parts and analyzing fish directionality, our software accurately identifies and counts River herring, addressing the inefficiency and potential inaccuracies caused by human error.

Our objectives encompass more than just counting fish. We aim to provide comprehensive insights, including identifying individual species, date and time stamps, summary statistics, and accuracy estimates. Moreover, we are developing user-friendly software that can be readily employed by fisheries managers, enabling them to run the program on their own video and obtain fish counts for the spawning run season.

Looking ahead, our project envisions real-time monitoring and counting capabilities in the field, allowing for weekly downloads and integration of additional monitoring sensors. Parameters such as temperature, current speed, light, and fish length and biomass measurements will further enhance the monitoring process. With our solution, fisheries managers can make informed decisions, conserve vital ecosystems, and ensure sustainable economic growth.

Join us in revolutionizing fisheries population monitoring, preserving marine biodiversity, and securing a prosperous future for both humans and aquatic life.

Here is a further introduction:

Fisheries populations have a large impact on the U.S. economy. Each year the U.S. fishing industry contributes 90 billion dollars and 1.5 million jobs to the U.S. economy. Each species may serve as a predator or prey for another. In this regard, fisheries populations are interconnected and dependent. While humans may depend on these populations as a source of sustenance (food, goods, etc.), humans can also negatively impact population growth. Barriers to migration, pollution, overfishing, and other forms of human-interference may impact spawning patterns of fisheries species. In 2014, 17% of U.S. fisheries were classified as overfished. Therefore, it is necessary to monitor these fisheries populations to determine when policy must be changed in efforts to maintain healthy oceans.

Many groups, including NOAA Fisheries, state agencies, as well as regional fisheries councils and local municipalities, deploy camera and video equipment to monitor fisheries populations. Large amounts of video and photographic data are gathered at timed intervals. However, not all photos contain aquatic life. Currently, employees at these agencies among others are responsible for manually annotating the gathered videos and photos; this means they identify and count the relevant aquatic specimens in the data. Not only is this an inefficient use of time and resources, but also it can lead to inaccurate results due to human error. NOAA Fisheries Management can make a significant improvement in time and resource use through automation of the annotation process.

Methods

A combination of optical flow and background removal is used in this analysis. These techniques are useful in extracting information from video, especially when movement is involved. To begin, OpenCV background removal is used to isolate moving parts of the image, such as the fish or variations in the water motion. A mask of these areas of the image is applied, so that the image is black and white. Morphological transformations are then applied to an image with the background removed, so that random isolated points are not included and the part representing the fish is expanded and connected. Contours describing regions where the mask is present are found and boxed. These bounding boxes are then analyzed for their size and location.

Separately, but on the same video feed, optical flow is used to find key points in the image and analyze their movement over time to determine fish directionality. In particular, Lucas-Canade optical flow is used, which looks at the movement of a few selected points. Points that are within the above-described bounding boxes are included in directionality analysis. This is done by averaging the movement of key points within a bounding box to determine a probable direction of the fish.

Through these two methods, a counter is implemented such that fish are tracked across the screen and added to the counter if they are moving right to left. There are various parameters that can be used modify the tracker for different input parameters, such as the number of frames it takes into account before a fish hits the center and whether we include fish where it does not find directionality data.

Objectives

  1. Identify fish as River Herring and Not River Herring (or by individual species)
  2. Count River Herring Only
  3. Count fish passing by in only one direction
  4. Date and time stamps
  5. Provide summary statistics output tables and figures
  6. Provide an estimate of identification and count accuracy
  7. Develop software that can be given to fisheries managers so that they can run the software on their own video and have the computer count and total fish for their spawning run season
  8. Develop real-time monitoring and counting in the field with weekly downloads
  9. Develop a user interface for non-computer programmers
  10. Include other monitoring sensor and output such as temperature, current speed, light, and measurements of fish length and biomass would be desirable as well.

Hello @aus10powell , we wanted to let you know that we've assigned a GPU to your space, and your GPU grant application has been approved. Congratulations! Please keep in mind that GPU grants are provided on a temporary basis and may be removed if usage is very low.

To learn more about GPUs in Spaces, please check out https://huggingface.co/docs/hub/spaces-gpus.
We look forward to seeing the innovative work you produce with this grant. If you have any questions or concerns, please let us know. Thank you for your interest in our platform!

Sign up or log in to comment