A9VG电玩部落论坛

 找回密码
 注册
搜索
查看: 4429|回复: 2

kinect鼠标控制for windows

[复制链接]

精华
0
帖子
153
威望
0 点
积分
0 点
种子
0 点
注册时间
2010-5-31
最后登录
2011-11-11
 楼主| 发表于 2011-1-9 09:23  ·  山东 | 显示全部楼层 |阅读模式
1) Download KinectTouchv2 from http://essexconsolerepairs.co.uk/programs/openkinect/KinectTouchv2.rar

2) Download CL NUI Platform Installer from http://codelaboratories.com/get/nui/ and install it (make sure libusb drivers are unintalled first)

4) We need to set up our kinect perfectly center to our monitor/wall we want to use as the mouse surface.. it should look a little like this:

3) Plug your kinect in if it isnt in already

4) Run KinectTouchV2.exe

5) now we need to screenshot the window to be able to get the colour of the depths we want to use (press a finger on the surface of the wall/monitor you want to use and then printscreen the depth image)

6) Now using a picture editing program, use the colour picker to get the RGB image values of your wall/monitor (note in the program it lets you put a varied range in case for example the left of the screen is darker than the right

7) Now you need to enter these details into the program in the 'Background color to detect' area.. it should look a little like this: (your values will be different)


8) I dont recomend you press set yet until you have done the same for your finger press as it can cause the program to become very slow

9) Now do the same with the color picker for your fingertip, try to get the data from the end of your finger but make sure it doesnt collide with any from your background... again it should look like this:


10) Now you can feel free to press Set on both the Fingertip color to detect and the Background colour

11) its okay if you can see red dots on the right feed even if you are not touching the area, as long as they are not in the region where your screen/wall is, if they are you need to re do steps 5 onwards and get non clashing colors

12) Now we can set the field that you want to be captured.. this is done by changing the values in the 'Set working area:' section...

13) i recomend that you put your finger in the top left corner then alter the values and press set so that the red dot of your finger is in the corner of the feed

14) do it for each corner and when you are done you should be able to take your hand away from the 'depth zone' and the graph on the far right should stay still... when you move your hand around on it it should then move with your hand...

15) press enable mouse and enjoy

sorry if you dont get this, try figure it out anyway

Source code of the program: http://essexconsolerepairs.co.uk/programs/openkinect/KinectTouchv2Source.rar

精华
0
帖子
153
威望
0 点
积分
0 点
种子
0 点
注册时间
2010-5-31
最后登录
2011-11-11
 楼主| 发表于 2011-1-9 09:24  ·  山东 | 显示全部楼层
3sv

精华
0
帖子
2263
威望
0 点
积分
2433 点
种子
12 点
注册时间
2006-7-10
最后登录
2022-7-7
发表于 2011-1-9 12:04  ·  广东 | 显示全部楼层
英文盲路过一下…话说kinect这样用在会议室投影的话会不错
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|A9VG电玩部落 川公网安备 51019002005286号

GMT+8, 2024-11-22 09:37 , Processed in 0.181660 second(s), 15 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部