Skip to content
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

Connected with Microsoft Kinect 1.0 #120

Closed
RickGodLike opened this issue Jul 1, 2017 · 8 comments
Closed

Connected with Microsoft Kinect 1.0 #120

RickGodLike opened this issue Jul 1, 2017 · 8 comments

Comments

@RickGodLike
Copy link

Hi! Can you tell me how could I adjust the value of
qq 20170701204921
so I can obtain the real-time video from Kinect?
Also, if I want to run the c++ source file in the examples/tutorial_wrapper file, what kind of project of visual studio should I plug it into? Should the project I created stay in the folder of windows-project?

@gineshidalgo99
Copy link
Member

gineshidalgo99 commented Jul 2, 2017

Hi, we have no implement any code for Kinect, if you have your own code to read RGB images from Kinnect, then you can use examples/tutorial_wrapper/ files that has code to read custom frames producer, and change that code (that read from images) by your Kinect images extractor code

@RickGodLike
Copy link
Author

Hi! I have a close look at windows_project\TutorialWrapper\1_user_asynchronous and I can print out the posekeypoints by adding std::cout << datumsPtr->at(0).poseKeypoints.toString() << std::endl; in the UserOutputClass.
However, when I do the same thing with windows_project\OpenposeDemo, which uses a webcam. The window doesn't show me anything! I don't know what is wrong....Could it be that we can only print out keypoints of pictures because when it comes to realtime webcam, it doesn't work... HELP...

@DarcyWL
Copy link

DarcyWL commented Jul 7, 2017

Just found that we had the same problem..... Can anyone figure it out?

@gineshidalgo99
Copy link
Member

I've been trying but I am not able to replicate that problem.

Could you try the latest version to see whether it is working in the current version?

@RuWang15
Copy link

RuWang15 commented Jul 16, 2017

I have the same problem when cv::imshow("xxx", datumsPtr->at(0).cvOutputData) in that demo (I'm not sure if you mean this). The image window shows nothing. But I can print the keypoints on console window.

I merged the user_asynchronous.cpp into my own project. And I can display the keypoins and cv::imshow() perfectly.

@andudu
Copy link

andudu commented Aug 29, 2017

Never try to change the openpose file structure, if you want to read the keypoints(including body hand face) ,only use 'windows-- cmd' demand '--write_keypoint_json'.
json file will record the all the keypoints info!!!

@aniketzz
Copy link

aniketzz commented Nov 1, 2017

i have been trying myself to access kinect 2.0 instead of my webcam. i finally figured out how to do it. With windows 10 anniversary update kinect 2.0 comes with a new feature. to use kinect 2.0 as your default cam and get the data from it , all you need to do is

  1. go to device manager
  2. expand "kinect sensor devices" tab
  3. right click and update driver of ""WDF kinectSensor Interface"
  4. go to "openposeDemo.cpp" file and change "DEFINE_int32(camera, -1, " to
    "DEFINE_int32(camera,2,"

now you are all set to use kinect as a webcam in openpose.

@gineshidalgo99
Copy link
Member

@aniketzz Thanks! Added your instructions to doc/demo_overview.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants