jefferson.sarmiento / worm pick assistant Public

worm pick assistant

Object detection

About this project

worm-pick-assistant

Real-time C. elegans motion tracking and pick-tool angle estimation using embedded machine learning. Designed for microscopy workflows and automated worm handling on Raspberry Pi with Edge Impulse.

Introduction

In many research laboratories one of the most essential items, beyond microscopes and imaging equipment, is the set of manual tools used to manipulate biological samples. In the case of C. elegans worms, the pick tool used to transfer specimens from plate to plate is often handmade, highly customized, and adapted to each researcher’s personal technique.

The goal of this project is to assist both the detection and handling of these specimens through an AI-driven system capable of tracking the worms, recognizing the user’s pick-tool shape and providing the best orientation of the tool beside the selected specimen. The system provides real-time visual guidance that improves accuracy and speed while minimizing the risk of wounds to the specimens, thereby enhancing reproducibility when manipulating worms on culture plates.

Project overview.

image1.png

For this case, the pick tool is a 0.3 mm diameter platinum wire. The tip was pressed with pliers to form a flat end. Other possible tip configurations include a semi-loop and other variations of these shapes created by bending the wire.

The single-wire flat tip has the disadvantage of having a small contact area, making it more difficult to overcome the surface tension of the medium in the plate compared to the semi-loop shape. Nevertheless, the flat tip has the advantage of carrying less material and reducing the probability of causing wounds to the specimens and allowing the specimen to more easily separate from the pick when it is released, the common technic requires a downward pressure with a forward stroke. That motion slightly squeezed the specimen and immersed them into the medium mass.

Determination of the motion phases

pick_angles.png

For acquiring the dataset images, the different positions had to be created by hand-made motions, and the dataset includes only the positions from the lifting phase corresponding to successful trials. The pick tool has two principal rotational degrees of freedom. The tip of the pick tool needs to remain within the camera’s depth of field that at high magnification has less deep of field, while the rest of the pick body appears out of focus at higher angles due to the magnification required to visualize the worms. This must be considered in the vision model.

For acquiring the dataset images with the best position of the pick beside the worm the system was mounted in manual optic rotation mounts

Basic mechanic setup

For acquiring the dataset images with the best position of the pick beside the worm the system was mounted in manual optic rotation mounts.

M_system1.png

Hardware requirements • Raspberry Pi 5

• Camera o Raspberry Pi Camera Module v2/v3 or o USB microscope (recommended for plate work) • Lighting o LED ring or bottom-illumination o Diffuser sheet for even lighting • Pick o 50 mm of Platinum wire 0.3mm Diameter o 30 mm x 3mm Dia. Shaft: supporting the platinum wire and allow the rotation motion of the pick.

• Optional o Motorized XYZ stage o 3D-printed tool holder

Project Repository

worm-pick-assistant

26.11.2025.14
vlc-record-2025-11-24-20h19m00s-video62_h264-_mp4-0002_jpg.rf.d7fe819673db1af6a918bab3f96b11e7
26.11.2025.19
26.11.2025.11
vlc-record-2025-11-24-20h19m00s-video62_h264-_mp4-0003_jpg.rf.2d45f670dcf26189b99a8b28150dc21b
image2_png.rf.d534fd8b77d084371416005accd00b23
26.11.2025.13
26.11.2025.12

Run this model

On any device

Dataset summary

Data collected
19 items
Labels
picktool, worm, worn

Project info

Project ID 837765
License 3-Clause BSD
No. of views 153
No. of clones 0