Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c2eeb94
testing the contribution process
UD31415 Jan 1, 2025
dc2dfa0
applications added
UD31415 May 7, 2025
4bbb4fb
Create README.md
UD31415 May 7, 2025
3ccc0ef
update readme
UD31415 May 7, 2025
772c30e
adding application info
UD31415 May 7, 2025
1d2dbd6
remove non relevant links
UD31415 May 7, 2025
f5d504a
Update README.md
UD31415 May 7, 2025
724fab2
working on readme and adding opencv wrapper
UD31415 May 7, 2025
af83675
Update README.md
UD31415 May 7, 2025
17107c9
Update README.md
UD31415 May 7, 2025
52d676d
readme updates
UD31415 May 7, 2025
1d2cb2e
Update README.md
UD31415 May 7, 2025
27d97cd
Update README.md
UD31415 May 7, 2025
ff6fb60
noise measurement application
UD31415 May 7, 2025
21f76b1
updated readme files
UD31415 May 7, 2025
aae1c9d
adding aruco and barcode detectors
UD31415 May 7, 2025
7f4b788
plane detector - simplify
UD31415 May 11, 2025
1ee5527
adding depth image for planes test
UD31415 May 11, 2025
613f3d5
improving and cleaning. ransac is not working good
UD31415 May 11, 2025
06a01e7
plane detectors are updated
UD31415 May 12, 2025
66cd1e0
Update README.md
UD31415 May 12, 2025
c47cf05
fixing links
UD31415 May 12, 2025
c17df7a
Update README.md
UD31415 May 12, 2025
c07b8d2
removing applications
UD31415 May 12, 2025
33a9295
adding edges and corners
UD31415 May 12, 2025
1292917
removing applications
UD31415 May 12, 2025
1e06c6d
Update README.md
UD31415 May 12, 2025
e66fcfb
Update README.md
UD31415 May 12, 2025
ce749e7
Update README.md
UD31415 May 12, 2025
e43c363
Update README.md
UD31415 May 12, 2025
ba12fa2
Update README.md
UD31415 May 12, 2025
d382efa
Update test_plane_detector.py
UD31415 May 12, 2025
92d6ef8
fixing "your path"
UD31415 May 12, 2025
422909a
pose added
UD31415 May 13, 2025
2035e91
robot calibration data
UD31415 May 14, 2025
6997701
Update README.md
UD31415 May 14, 2025
b497f8e
Update README.md
UD31415 May 14, 2025
7ff9475
Update README.md
UD31415 May 14, 2025
4cb1144
Update README.md
UD31415 May 15, 2025
a563304
Update README.md
UD31415 May 15, 2025
1d05ef1
Update README.md
UD31415 May 15, 2025
cbdc383
Update README.md
UD31415 May 15, 2025
5b29515
Update README.md
UD31415 May 15, 2025
fae12f3
Update README.md
UD31415 May 15, 2025
029eb6f
Update README.md
UD31415 May 15, 2025
9ce2ae1
plane detector is running but it is not perfect
UD31415 May 27, 2025
fbc690b
plane detector starting to work
UD31415 May 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/shape_detector/doc/corner.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/shape_detector/doc/planes.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/shape_detector/doc/planes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions applications/shape_detector/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
![](doc/planes.png)


# Introduction

This code provides examples of the detection of 3D objects like planes, lines and corners using RGB and Depth information from RealSense camera. The following objects are supported:

- Planes : detected multiple planes in the depth image
- Edges : detecting edges / intersection of planes
- Corners: three plane intersection/ junctions

These objects could be integrated in your robotics and video processing pipe line.
Your code can run in real time, using examples below.


## Installation Windows

1. Install python 3.10 from Python Release Python 3.10.0 | <https://www.python.org>

2. Create virtual environment. In Windows PowerShell:

python -m venv <your path>\Envs\planes3d

3. Activate virtual environment. In Windows CMD shell:

<your path>\Envs\planes3d\Scripts\activate.bat

4. Installing realsense driver. For example, download pyrealsense2-2.55.10.089-cp310-cp310-win_amd64.whl:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please replace by pyrealsense2, without build number


pip install pyrealsense2-2.55.10.6089-cp310-cp310-win_amd64.whl

5. Install opencv and numpy:

pip install opencv-contrib-python

6. Install scipy:

python -m pip install scipy

7. Install matplotlib:

pip install matplotlib

## Usage

```py
>>> from plane_detector import PlaneDetector

>>> pd = PlaneDetector()

```
1 change: 1 addition & 0 deletions applications/shape_detector/src/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print('Utils-Src')
Loading