I'm Bernardo Lanza


Ph.D. in Mechatronics | Computer Vision & Sensing Engineer
I build field-deployable perception systems — from optical sensors to embedded ML pipelines. Background in agricultural robotics, 3D reconstruction, and metrological validation.
Open to new opportunities in computer vision, robotics, and applied ML.







PHD THESIS VISION

The core idea behind my Ph.D. was not to build isolated lab prototypes, but to make advanced crop monitoring deployable at scale by reusing mature sensing technologies already developed for other industries.

In practical terms, this means transforming existing agricultural machines into data-driven platforms: lower adoption cost, faster field integration, and measurable reliability through metrology and real-world validation.

From a business perspective, the value is clear: better agronomic decisions, reduced operational uncertainty, and a realistic path to precision agriculture for farms that need robust solutions rather than custom one-off systems.

SHORT BIO

Mechatronics engineer with a Ph.D. in optical measurement systems for precision agriculture (UniBS, 2025). My doctoral research focused on 3D reconstruction and in-field crop monitoring, combining depth sensing, SLAM, and deep learning, validated on real vineyards and orchards in Italy and Spain. I work across the full pipeline: from sensor calibration and embedded integration to algorithm development and field deployment. More recently I contributed to backend development and predictive maintenance at Pink Peak. Alongside research, I co-supervised M.Sc. theses, taught lab courses in computer vision and metrology at UniBS, and reviewed for IEEE MetroAgriFor and BioRob.

CAREER

Jan 2025 - Present
Software Development Engineer — Pink Peak
  • Backend event-driven: TDD, design patterns, CI/CD pipeline.
  • Predictive maintenance POC: digital twin modeling and edge defrost optimization for industrial freezers.

Apr 2024 - Aug 2024
Ph.D. International Research — Universitat de Lleida (Spain)
  • Multi-sensor 3D orchard reconstruction: SLAM, RGB-D, LiDAR on embedded platform (Jetson Orin).

Jul 2023 - Jan 2024
Developer, Ph.D. Industrial Stage — Prospecto S.r.l
  • Computer vision data pipelines and software prototypes for industrial agriculture monitoring.

Apr 2021 - Feb 2022
Research Fellow — Universita di Brescia, Lab. Misure Meccaniche e Termiche
  • Measurement campaigns, statistical validation, and sensor characterization for robotics and metrology.

CERTIFICATIONS

Jan 31, 2025
PH.D. IN MECHATRONICS
Doctoral program in Mechanical and Industrial Engineering | Optical-based measurement for plant health monitoring and yield estimation.
Laboratorio di Misure Meccaniche e Termiche - Università degli studi di Brescia

July 26-30, 2021
DeepLearn Summer School 2021
| IRDTA certificate | 38 hours

Oct 20th, 2020
M.Sc. IN MECHATRONIC ENGINEERING, ELECTRONICS AND ROBOTICS
Robotics Measurements Laboratory, University of Trento, Italy

Nov 29th, 2017
B.Sc. IN INDUSTRIAL ENGINEERING
Robotics Measurement Laboratory, University of Trento, Italy


PORTFOLIO GITHUB CODE

CURRICULUM VITAE





TECH STACK

LANGUAGES

Python C++ C# Matlab

COMPUTER VISION & ML

OpenCV YOLOv8 Mediapipe SAM (Meta) Optical Flow PCA Predictive Analytics

3D & MAPPING

SLAM Point Cloud Processing Sensor Fusion ArUco Markers

EMBEDDED & HARDWARE

Jetson Nano Jetson AGX Orin Raspberry Pi Intel RealSense Azure Kinect DK Basler Cameras Livox LiDAR RTK GNSS Xsens IMU

SOFTWARE ENGINEERING

TDD CI/CD Event-Driven Architecture Design Patterns

TOOLS & INFRA

Git Linux SciPy TCP/IP IoT

SIDE PROJECTS

Smart Home Multi-Utility

IoT home automation system: remote gate control, environmental monitoring, crypto portfolio tracker, and self-updating deployment — all managed via Telegram bot on Raspberry Pi.

Python Raspberry Pi GPIO Telegram API Web Scraping Git

Automated Mosquito Larvae Production System

Embedded control system for automated larvae cultivation as sustainable fish feed — valve/pump scheduling, safety interlocks, and sensor-driven cycles.

Python Raspberry Pi GPIO Automation

RESEARCH

Optical Measurement of Vine Wood Volume and Spring Bud Development

Problem: Measuring vine woody volume and monitoring spring buds in real field conditions is difficult with manual inspections and inconsistent visual assessments.

Method: Developed an RGB-D and deep-learning pipeline for 3D vine volume estimation, plus automated bud detection, tracking, recognition, and counting during early seasonal growth.

Result: The wood-volume pipeline achieved 2.1 cm3 RMSE with 1.8 cm3 mean deviation, while the fine-tuned YOLOv8 bud detector reached an F1-score of 0.79 on a custom vineyard dataset.

Processing pipeline
Processing pipeline

Mobile Multi-Sensor Embedded System for 3D Orchard Reconstruction

Problem: Accurate 3D orchard reconstruction is expensive and fragile in harsh field environments.

Method: Low-cost multi-sensor fusion (RGB-D, GNSS, IMU) with a custom SLAM approach tailored for agriculture.

