Boffins hunt and kill cockroaches with machine vision laser
- Reference: 1664992808
- News link: https://www.theregister.co.uk/2022/10/05/ai_laser_killing_cockroaches/
- Source link:
The rationale is that pesticides are bad for the environment – at least, that was the excuse they gave in the abstract.
Ildar Rakhmatulin, Mathieu Lihoreau and Jose Pueyo of Heriot-Watt University, University Paul Sabatier and the University of Sussex claimed "more effective and environmental friendly approaches are needed to counteract these damaging effects."
[1]
Therefore, lasers.
[2]
[3]
"Since a laser can be remotely directed to neutralize undesirable targets, this approach could be highly promising for controlling insect pests in a selective and ecofriendly fashion," they say in a paper titled [4]"Selective neutralization and deterring of cockroaches with laser automated by machine vision" [PDF] published in the Oriental Insects journal last month.
The team got their hands on an Nvidia Jetson Nano – a small but powerful computer that runs multiple neural networks in parallel for applications like image classification – and fed it a data set of 1,000 or so images of cockroaches.
[5]
AI training done, they needed to give the Roachinator machine vision to allow it to "see" via two 8MP Sony IMX219 camera modules for the Raspberry Pi. They also added a configurable laser – naturally – and a galvanometer rigged to change the laser's direction. The setup is elegantly explained with the figure below:
[6]
Click to enlarge
"The single-board computer Jetson Nano ... processes the digital signal from two cameras ... and determines the position of the target insect in the 3-D space. After calculations, the Jetson Nano transmits the analog signal in the 0-5V range to the board with an operational amplifier. This board converts the signal into a bipolar voltage (± 5V), which powers the boards with a motor driver for the galvanometer ... The galvanometer, with the help of mirrors, changes the direction of the laser to shoot the target."
[7]Someone's at last helping AI models understand those with speech disabilities
[8]Tesla has a lot of work to do on its Optimus robot
[9]Text-to-image models are so last month, text-to-video is here
[10]Europe just might make it easier for people to sue for damage caused by AI tech
The team said all parts were "generally available equipment" costing no more than $250 apiece. A bargain if you're really struggling with a roach infestation.
Python 3.7 was the language of choice for the algorithm, which works as follows:
[11]
Click to enlarge
German cockroaches ( Blattella germanica ) were the unfortunate subject of the experiment. Small groups from a batch of 150, male and female, were placed in a clear plastic box (8cm x 24cm x 6cm) with a shelter inside. When the insects hid beneath the shelter, the team found that a 100mW laser was sufficient to send them running – handy if you want to keep the pests out of a certain place.
When it came to neutralization, however, it was found that a 1.6W laser was more effective than a 300mW laser because the roaches ran faster from the lower power setting. "This speed increment in the lower laser group is because to neutralize the individuals generally the laser needs to shoot the target continuously for about 2-3 seconds ... and at this lower laser power, cockroaches do not die instantly, but instead moved quickly outside the laser beam," the team wrote.
Images of crispy cockroaches are included in the paper.
Though the researchers do not intend to commercialize the Roachinator, the training data can be found on [12]Kaggle and the computery bits on [13]GitHub . Proceed with caution.
[14]
Just think of all the potential applications. You could replace the training data for another target, maybe build the device into something like [15]Elon Musk's Optimus , wait for [16]AI to reach sentience , and... Hang on, that sounds like a movie plot and it did not end well. As you were. ®
Get our [17]Tech Resources
[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2Yz3@fbF9HCI6nMUidFjfcQAAAJM&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Yz3@fbF9HCI6nMUidFjfcQAAAJM&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Yz3@fbF9HCI6nMUidFjfcQAAAJM&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[4] https://www.tandfonline.com/doi/pdf/10.1080/00305316.2022.2121777?needAccess=true
[5] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44Yz3@fbF9HCI6nMUidFjfcQAAAJM&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[6] https://regmedia.co.uk/2022/10/05/roachinator.jpg
[7] https://www.theregister.com/2022/10/04/ai_language_recognition_disabled/
[8] https://www.theregister.com/2022/10/03/tesla_optimus_prototype/
[9] https://www.theregister.com/2022/10/01/ai_in_brief/
[10] https://www.theregister.com/2022/09/29/european_commission_ai_liability/
[11] https://regmedia.co.uk/2022/10/05/roachinatoralgo.jpg
[12] https://www.kaggle.com/datasets/ildaron/tracking-a-cockroach-at-home
[13] https://github.com/Ildaron/Laser_control
[14] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_offbeat/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33Yz3@fbF9HCI6nMUidFjfcQAAAJM&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[15] https://www.theregister.com/2022/10/03/tesla_optimus_prototype/
[16] https://www.theregister.com/2022/07/23/in_brief_ai/
[17] https://whitepapers.theregister.com/
I smell an Ig Nobel
But does it make a "Pew Pew" sound?
I'm not sure how practical it is. If the cockroaches just run away they can come back again.
How many hours of lasering will it take? Plus will it "neutralize" their eggs?
"more effective and environmental friendly approaches are needed"
I know of a much more effective and environmentally friendly approach. Far, far cheaper, too. And doesn't require electricity. Non-toxic to humans and other animals (keep it away from your bees, pet tranatula, friendly neighborhood scorpions, and ant farm).
Simply dust the affected area with DE.
About $20/10lbs at your local farm store.
Re: "more effective and environmental friendly approaches are needed"
DE = Diatomaceous Earth?
Re: "more effective and environmental friendly approaches are needed"
Yep.
One day it's boffins in a lab zapping bugs
The next day it'll be the bugs in your program that start zapping you.
This is how Daleks start.
I find myself thinking, hmmm, works on cockroaches, it should work on brexiters
(body)
You wait till evolution kicks in...
Oh, I dunno, maybe cockroaches develop mirrors on their bodies so that anyone shining a laser at them gets zapped.
I will leave you with this...
Warning: contains upsetting scenes
https://www.youtube.com/watch?v=qOOy01icc40
Re: You wait till evolution kicks in...
Then we change the frequency of the laser.
Simples.
Bastards
Typical humans tormenting my bretheren merely to make money.
One day humanity will pay for this along with turning my fellow cockroaches into cyborgs (as detailed on el-reg a few weeks back)
We will rise and then you wont be laughing as we take over your petty little world.
Re: Bastards
You lot ain't taking over.
The Tardigrades took over about a hundred million years ago, and they ain't lettin' go.
Maybe let's wait for the perfection of the lower powered mosquito laser?
This 'roach laser sounds as if it could do severe damage to humans. Let's start with something lower powered that maybe only lightly scars the owner's retinas?