Metadata-Version: 2.1
Name: doorpost-detector
Version: 0.1.0
Summary: Detect doorposts from pointclouds
Home-page: https://github.com/h0uter/doorpost_detector
Author: Wouter Meijer
Author-email: 
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: open3d
Requires-Dist: pyransac3d
Requires-Dist: matplotlib

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


## Quick start
`pip install -r requirements.txt`

`pip install -e .`


## To obtain doorpost poses from cropped pointcloud
```python
import doorpost_detector.api as dpd

response = dpd.doorpost_pose_from_cropped_pointcloud_usecase(points)

```


## To obtain doorpost poses from pointcloud
```python
import doorpost_detector.api as dpd

response = dpd.doorpost_pose_from_pointcloud_and_door_location_estimate_usecase(points, door_location)

```


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


