Skip to content

Commit

Permalink
Merge branch 'release-0.18.0' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
gernat committed Feb 5, 2024
2 parents b0d0bd9 + 1960321 commit 69fcc62
Show file tree
Hide file tree
Showing 23 changed files with 280 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Overview

bTools is a set of programs for identifying and tracking insects in images or videos with the help of a tiny matrix barcode, called bCode. It also contains software for detecting movement and, for honey bees, flight activity and the mouth-to-mouth exchange of liquid (trophallaxis).
bTools is a set of programs for identifying and tracking insects in images or videos with the help of a tiny matrix barcode, called bCode. It also contains software for detecting movement and, for honey bees, flight activity, the mouth-to-mouth exchange of liquid (trophallaxis), and worker egg-laying.

# Getting started

Expand All @@ -17,6 +17,7 @@ If you want to experiment with the code, please choose a branch and download or
`TrophallaxisDetector.java` - detects liquid food exchange among honey bees.
`MovementDetector.java` - detects bCode movement.
`FlightActivityDetector.java` - detects hive exits and returns.
`EggLayingDetector.java` - detects worker egg-laying.

# Documentation

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.18.0

- Adds worker egg-laying detector.

0.17.0

- Adds MJPEG support to bCode detector.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.deploy;

import java.awt.Graphics;
Expand Down Expand Up @@ -40,7 +59,7 @@ public class EggLayingDetector

private static void showVersionAndCopyright()
{
System.out.println("Worker egg-laying Detector (bTools) 0.17.0");
System.out.println("Worker egg-laying Detector (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.deploy;

import org.bytedeco.javacpp.tensorflow;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.geometry;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.geometry;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.geometry;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.geometry;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.geometry;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.io;

import edu.illinois.gernat.btools.behavior.egglaying.geometry.Point2d;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.io.write;

import java.awt.image.BufferedImage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.processing;

import java.awt.Graphics2D;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.processing;

import java.awt.Color;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.processing.roi;

import edu.illinois.gernat.btools.behavior.egglaying.geometry.Point2d;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.processing.roi;

import edu.illinois.gernat.btools.behavior.egglaying.geometry.Line2d;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (C) 2016, 2024 University of Illinois Board of Trustees.
*
* This file is part of bTools.
*
* bTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* bTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with bTools. If not, see http://www.gnu.org/licenses/.
*/

package edu.illinois.gernat.btools.behavior.egglaying.processing.roi;

import edu.illinois.gernat.btools.behavior.egglaying.geometry.ROI;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private static List<Feature> computeFeatures(String bCodeDetectionsFile, int fra

private static void showVersionAndCopyright()
{
System.out.println("Flight Activity Detector (bTools) 0.17.0");
System.out.println("Flight Activity Detector (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private static void detectMovement(String bCodeDetectionFile, String movementFil

private static void showVersionAndCopyright()
{
System.out.println("Movement detector (bTools) 0.17.0");
System.out.println("Movement detector (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public static List<Contact> predictContacts(List<Record> records, int distanceLa

private static void showVersionAndCopyright()
{
System.out.println("Trophallaxis Detector (bTools) 0.17.0");
System.out.println("Trophallaxis Detector (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static void toPlainText(String sourceFileName, String destinationFileNam

private static void showVersionAndCopyright()
{
System.out.println("Converter (bTools) 0.17.0");
System.out.println("Converter (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void index(String recordFileName, int eolByteCount) throws IOExcep

private static void showVersionAndCopyright()
{
System.out.println("Indexer (bTools) 0.17.0");
System.out.println("Indexer (bTools) 0.18.0");
System.out.println("Copyright (C) 2017-2024 University of Illinois Board of Trustees");
System.out.println("License AGPLv3+: GNU AGPL version 3 or later <http://www.gnu.org/licenses/>");
System.out.println("This is free software: you are free to change and redistribute it.");
Expand Down
Loading

0 comments on commit 69fcc62

Please sign in to comment.