holypipette.vision.paramecium_tracking module¶
These are functions to locate paramecium in an image
- class holypipette.vision.paramecium_tracking.ParameciumTracker(config=None, history_size=100)[source]¶
Bases:
object
- holypipette.vision.paramecium_tracking.where_is_droplet(frame, pixel_per_um=5.0, ratio=None, xc=None, yc=None)[source]¶
Locate a droplet in an image.
- Parameters:
frame (the image)
pixel_per_um (number of pixels per um)
ratio (decimating ratio (to make the image smaller))
xc, yc (coordinate of a point inside the droplet)
- Returns:
x, y, r
- Return type:
position and radius on screen