element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Save The Bees Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Save The Bees Design Challenge
  • More
  • Cancel
Save The Bees Design Challenge
Blog BeeAInspector Blog #4
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Save The Bees Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: FollowTheWizard
  • Date Created: 22 Apr 2023 7:40 PM Date Created
  • Views 266 views
  • Likes 6 likes
  • Comments 0 comments
Related
Recommended

BeeAInspector Blog #4

FollowTheWizard
FollowTheWizard
22 Apr 2023
BeeAInspector Blog #4

Hi all, Wave

Welcome to our fourth blog entry for the Save the Bees Challenge. We have been busy getting up and running with the boards, which was really smooth and testing our first program for open/close reed detection. And we have to say, the first look at the data looks really encouraging (and we talk about their interpretation in the next blog!

Running the device:

The offline Ardunio IDE recognized the boards without any issues and needed drivers have been installed automatically.

MKR WAN 1310 Board:

image

Nicla Vision:

image

Also the IDE from the Nicla Vision was smooth, plug it in the PC and you see a drive with a README file. Go to website install IDE. Done, after firmware has been updated.

The only thing that threw me off was the icons to connect the board Slight smile, funny design

This one means board is not connected an can be connected:

image

And this one the board is connected Face palm,

i would have guesesd the other way arround Sweat smile

image

Yikes :) But we managed

First field test - taking sample images and videos:

After the initial setup, we went in the garden and finally found some action ongoing at the nest Slight smile
Yay,  spring is here and the newly adult bees are leaving the nest to find some food (pollen, nectar, water) and mate. They may then choose another nest further away, but if they find everything nearby, they likely come back to their reed or one nearby, and start the cleanup. Here is one video sample of the many images we took:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

The nest has two open extremes, and in the one with more shadow there was little bee activity, but still good enough to capture a sample of the video feed we want to analyze. In the other direction, the one with more sun, the bees were all hatching and leaving the nest or coming back to the nest.

Once done, we tried the blob detection to recoginze a bee, like in the example with the Appleand Banana.

But no chance, we were not able to extract a proper tuple dataset to recogize them.

The bees are very hard to distguish from the bambo reed background. Grimacing

image

Thus, blob detection is somehow out of the picture, but it still might be good enough to detect open and close reeds.

Our next shoot was to go with the Image Classification with Edge Impulse®

For that we had to upload a couple of pictures and videos to the platform and manual tell the system how an bee, open and closed reed looks like.

We teached more than 80 pictures to hopefully improve the recoginztion rate.

image

We were trying different models for the Neural Network Training.

The one with the best results was so far the FOMO MobileNetV2 0.35

image

Based on that result we should be able to detect open and closed reeds kind of reliable.

Also the inferencing time would be too high to detect all moving bees.

So with a bit of playing around with the parameter we got this time down to 394ms

image

We also tried theMobileNetV2 FPN Lite model but it seems that this one has a lower detection rate Disappointed

image

We are super excited with the first results.

In our next blog, we show the results of the first run and we interpret what they could mean in biological terms and for research in ecology.

We will skip the pseudo code and share the python code directly.

Stay tuned

Bye Wave

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube