Author: Suxing Liu, Ruben Pena
Function: Capture images around one root sample
Illumination environment: LED light intensity can be adjusted from weak to strong, suggest to adjust the lighting of LED lights via capture sample images and visually check the quality. The lights in the basement room can be turned off.
Main parts: Two raspberry pi 4 model b+ with USB 3.0 interface (Controller pi and Pi01), connected via cross over ethernet cable (Not traditional ethernet cable),
Each raspberry pi equipped with a Arducam 16MP Autofocus Quad-Camera Kit, 16MP IMX519 Autofocus Synchronized Pi Camera. A step motor and driver control the movement of the whole frame.
Operation
-
Turn on the power of the surge protector, which connects to all the power of the scanner.
-
Check the display directly connects to “pi controller”, Make sure wireless mouse/keyboard was turned on.
-
Open command window from “pi controller” terminal, type command lines:
cd code/cam #enter working path
python3 cluster_connection.py # check the raspberry pi unit’s connection to each other
python3 pipeline.py -n 5 # scan root, image data will be stored in the folder named as current
year-date format such as /2024-10-16/
Parameters:
-n: Number of image sets (4 images for one set)
-nd: Moving steps of the stepper motor
-sf: stepper motor speed in clockwise direction
-sb, stepper motor speed in counterclockwise direction
Note: all the parameters have default values, can be adjusted.
If error. Reboot the whole system:
python3 cluster_reboot.py
Rotate the camera arm to its original position and restart the scan process.
-
Transfer files to your local computer. Connect your mobile drive to the controller pi, rename the folder /2024-10-16/ as /genotype-samplenumber/ and download the folder from “pi controller” to your mobile drive.
-
Delete files from “pi controller” and raspberry pi units.
-
Shutdown system
Python3 cluster_shutdown.py
- Turn off the power of surge protector