Skip to content

ivanwong9290/apple_tracker_project

Repository files navigation

Apple Tracking Project/ Apple Harvesting Project

Carnegie Mellon University & UC Davis

Tracking

To be added

Point Cloud

Pre-requisites:

OpenCV Version: 4.5.4
PCL Version: 1.7.3 (pcl_ros)
g++ Version: 9.3.0
Note:
Use pkg-config --modversion PKGNAME to check versions
Use pkg-config --list-all | grep PKGNAME to see if your library was correctly installed, or might have to add additional PKG_CONFIG_PATH to .bashrc in the following manner:
1.) Open .bashrc
2.) Insert PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig (or wherever you store your packages) and export PKG_CONFIG_PATH
3.) Save & close .bashrc

Codes:

pcl_process.cpp - Processes pairs of RECTIFIED stereo images using OpenCV's SGBM algorithm to obtain disparity map, generates point clouds from disparity map, filters each point cloud using Statistical Outlier Removal (SOR) filtering, and saves the processed point cloud into a folder. To compile, type ./pcl_process_compile.bat and execute program by typing ./output.

Visuals:

Source Image (Left image shown):

L0007

Disparity Map

L0007_disp

Point Cloud

L0007_pc

About

Perception system of the Apple Tracking Project by CMU and UC Davis

Topics

Resources

Stars

Watchers

Forks