- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
function init() (PXCSenseManager) has return "PXC_STATUS_ITEM_UNAVAILABLE" after handenable() function
(my SDK version is R2)
my device is r200
I don't know why it doesn't work
here is part of my code
PXCSenseManager* senseManager = 0;
const int DEPTH_WIDTH = 320;
const int DEPTH_HEIGHT = 240;
const int DEPTH_FPS = 30;
senseManager = PXCSenseManager::CreateInstance();
if (senseManager == nullptr) {
throw std::runtime_error("SenseManager 생성 실패");
}
// Depth 스트림 활성화
auto sts = senseManager->EnableStream(PXCCapture::StreamType::STREAM_TYPE_DEPTH,
DEPTH_WIDTH, DEPTH_HEIGHT, DEPTH_FPS);
if (sts < PXC_STATUS_NO_ERROR) {
throw std::runtime_error("Depth 스트림 활성화 실패");
}
// 손 감지 활성화
sts = senseManager->EnableHand();
if (sts < PXC_STATUS_NO_ERROR) {
throw std::runtime_error("손 감지 활성화 실패");
}
// 파이프 라인 초기화
sts = senseManager->Init(); <----------------error in this moment
if (sts < PXC_STATUS_NO_ERROR) {
throw std::runtime_error("파이프 라인 초기화 실패");
doesn't r200 compatible handmodule????
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This script looks very similar to the one you are using.
https://github.com/RealSense-Book/RealSense-Book-CPP/blob/master/CH5-1_4/RealSenseSample/main.cpp RealSense-Book-CPP/main.cpp at master · RealSense-Book/RealSense-Book-CPP · GitHub
At the top of the script are these lines:
# include "pxcsensemanager.h"
# include "pxchandconfiguration.h"
Do you have these at the top of your script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
# include "pxcsensemanager.h"
# include "pxchandconfiguration.h"
# include "pxchandmodule.h"
# include
yes but it failed
I'm studying r200 using that book
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would guess it is looking for the file 'opencv.hpp' and cannot find it. Do you have the OpenCV program installed on your computer?
http://opencv.org/ OpenCV | OpenCV
https://github.com/opencv/opencv/blob/master/include/opencv2/opencv.hpp opencv/opencv.hpp at master · opencv/opencv · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have no experience of using OpenCV, so I do not know what else to suggest. I'm very sorry. Hopefully somebody else on this forum will be able to help. Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi FakerSenBBai,
Thank you for contacting us.
Looking at the features of the Gold R2 SDK you can see that hand tracking is listed as part of the improvements, so the enableHand() function should work. Is ""PXC_STATUS_ITEM_UNAVAILABLE"" the full error you receive, if it's not, please post the complete error.
First, I think it's important to check that OpenCV is properly installed in Visual Studio. Take a look at this link for more information http://giamuhammad.net/installing-opencv-3-1-in-visual-studio-2015/ http://giamuhammad.net/installing-opencv-3-1-in-visual-studio-2015/ .
Next, with OpenCV installed, you can try to create a new project with OpenCV. I found a link that provides lots of useful information. Take a look at http://giamuhammad.net/installing-intel-realsense-sdk-c-and-opencv-in-visual-studio-2015/ http://giamuhammad.net/installing-intel-realsense-sdk-c-and-opencv-in-visual-studio-2015/ . This link doesn't use the same function giving you errors, but you can run the example to check that OpenCV, Visual Studio and the SDK are properly configured.
Let us know if you're successful.
-Sergio A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm already installed Opencv and I've test Opencv version 2.4.10 3.0 3.10
sm->EnableStream(PXCCapture::STREAM_TYPE_COLOR, frameSize.width, frameSize.height, frameRate);sm->EnableStream(PXCCapture::STREAM_TYPE_DEPTH, frameSizeDepth.width,frameSizeDepth.height, frameRate);sm->EnableFace();sm->Init();In this moment, no error
sm->EnableStream(PXCCapture::STREAM_TYPE_COLOR, frameSize.width, frameSize.height, frameRate);sm->EnableStream(PXCCapture::STREAM_TYPE_DEPTH, frameSizeDepth.width,frameSizeDepth.height, frameRate);sm->EnableHand();sm->Init();But error in this code.
No problem on another Enable*** .
Only error on kind of Hand
It caused same error, PXC_STATUS_ITEM_UNAVAILABLE(-3)
I've test Depth camera and RGB camera It was success
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thank you for letting us know you had OpenCV already installed. After further investigation I found this information on the Release notes of the SDK R2 http://registrationcenter-download.intel.com/akdlm/irc_nas/7403/intel-rs-sdk-r2-release-notes.pdf http://registrationcenter-download.intel.com/akdlm/irc_nas/7403/intel-rs-sdk-r2-release-notes.pdf .
In the first page of the Release notes you can see the SDK features. Notice that the Hand Tracking feature is only listed in the list of capabilities of the F200, not the R200.
Using this SDK release, the pieces of code you used in the previous reply look good and should work in the F200 only.
We apologize for this inconvenience.
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Though R200 does not track hand joints, the R2 SDK does have blob tracking so the general position of the hands could perhaps be tracked that way.
Sorry I did not think to check about the R200 and hand tracking earlier. It was one of those cases where your imagination says it swears that it has seen R200 hand tracking somewhere before, even though the brain says it cannot be true. Like believing in Bigfoot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is the blob + face tracking?
https://www.youtube.com/watch?v=DpxSK6TetzA Intel RealSense R200 Body Tracking demo for Unite 2016 - YouTube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Though I don't own an R200 myself to test it, my experience with the F200 camera is that blob tracking will track any single large body area that is large and relatively flat. Hence why it can be triggered by the palm of the hand, the forehead, the bottom of a foot or the knee of the leg.
Here's a demo of the principle from my own YouTube channel.
https://www.youtube.com/watch?v=IOJtApQqa8A RealSense and Foot Tracking - YouTube
You do have to get a lot closer to the camera lens though for the detection to be triggered than you do with the full hand / face landmark tracking on the F200 and SR-300.
The video's comments say it is using Person Tracking, an early alpha feature in the R2 SDK that is likely to remain alpha now, since R2 is the last SDK to support the R200.
https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_pt_person_tracking.html Intel® RealSense™ SDK 2016 R2 Documentation
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page