Result: Validated 3D reconstructions and geometric measurements with edge-compatible acquisition workflows.

The Digifruit Project

GitHub Repository: Hierarchy-Robust-SLAM

3D reconstruction with custom SLAM algorithm
Successful 3D reconstruction with custom SLAM algorithm

Monocular Depth Estimation from Optical Flow with Uncertainty Analysis

Problem: Low-cost depth estimation from a single moving camera is noisy and lacks formal measurement uncertainty — a gap for agricultural end-users who need reliable readings without expensive LiDAR or stereo hardware.

Method: Simplified optical-flow model relating image-plane pixel speed to real-world depth via a single calibration parameter K. Validated in laboratory with a UR10e robot at five speeds (0.25–0.97 m/s), four camera-target distances, and five ArUco markers at different depths. Monte Carlo uncertainty propagation with 10,000 synthetic realizations per data point. Window-based moving average filter (effective 20 fps from 60 fps) to reduce noise.

Result: Best-case depth uncertainty of 4 cm (filtered, 0.50 m/s) and 7 cm (filtered, 0.75 m/s). Image speeds above 500–800 px/s keep uncertainty below 20 cm. Two practical examples provided for end-users to select camera and vehicle speed. Code publicly released on GitHub.

Python OpenCV Optical Flow ArUco Markers SciPy Metrology Monte Carlo GoPro UR10e

Link to Publication

GitHub Repository: DepthFromOpticalFlow

Vision Embedded System for Crop and Weed Recognition

Problem: Distinguishing crop from weed in real-time on agricultural machinery requires efficient onboard intelligence.

Method: Embedded computer-vision system using deep neural networks optimized for constrained edge hardware.

Result: Practical field-ready segmentation workflow to support precision agriculture operations.

Intelligent segmentation
Intelligent segmentation

Gesture Recognition for Healthcare 4.0

Problem: Manual supervision of surgical handwashing is inconsistent and can increase infection risk.

Method: Vision-based hand and gesture recognition system with machine-learning analysis for procedure monitoring.

Result: Automated and objective assessment pipeline for handwashing compliance in clinical workflows.

Hand pose visualization
Hand pose

Vision System for Body and Gym Gesture Recognition

Problem: Reliable automatic recognition of exercise gestures is challenging in practical gym environments.

Method: Vision-based pose estimation and signal-processing pipeline for movement analysis and repetition evaluation.

Result: Functional smart-mirror prototype supporting real-time feedback for fitness training tasks.

Smart mirror biceps curl demo
Smart mirror (Biceps Curl)

TEACHING


Contract Lecturer — Dept. of Mechanical and Industrial Engineering, UniBS

  • ING-INF/07 — Vision Systems for Mechatronics (2022–2024)
  • ING-IND/12 — Robotics & Measurements Lab (2021–2024)

Topics: Computer Vision, Metrology, Predictive Maintenance, Sensor Fusion, Statistics, Modal Analysis, Python, Matlab.

Guest lecture: Probabilistic Sensor Fusion — from Naive Bayes to Kalman Filter (2023).


Thesis Supervision

Co-supervised M.Sc. and B.Sc. theses in computer vision and industrial metrology.


Peer Review

  • 2024 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor)
  • 2023 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor) — 2 papers
  • 2024 IEEE RAS/EMBS International Conference for Biomedical Robotics and Biomechatronics (BioRob)

Publications

Relevant Publications

  • Depth from 2D Images: Development and Metrological Evaluation of System Uncertainty Applied to Agricultural Scenarios
    Lanza, B.; Nuzzi, C.; Pasinetti, S.
    Sensors 2025, MDPI

    Link to publication

    GitHub Repo


  • A Stride Toward Wine Yield Estimation from Images: Metrological Validation of Grape Berry Number, Radius, and Volume Estimation
    Lanza, B.; Botturi, D.; Gnutti, A.; Lancini, M.; Nuzzi, C.; Pasinetti, S
    Sensors 2024 MDPI

    Link to publication


  • First Step Towards Embedded Vision System for Pruning Wood Estimation
    B. Lanza, C. Nuzzi, D. Botturi, S. Pasinetti
    2023 IEEE International Workshop on Metrology for Agriculture and Forestry, 2023

    Link to publication


  • Gesture recognition for Healthcare 4.0: a machine learning approach to reduce clinical infection risks
    B. Lanza, E. Ferlinghetti, C. Nuzzi, L. Sani, A. Garinei, L. Maiorfi, S. Naso, ...
    2023 IEEE International Workshop on Metrology for Industry 4.0 & IoT, 2023

    Link to publication


  • STEWIE: eSTimating grapE berries number and radius from images using a Weakly supervIsed nEural network
    D. Botturi, A. Gnutti, C. Nuzzi, B. Lanza, S. Pasinetti
    2023 IEEE International Workshop on Metrology for Agriculture and Forestry, 2023

    Link to publication


  • Deep Learning for Gesture Recognition in Gym Training performed by a vision-based augmented reality smart mirror
    B. Lanza, C. Nuzzi, S. Pasinetti, M. Lancini
    ISBS Proceedings Archive 40, 363-366, 2022

    Link to publication


  • More at:

    Publications