kinect

Object tracking by kinect on raspberry pi

你。 提交于 2019-12-25 09:28:45
问题 I m working on object tracking with kinect on a raspberry pi. I mix 2 code because I need to find nearly object with kinect and then use OpenCV filter to setup gray color after this process tracking gray object! but I can't! please help me import freenect import cv2 import numpy as np """ Grabs a depth map from the Kinect sensor and creates an image from it. """ def getDepthMap(): depth, timestamp = freenect.sync_get_depth() np.clip(depth, 0, 2**10 - 1, depth) depth >>= 2 depth = depth.astype

Kinect Facial Recognition and Training Images

安稳与你 提交于 2019-12-25 02:00:11
问题 I am using this facial recognition program for the Kinect The problem is I need it to be able to register and actually keep the images for a training database. Whenever I run it, the program works and is able to detect and recognize the faces but then the images are not kept. What code needs to be changed? I really need help on this it would be greatly appreciated. /// <summary> /// Initializes a new instance of the MainWindow class /// </summary> public MainWindow() { KinectSensor

Kinect with OpenGL [closed]

廉价感情. 提交于 2019-12-25 01:22:19
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I will draw a 3d model on the screen with OpenGL and I will zoom or rotate this model on the screen with Kinect gestures.Does anyone have a good tutorial or information how can i start programing C++/OpenGL

kinect depth image processing

谁说胖子不能爱 提交于 2019-12-24 17:40:12
问题 This is my problem Kinect is mounted on top of the room(on ceiling). Then i take a depth image of the people below the kinect. So what i get is a top view of the people below. Then i want to extract the heads of the people to count the number of people. As the way i see it, this problem requires identification of LOCAL minimum regions of the image. But i coudn't figure out a way. Can some one suggest me a way to achieve this?? Is there a OpenCV function to get local minimum regions?? Thank

Is it possible to develop a multiplayer xbox kinect game?

假装没事ソ 提交于 2019-12-24 16:33:25
问题 I am thinking about developing a game for xbox kinect, but it is a multiplayer game, but there are no multiplayer games for kinect right now, so, i was wondering if it's even possible? Multiplayer as in over the network, not in the same room. 回答1: You can develop a multiplayer Kinect game for the PC (see this link), but not for XBOX 360, unless you are a Microsoft affiliate, and have access to the XBOX 360 Native Development Kit, which requires signing a non-disclosure agreement. This is NOT

Handling Kinect in Main Window and passing this reference to UserControls

核能气质少年 提交于 2019-12-24 12:23:22
问题 I have a project in WPF with a lot of UserControls, some user controls uses Kinect KinectColorViewer.xaml I want to handle the sensor discovering and setup (conect, disconect, etc) in main window and serve it to my UserControls, how is the best way to do it? Here is the project that explains my question. If you prefer, here are the github link. 回答1: From your example code, Assuming you want to maintain as much of the already available code from Microsoft, you will want to set up a reference

Exception understood on update Kinect Joint positions

为君一笑 提交于 2019-12-24 11:09:30
问题 I am doing a very simple stuff, my goal is to move one skeleton based on the position of the other skeleton, for this i am based myself on a HipCenter position. (This algoritm could be wrong, this question is about a exception ocurring in the foreach loop) Here is my actual code: public static Skeleton MoveTo(this Skeleton skOrigin, Skeleton skDestiny) { Skeleton skReturn = skOrigin; // just making a copy // find the factor to move, based on the HipCenter. float whatToMultiplyX = skOrigin

Set Mouseposition in WPF [duplicate]

随声附和 提交于 2019-12-24 05:09:05
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Move mouse with c# I'm going to replace my mouse by Kinect gestures but I can't find a way to set mouseposition for a WPF app. Thanks in advance Tom 回答1: You can use the Cursor.Position property found in System.Windows.Forms for this. As demonstrated on the MSDN documentation for Cursor.Position: private void MoveCursor() { // Set the Current cursor, move the cursor's Position, // and set its clipping rectangle

Draw smooth line in InkCanvas WPF with Kinect

烂漫一生 提交于 2019-12-24 02:11:14
问题 I'm trying to create simple app that tracks right wrist position and draw line (or rather path with curves) as it moves (the exact behaviour of InkCanvas control using mouse when left mouse button is pressed). So I track position change of RightWrist and draw line this way: public void Paint(Point startPoint, Point nextPoint, InkCanvas paintSurface) { Line line = new Line(); if (currentPoint.X == 0 && currentPoint.Y == 0) { currentPoint = new Point(); currentPoint = startPoint; } line.Stroke

Is it possible to extract the player's depth pixels only, out of the depth bitmap?

百般思念 提交于 2019-12-24 00:35:46
问题 I am new to kinect developing and new to stackoverflow as well! Here's my situation: Having a depth camera, I can get the depth data easily. What I want to do is once I detect there is a person (player) exists in front of the camera, I would extract the depth pixels of the player only, and put it onto a transparent background, so that the output is a static image of the depth image of the player only, on a transparent background. I would like to ask is it possible to do the job ? I've done