Skip to content

mac999/check_lidar_scan_quality

Repository files navigation

check LiDAR scan quality

3D LiDAR scan data quality (version 0.2) checker

functions

Introducing an open source that checks the quality of PCD (Point Cloud Data), 3D scan data from LiDAR, Drone-based photogrammetry. It is linked to AutoCAD, and if there is a grid in the drawing, the intersection point is automatically calculated, compared to the given point cloud height at that point, and analyzed. Errors are output to drawings, Excel, and reports according to a predefined color scheme. Options can be modified with config.json. Currently, I only developed the planarity check, and plan to update it periodically in the future. It provides various options so you can modify it and use it.

  1. deviation between 3D scan data (point cloud data) and the grid of autocad drawing. At each intersection of the grid drawn in AutoCAD, the height value of the input point group is checked, and the deviation is calculated, analyzed, and visualized.


  1. comparison between Model (mesh) and 3D scan data (point cloud data).




usage

download executable program in here.
or
run terminal(cmd)
git clone https://github.com/mac999/check_scan_quality
conda install --file conda_requirements.txt
run autocad
load grid.dwg in autocad
python diff_cad_pcd.py

option
--input: example=sample_floor.pcd. help=input scan data file (pcd).
--model: example=simple_mesh.obj. help=input model file (obj, stl, ply, off).
--output: example=output. help=output excel and report(pdf) file.
--option: default='model', help=planarity | verticality | features | model.
--config: example=config.json. help=input config.json file.
--title: example=Scan Data Quality Control Report. help=title of report.
--date: example=2023-09-01. help=date of report.
--author: example=building points. help=maker of report

ex. python diff_cad_pcd.py --input sample_floor.pcd

config

this program supports variable option to visualize the results in cad, report.

{
    "name": "check scan quality config",
    "version": "1.0.0",
    "description": "check scan quality config",
    "author": "mac999",
    "email": "",
    "check_height": {
        "layer": "0",
        "base_height": 0.0,
        "distance_tolerance": 0.02,
        "circle_radius": 0.1,
        "text_height": 0.05,
        "show_coord": true,
        "show_height": true
    },
    "check_model": {
        "min_distance": 0.1
    },
    "color_schema.height": [
        {
            "name": "green",
            "index": 3,
            "start": 0.0,
            "end": 0.2
        }, 
        {
            "name": "cyan",
            "index": 4,
            "start": 0.2,
            "end": 0.4
        }, 
        {
            "name": "yellow",
            "index": 2,
            "start": 0.4,
            "end": 0.7
        }, 
        {
            "name": "red",
            "index": 1,
            "start": 0.7,
            "end": 1.01
        }
    ]
}

test results

version history

0.1: draft version.
0.2: updating difference between PCD and mesh object.

future plan

will support
Features(curvature ...) generation from PCD
LiDAR file format support such as E57
BIM comparison and analysis

license

develop by taewook kang(laputa99999@gmail.com). MIT license.

About

3D scan data quality checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages