Skip to content

Computational-Plant-Science/Portable_3D_Scanner

Repository files navigation

Portable 3D_Scanner

Author: Suxing Liu, Ruben Pena

Prototype

Portable 3D_Scanner working in the lab

Portable 3D_Scanner working in the field

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.

Led lights

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.

Cameras

Setpper motor and driver

3D model reconstrcution results

Operation

  1. Turn on the power of the surge protector, which connects to all the power of the scanner.

  2. Check the display directly connects to “pi controller”, Make sure wireless mouse/keyboard was turned on.

  3. 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.

  1. 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.

  2. Delete files from “pi controller” and raspberry pi units.

  3. Shutdown system

    Python3 cluster_shutdown.py
  1. Turn off the power of surge protector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published