Skip to content

Crall-Lab/BumbleBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The BumbleBox: an open-source platform for collecting and quantifying behavior in bumblebees

MastersFigure1final_lowres

bumblebox-example-for-github.mp4
average-distance-example-for-github.mp4

About the BumbleBox

The BumbleBox is an open-source system for automated tracking and behavioral quantification of individual bumblebees that can be built using low-cost consumer components and DIY fabrication (i.e., 3D-printing and laser-cutting). Here we provide an integrated pipeline for data collection and analysis, including nest arena design, software for automated collection of video data, and the quantification of individual behavior. The BumbleBox system is designed to be (a) accessible, requiring no prior experience with programming or hardware design to operate; (b) scalable, allowing long-term, automated tracking across many units in parallel at low-cost; and (c) modular, allowing for flexible adoption to unique applications in bumblebees and other systems.

For more information and detail, see the BumbleBox preprint available here

Animations of BumbleBox construction

Youtube link to the animations playlist here

BumbleBox Construction Instructions

See building instructions in a google document here

BumbleBox Tag Printing Instructions

See tag printing instructions in a google document here

Software Installation and Setup

See instruction videos here The below steps 1-4 are walked through in the video tutorials

Raspberry Pi Install


Installed using the following hardware:

  • Rasbperry Pi 4b, 8GB RAM
  • 32GB SanDisk Ultra SD card
  • Monitor with HDMI
  • HDMI to micro-HDMI cable

  1. Download Debian Bookworm 64-bit OS onto your SD card using a computer with the Raspberry Pi Imager application (Download the application here: https://www.raspberrypi.com/software/)

  2. Put the SD card into the Pi's SD card slot, hook the Pi up to a monitor via a micro-HDMI to HDMI cable, and power the Pi on - you should see the operating system load on the screen

  3. You will need to create a username and password for the Raspberry Pi - IMPORTANT: use 'pi' for the username, and some password you'll remember

  4. Change your computer hostname to " bumblebox-XX " ex. " bumblebox-01 " or " bumblebox-11 " if you don't know how to do this on the Raspberry Pi, see this video

  5. Open a terminal window (look for a button on the top left of the screen that looks like a black box with a blue top and white text inside it showing '>_')

  6. We're now going to install the required software to use the BumbleBox code. For each of the following commands, type the command (or copy and paste) into the terminal window, and then press enter. Once you enter the command, the computer may take some time to download the required software, and will show a lot of text on the screen. Wait for each command to finish running before attempting to run the next command.



pip3 install opencv-contrib-python --break-system-packages
pip3 install pandas --break-system-packages
pip3 install scipy --break-system-packages
pip3 install python-crontab --break-system-packages
pip3 install scikit-video --break-system-packages
pip3 install dask --break-system-packages

Amazing! You have now downloaded all the necessary packages to run the BumbleBox on the Raspberry Pi.

6. Next, download the BumbleBox code onto your Raspberry Pi. To download the code, click the green 'Code' button on the main BumbleBox page and then press the 'Download Zip' button. After downloading the folder onto the Pi and unzipping it, you might want to put the folder onto the Pi's Desktop so you can access it easily.

download-zip-example-github



Install labelling software (on a separate computer, not the Raspberry Pi - install instructions tested for Mac and Linux computers so far) - this is included in the software and setup section, but this will only be used after data is collected, so it does not need to be completed prior to using the BumbleBox.

The BumbleBox generates nest images daily that can be labelled in order to track different nest components, which can be useful for a variety of interesting research questions. To do this, we need to install the BumbleBox code and the labelling software we will use on a separate computer.

  1. Install BumbleBox code onto your computer, in the same manner as above

  2. Open a terminal window on your computer (try typing 'terminal' into your computer search bar to find it, or go to your applications page and search for the terminal app)

  3. Type the following command to create what is called a virtual environment, which basically creates an isolated place on your computer to download software so that it won't potentially cause conflicts with other software on your computer. The virtual environment we're creating is called labelme, because we will be downloading software called labelme.

python3 -m venv labelme
  1. Now we have to 'go into' the virtual environment that we've created, using this command:
source labelme/bin/activate

Your terminal should now look something like this:

virtual-env-tutorial-pic

Now we're ready to install labelme! Run the following command in the same terminal window after entering the virtual environment:

pip3 install labelme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •