Garden Pest Control with Machine Learning #SlugsSuck #DetectNet #MachineLearning #ArtificialIntelligence #DeepLearning #NVIDIA @hackaday

Photo from “FugSlucks™ 2019” by Tegwyn☠Twmffat on hackaday.io.

 

Gardening: welcome to a world of pests you never knew existed or previously ignored. Slugs are no exception but the story is different when your beautiful vegetables are decimated by these nocturnal noshers. Hackaday user Tegwyn☠Twmffat is well versed in the garden battle and decided to use machine learning to even the score. The high-level idea is to detect a slug in the garden and then ‘remove’ them with a ‘humane’ intervention.

Ai slug detection involves using a high end web cam to capture live video images of the crops or seed trays and streaming those images into a specialist computer, not much bigger than a Raspberry Pi, which then uses a pre-trained ‘model’ to identify slugs and draw a boundary box around each and every one of them. The boundary box is essentially a set of four coordinates which can then be exported to another system such as a high powered laser to kill the creatures as quickly and humanely as possible.

To start, thousands of images of slugs were captured (10,000+), cropped and edited and then used to train a deep neural network. Both the DetectNet object detection model from NVIDIA and the YoloV3 real-time object detection models were explored.  In the current iteration, the DetectNet model was trained on 10,000+ images for 13 hours on the AWS NVIDIA V100 GPU. The model is currently detecting slugs on leaves!! That said, it seems to identify the markings on the slug as opposed to the antenna or the slug’s body. Probably because slugs are basically amorphous blobs. If you’d like to keep tabs on this project you can follow Tegwyn☠Twmffat sluggish updates on hackaday.io.

The slugs are now house trained. 10605 images of slugs have created a fairly good slug detector…The training shows obvious convergence, even though testing in real life does not pick up on the overall shape of the slugs, but more readily on the patterns on their bodies. Training on AWS Nvidia V100 GPU took about 13 hours to reach 500 epochs.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.