orbbec-astra | Python code for retrieving images from RGBD Orbbec cameras | Camera library
kandi X-RAY | orbbec-astra Summary
kandi X-RAY | orbbec-astra Summary
These scripts attempt to extract a round white blob from the field of view of the Orbbec Astra RGBD camera.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns contour inertia
- Return the minimum of a and b
- Check if value is within bounds
- Convert an RGB color to a gray value
- Checks if val is within a range
orbbec-astra Key Features
orbbec-astra Examples and Code Snippets
Community Discussions
Trending Discussions on orbbec-astra
QUESTION
I am currently working with an Orbbec Astra Mini depth sensor. I downloaded and installed the Astra Driver and OpenNI2 package. The depth sensor is shown in the device manager on my Windows 10 as soon as I attach it to the USB port. So far everything is fine.
My goal is to read RGB images
and the depth map
with OpenCV and show them with imshow
.
The following code compiles fine in Visual Studio 2015, but I get this error:
...ANSWER
Answered 2018-Feb-20 at 15:04I wrote an comprehensive guide how to to compile ORB SLAM 2 (which was my preliminary goal) with OpenCV including OpenNI2 in order to use my Orbbec Astra camera as depth sensor. Hopefully someone else stumbling over this thread can use it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install orbbec-astra
Orbbec Drivers Download the Orbbec OpenNI SDK here. In this directory, you will find the executable OpenNI_2.3.0.55 > Windows > Astra OpenNI2 Development Instruction(x64)_V1.3 > Driver > SensorDriver_V4.3.0.9.exe. Run this exe file and follow the installation prompts. Run setlib_environ.bat in the directory here: OpenNI_2.3.0.55 > Windows > Astra OpenNI2 Development Instruction(x64)_V1.3 > OpenNI2 > OpenNI-Windows-x64-2.3.0.55 > Redist When you plug in an Orbbec sensor, it should be recognized without any error in the DeviceManager. If there is an error, try uninstalling and reinstalling the driver.
Python 3.7.X To check and see if python is installed, open up Git-Bash and type python --version. If python is not installed or if python 3.7 is not installed, download and install from this link.
A number of Python modules must be installed. Open up Git Bash and type in these commands, each followed by the return key. pip install numpy pip install opencv-python pip install primesense pip install python-osc pip install imutils
The scripts require that the correct path to the "Redist" folder be passed. The "Redist" folder is located at OpenNI_2.3.0.55 > Windows > Astra OpenNI2 Development Instruction(x64)_V1.3 > OpenNI2 > OpenNI-Windows-x64-2.3.0.55 > Redist, or for x86 archiectures, OpenNI_2.3.0.55 > Windows > Astra OpenNI2 Development Instruction(x86)_V1.3 > OpenNI2 > OpenNI-Windows-x86-2.3.0.55 > Redist. The path to this folder can be specified in the "User Parameters" section of the script. However, it has been included within this repo for convenience. For reference, the "Redist" folder should contain these files: Redist OpenNI2 Drivers OniFile.dll OniFile.ini orbbec.dll Orbbec.ini OpenNI.ini OpenNI2.dll OpenNI2.jni.dll org.openni.jar If you get a Win 193 error upon trying to run the python script, try using the Redist folder for the other architecture.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page