h0uter / doorpost_detector

given a cropped pointcloud, returns the poses of the left and right door posts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doorpost Detector

This package contains a pointcloud processing pipeline to estimate the poses of doorposts.

alt text

Quick start

pip install doorpost_detector

OR

  • git clone <repo-link>
  • cd <repo-dir>
  • pip install -r requirements.txt
  • pip install -e .

To obtain doorpost poses from cropped pointcloud

import doorpost_detector.api as dpd

response = dpd.doorpost_pose_from_cropped_pointcloud_usecase(points)

To obtain doorpost poses from pointcloud and estimated door location

import doorpost_detector.api as dpd

response = dpd.doorpost_pose_from_pointcloud_and_door_location_estimate_usecase(points, door_location)

Response format

@dataclass
class Response:
    success: bool
    poses: tuple[float, float, float, float] # x1,y1,x2,y2
    certainty: tuple[float, float]

About

given a cropped pointcloud, returns the poses of the left and right door posts


Languages

Language:Python 100.0%