Group

Autonomous Camera Traps for Insects / Feed

Camera trapping for insects is becoming a reality using advances in camera, AI, and autonomous systems technologies. This group discusses the latest advances, shares experiences, and offers a space for anyone interested in the technology, from beginners to experts.
discussion

DIY Noir Insect Camera Trap, solving the MIB paradox, looking for some advice.

Hello fellow Nerds, Geeks, and, well, engineers.I am developing a camera trap to register diurnal and nocturnal visitors to animal feces.*This is my challenge right now ->Lots...

8 0

Depends a bit on how much activity you expect and how long insects stay around on average, but similar to what has been suggested before, I'd consider not using a motion trigger, but instead taking pictures in regular interval.

Hello! The "MIB Paradox" is absolutely real, and PIR sensors are a dead end for insect detection due to their lack of thermal mass. However, falling back on a regular-interval time-lapse is a trap that will likely kill your battery and cost you the most interesting data.

Writing to an SD card is highly energy-intensive (causing current spikes often over 100mA). Doing this blindly every few minutes to save static pictures wastes a massive amount of power on empty frames. Worse, if a bug does show up, you only capture a single frozen moment and miss the entire temporal dynamic of its behavior.

Instead of a blind time-lapse, you can use your camera and a lightweight microcontroller (like an ESP32) as an Intelligent Optical Trigger. Here is how you can bypass the paradox:

  • The Low-FPS Radar: Configure your camera to capture images at a very low framerate (1 or 2 frames per second) and in low resolution.
  • The RAM Buffer: Do not write these interval images to your SD card. Keep them strictly ephemeral, stored only in the RAM.
  • The Binary Judge: Run a tiny, highly optimized machine learning model (TinyML) on that low-res frame to answer a single question: "Is there an insect?"
  • The Duty Cycle: If the frame is empty, the system discards the image and immediately drops into a fractional deep sleep for the remaining milliseconds of that second. The SD card is never powered on.
  • The Action Trigger: If the AI detects a target, the system wakes up entirely. It triggers your MOSFET to turn on the IR lights, switches the camera to a higher framerate, and begins writing the full video stream directly to the SD card.

This architecture gives you the best of both worlds. You get the energy efficiency of a motion trigger by treating disposable low-res frames as a "virtual PIR," and you only pay the heavy energy cost of lighting and SD card writing when there is guaranteed action to record.

 

Thanks Henri,

This sounds quite promising. So no Pi Zero at all, instead, I use Pico or ESP32. I am thinking about using the Seeed Studio XIAO ESP32S3 Sense with FOMO any thoughts on that?

Also, would it be an incredibly silly idea to just use one h264 webcam? Logitech?

I will follow your suggestion and let you know how it goes,Thanks a lot, bst

See full post
discussion

Mini AI Wildlife Monitor

Hi All!I've been working on various version of small AI edge compute devices that run object detection and Identification models for ecological monitoring!I've recently been...

28 14

Wow, what a great project.

This is a great project! Some comments:
RaspberryPI though accessible is not the best fit for video pipelines and AI workloads or off grid deployments:
- it lacks onboard ISP which means either software implemented ISP, distorted data or on camera non energy optimized ISP.
- it lacks any power management techniques, low power modes, etc.
- it runs from SDCard using the same one for OS, swap and data, any corruption can lead to full loss.
- it runs any AI/ML workload on CPU which is extremely non efficient and any addon accelerators such as Hailo8 add a lot to power consumption and heat dissipation representing more challenges.

The advantages are of course plenty of documentation, community and all kind of makers addons, hats, etc.

For something more realistic, real life suitable I would suggest using something based on SoC with integrated NPU such as Hailo 15, Renesas RZ/V, Synaptics SL1680, MediaTek Genio or even the I.MX8M Plus for very light AI/ML workload. All of these have variety of SBCs, kits or even standalone smart camera oriented designs available from different vendors.

Yes, there are quite a few SBCs that use SoCs with integrated NN acceleration. 
Except I think you are massively downplaying the advantages of the Raspberry Pi
"plenty of documentation, community and all kind of makers addons, hats, etc."
That is quite literally everything that makes the Raspberry Pi. 


I've played with plenty of SBCs that are cheaper and have better specs than the Raspi, but they are almost useless because of the lack of "documentation, community and all kind of makers addons, hats, etc."

For a purpose built product by a team of engineers (with a lot of time and money behind them) then these SoCs with inbuilt NN are likely the future of this for of edge Ai deployment. But unless someone develops a well supported and well documented, general purpose device that uses one of these SoCs, then the default will still be the RasPi.

See full post
discussion

From Scratch Tutorial on AI Object Detection

Earlier I had put out a call for help: Anyone wanna teach me to Yolo? (Offline) trying to figure out how to set up an offline machine learning system to train on our own custom...

13 11

