-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Python applications for RealSense #13647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
UD31415
wants to merge
47
commits into
IntelRealSense:development
Choose a base branch
from
UD31415:python_applications
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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 dc2dfa0
applications added
UD31415 4bbb4fb
Create README.md
UD31415 3ccc0ef
update readme
UD31415 772c30e
adding application info
UD31415 1d2dbd6
remove non relevant links
UD31415 f5d504a
Update README.md
UD31415 724fab2
working on readme and adding opencv wrapper
UD31415 af83675
Update README.md
UD31415 17107c9
Update README.md
UD31415 52d676d
readme updates
UD31415 1d2cb2e
Update README.md
UD31415 27d97cd
Update README.md
UD31415 ff6fb60
noise measurement application
UD31415 21f76b1
updated readme files
UD31415 aae1c9d
adding aruco and barcode detectors
UD31415 7f4b788
plane detector - simplify
UD31415 1ee5527
adding depth image for planes test
UD31415 613f3d5
improving and cleaning. ransac is not working good
UD31415 06a01e7
plane detectors are updated
UD31415 66cd1e0
Update README.md
UD31415 c47cf05
fixing links
UD31415 c17df7a
Update README.md
UD31415 c07b8d2
removing applications
UD31415 33a9295
adding edges and corners
UD31415 1292917
removing applications
UD31415 1e06c6d
Update README.md
UD31415 e66fcfb
Update README.md
UD31415 ce749e7
Update README.md
UD31415 e43c363
Update README.md
UD31415 ba12fa2
Update README.md
UD31415 d382efa
Update test_plane_detector.py
UD31415 92d6ef8
fixing "your path"
UD31415 422909a
pose added
UD31415 2035e91
robot calibration data
UD31415 6997701
Update README.md
UD31415 b497f8e
Update README.md
UD31415 7ff9475
Update README.md
UD31415 4cb1144
Update README.md
UD31415 a563304
Update README.md
UD31415 1d05ef1
Update README.md
UD31415 cbdc383
Update README.md
UD31415 5b29515
Update README.md
UD31415 fae12f3
Update README.md
UD31415 029eb6f
Update README.md
UD31415 9ce2ae1
plane detector is running but it is not perfect
UD31415 fbc690b
plane detector starting to work
UD31415 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
 | ||
|
||
|
||
# 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: | ||
|
||
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() | ||
|
||
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print('Utils-Src') |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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