We started getting frustrated with fiftyone, and are working with a friend to build really nice user friendly data labeler. We will share here when it is ready! Maybe that can help you out? 

 

I got frustrated with 51 because there were some weird bugs in terms of the user interaction that really started holding us back

Update: I am retraining with new Yolo26 and a bigger dataset we made. I made some improved scripts for 

  • Collecting training data into one vetted folder for you

and

  • running the actual training

that are both available here: https://github.com/Digital-Naturalism-Laboratories/Mothbox/tree/main/AI/training_scripts

 

they have features like generating thumbnails to double check all your work before you train on it and disabling or tweaking features depending on your memory configurations and such! enjoy!

See full post
discussion

Mothbox - Upcoming Features

Unfortunately we are currently out of funding, and even our amazing Fulbright Student @briannaljohns is looking like her funding will be cutoff as the US crumbles :(However that's...

5 3

@hikinghack that's a complete update!

A lot of compassion regarding the budget situation, especially knowing how great @briannaljohns is.

It’s great to see a clear plan for the hardware development! I hope you'll have nice outcomes from it! 

 

On the microcontroller approach for power gating the Pi — this is a well-proven pattern and worth doing even if the idle power is already low, because it also gives you a hardware watchdog for free.

The typical architecture is a small ultra-low-power MCU (STM32L0, SAMD21, or even an ATtiny) that stays awake in stop mode drawing a few microamps, handles the RTC wake-up schedule, and drives a P-channel MOSFET or load switch to cut power to the Pi entirely. When the Pi is done with its task, it signals the MCU via a GPIO line and the MCU cuts power and goes back to sleep. The key advantage over software sleep is that even a hung Pi gets cut off at the next scheduled cycle — no manual intervention needed in the field.

For the Mothbox use case where the Pi might sit idle for weeks, even 10mA idle current adds up to about 168mAh per week — enough to matter for a solar-charged system during a cloudy period. A properly gated system can get standby down to under 1mA including the MCU and RTC.

One practical note on the integrated PCB direction — if you're planning to integrate the MCU on the same board as the Pi interface, make sure to include a dedicated programming header (SWD for STM32, UPDI for modern ATtiny) so the MCU firmware can be updated in the field without disassembly. It's a small thing that saves a lot of frustration during deployment.

Happy to share more detail on the power switching circuit if useful.

See full post
discussion

Safe and Sound project report: Is Camtrap DP a suitable standard for (bio)acoustic data?

Dear WILDLABS community,We are pleased to share with you the publication of the Safe and Sound project report: Is Camtrap DP a suitable...

2 10

Your report on extending Camtrap DP to bioacoustics resonated with something we are just beginning to explore in Mindoro Island, Philippines.

We have ongoing camera trap deployments in interior forest habitats and are beginning to examine the acoustic layer embedded in those recordings, particularly for nocturnal species such as the Mindoro Boobook. The discussion around terminology and how datasets are structured feels especially relevant, though I am still trying to understand how frameworks like Camtrap DP would apply in practice to this kind of data.

It is encouraging to see this direction being shaped at the community level. I will be following this closely as we continue to learn and figure out how our own datasets might eventually align.

Thanks for this!  I've shared this post with the WildTrax (https://wildtrax.ca/) team and CanAvian (https://canavian.ca/) to investigate. We're exploring data standards as part of a recent initiative so this will be very helpful! @jeffcullis 

See full post
discussion

Mothbox firmware 5.2.0 update! + Call for user info!

Firmware release 5.2.0! (and version 4.18.0 for DIY with same features).In between Mothbox workshops, we managed to tackle some long standing features that we...

1 1

oh and one other fun update, we finally got https://www.mothbox.org!  It just redirects to the same documentation site as before, but it's much easier to type!

See full post
discussion

Camera trap or fixed-camera setups for insect guild monitoring at dung/carrion stations (Brazil)

Hi everyone,I’m a PhD student in tropical ecology based in Brazil, and I’m currently planning a field pilot that will use cameras to monitor invertebrate (insect) activity at...

7 1

@Hubertszcz maybe you have advice: "Minimum resolution or lens characteristics that are sufficient for guild-level classification" 

 

i don't really know what guild-level means.

 

@domvonmatter - do you have a photo or drawing example of what a carrion station would look like on the forest floor? like will the camera be on the ground? Will it be above the ground but looking down?

how big of an area does it need to image?

 

what data do you need to get out? Like behavior that might need full motion video but maybe lower visual resolution? or just identification that might need lower temporal resolution, but higher visual resolution

There aren’t that many close-focus trail cameras.  The only current model I’m aware of is the GardePro E8PCF.  It is fixed focus at 200mm (no zoom).  I have not used this camera, but know others who have.  It has a timelapse feature. One thing to check before buying is that the timelapse feature works at night.  The GP website has a picture that suggests this true, but I know (for example) that in Browning camera timelapse does not work at night.

[There are other options.  You can attach lenses from reading glasses to a standard focus trail camera to convert it to close focus.  I have developed firmware hacks for older Browning SpecOps and ReconForce cameras that allows the timelapse to work around the clock.  Alas, these hacks don’t work on the latest HP5-Ultra models, and retrofitting optics on a pile of cameras is probably not how you want to spend your time. I'd try the GP]

See full post
discussion

Mothbox March Updates

We just got back from ICTC in Peru! It was an amazing conference put together by the team at Wildlabs that was really engaging despite being HUGE! Congrats ICTC team!Manufacturing...

1
See full post
article

Join the 2026 #Tech4Wildlife Challenge! (Feb. 2-6)

For the 10th year in a row, we’re inviting the community to share photos and videos of how they’re engaging with technology for wildlife conservation. Participate to connect with the community, vote for your favorites,...

3 6

Best time of the year! 

This year am In for the @tech4Wildlife challenge

Any prize for the winners?
See full post
event

Edge AI for Conservation Workshop

Deploying Intelligence Where It Matters Most

2 8

Hi All, thanks so much to everyone who participated in the workshop and made it a success! We've uploaded the slides here: 

Thanks!

Jenna 

Hi All, thanks so much to everyone who participated in the workshop and made it a success! We've uploaded the slides here: 

Thanks!

Jenna 

See full post
discussion

Mothbox Open Hours - Thursday 1pm UTC-5 (+ More updates)

We met so many wonderful folks during our trip to the Entomological Society and other visits in the US! Here's some last updates of the year!Online Open Hours - Thursday...

2 3

Gearing up for May Moth Madness. 

@hikinghack Couldn't join the open hours as I am across the planet. Is there a recording somewhere ?

See full post
discussion

Testing Raspberry Pi cameras: Results

So, we (mainly @albags ) have done some tests to compare the camera we currently use in the AMI-trap with the range of cameras that are available for the Pi. I said in a thread...

10 1

Hey @kimhendrikse , thanks for all these details. I just caught up. I like your approach of supporting multiple object detectors and using the python websockets wrapper! Is your code available somewhere?

Yep, here:

Currently it only installs on older Jetsons as in the coming weeks I’ll finish the install code for current jetsons.


Technically speaking, if you were an IT specialist you could even make it work in wsl2 Ubuntu on windows, but I haven’t published instructions for that. If you were even more of a specialist you wouldn’t need wsl2 either. One day I’ll publish instructions for that once I’ve done it. Though it would be slow unless the windows machine had an NVidia GPU and you PyTorch work with it.

Have your findings/recommendations changed since 2023 on possible RPi cameras? 

Has there been experience trying to use the different cameras (particularly the Hawkeye) in hot climates? The Pi Camera 3 lasts only a few months here before the lens cover/filter becomes all milky.

And is it correct that the IMX519 and Hawkeye work for our purposes without additional lenses?

See full post
discussion

Insect cameras in The Inventory

So... WildLabs just launched the Inventory and there is a SERIOUS lack of insect cameras on there. So, a call out to this community to get that fixed!@Max_Sitt...

6 9

Hey there @JakeBurton , sorry, I did not see your message! 

Why don't you shoot me an email with some tentative availability to luca.pegoraro (at) wsl.ch, and we take it from there? 

 

Again sorry for the delay! 

Hi @JakeBurton , sorry it has been ages (!), but we are finally prototyping the first version of our hardware database! 

Now would be an excellent time to briefly chat and make sure we are aligning efforts 👍

Would you mind sending me a few options to meet in the next two weeks perhaps? If you prefer, feel free to get in touch via email: [email protected]
 We (@LucaPego, @qgeissmann, @Graham_Smith) are based in Europe, FYI. 

Looking forward to meet! 

All the best, 

Luca. 

Hi @LucaPego! Hope all is good with you. I'll take a look who in my team is free and what times could line up and drop you an email later this week with some options. Interested to learn more about your database.

See full post
discussion

AI TECH FOR CONSERVATION,

in the last 3 months we hosted allander hobbs, an under graduated student from the university of edinbrugh, UK .during his interactive section with the kids on study of...

2 1

Hi! Could you provide more information about the project so folks in the community can read more and give their input, views, and comments like you requested? Perhaps there is a webpage to learn more that you can share.

See full post
discussion

Mothbox Documentary [Wildlabs Award 2024)

Over the past months we have been putting together a video recapping last year's heaps of progress on the Mothbox fueled by funding from the Wildlabs Award 2024!We collected...

2 2

Hi there... we are looking at projects involving camera trapping for pollinators in a Critically Endangered ecosystem (renosterveld - near the southern tip of Africa). I cannot access these videos... I get an error message saying the site cannot be reached...? 

See full post