TangoChen.com is back…

Check out TangoChen.com
I may no longer update anything here…

Posted in Uncategorized | Leave a comment

Kinect Can Do What Leap Motion Can Do

They’re all done by using Kinect for Windows SDK…

Posted in Kinect, Programming | Tagged | Leave a comment

PPCC – A WP7 Style PC Controller on PPC

XDA Thread:
http://forum.xda-developers.com/showthread.php?t=1871605

I hope someone can help me port this app to other phone devices..

Posted in Programming, WinMo | Tagged | Leave a comment

Show Time – A Python program written 2 years ago

这是我两年前(2010年07月10日)刚学Python时写的一个程序..
Here’s a Python program I wrote 2 years ago(on July 10th, 2010)..



这图是两年前截的..当时还在用Vista..
The screen shots were taken 2 years ago when I was using Windows Vista..

这是代码:
Here’s how it works:

import time

def TimeStr(num,linenum):
    if num=="1":
        if linenum==1:
            return ' | '
        elif linenum==2:
            return ' | '
        elif linenum==3:
            return ' | '
        elif linenum==4:
            return ' | '
        else:
            return ' | '
    elif num=="2":
        if linenum==1:
            return '___'
        elif linenum==2:
            return '  |'
        elif linenum==3:
            return '---'
        elif linenum==4:
            return '|  '
        else:
            return '---'
    elif num=="3":
        if linenum==1:
            return '___'
        elif linenum==2:
            return '  |'
        elif linenum==3:
            return '---'
        elif linenum==4:
            return '  |'
        else:
            return '---'
    elif num=="4":
        if linenum==1:
            return ' - '
        elif linenum==2:
            return '/| '
        elif linenum==3:
            return '---'
        elif linenum==4:
            return ' | '
        else:
            return ' | '
    elif num=="5":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '|  '
        elif linenum==3:
            return '---'
        elif linenum==4:
            return '  |'
        else:
            return '__|'
    elif num=="6":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '|  '
        elif linenum==3:
            return '|--'
        elif linenum==4:
            return '| |'
        else:
            return '|_|'
    elif num=="7":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '  |'
        elif linenum==3:
            return ' | '
        elif linenum==4:
            return ' | '
        else:
            return ' | '
    elif num=="8":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '| |'
        elif linenum==3:
            return '|-|'
        elif linenum==4:
            return '| |'
        else:
            return '|_|'
    elif num=="9":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '| |'
        elif linenum==3:
            return '--|'
        elif linenum==4:
            return '  |'
        else:
            return '__|'
    elif num=="0":
        if linenum==1:
            return '---'
        elif linenum==2:
            return '| |'
        elif linenum==3:
            return '| |'
        elif linenum==4:
            return '| |'
        else:
            return '|_|'
    else:
        if linenum==1:
            return '   '
        elif linenum==2:
            return ' O '
        elif linenum==3:
            return '   '
        elif linenum==4:
            return ' O '
        else:
            return '   '

STR=""
while 1:
    for a in range(1,6):
        for b in range(0,8):
            NowTime=time.strftime('%X',time.localtime())
            LetterTime=NowTime[b]
            STR=STR+TimeStr(LetterTime,a)+" "
        print STR
        STR=""
    print "n"
    time.sleep(1)
Posted in Programming | Tagged | Leave a comment

Kinect Angry Birds Space

Youtube:

Youku(The same as the u2 video above..):

It’s developed in C# using Kinect for Windows SDK 1.5.
I put the Kinect sensor high and tilted it down like this:


Now let me introduce my simple way to detect whether you’re gesturing like Gesture 1 or Gesture 2.

1st Step:
Limit the depth data you get. In my case, it’s between 950 to 1120. The red parts are what we get now.

2nd Step:
Limit the area you get so it only gets the area of your two hands.

3rd Step:
Only get the top side of the depth data we get. The red line is what we get now.

How to do this: I add the X coordinate of the depth data to a listbox if there’s no this such X coordinate in the listbox. And next time if you find that the listbox contains the X coordinate you don’t have to record it again, pass it.

4th Step:
If the count(length) of the listbox(the red line) is larger than a value(in my case it’s 30), you’re gesturing like Gesture One. Or you’re gesturing like Gesture Two. Because the Gesture One makes a longer red line.

That’s All~

Sorry for my poor English..

Posted in Kinect, Programming | Tagged | Leave a comment

Make the Laptop Screen Touchable by Using Kinect

Youtube:

Youku:

Posted in Kinect, Programming | Tagged | 2 Comments

It’s all OK Now!!!!!

装了Permalinks Moved Permanently插件就一切OK了…太好了!!!博客君好了[太开心]!!!
Thx to  Permalinks Moved Permanently the plugin…It saved my blog!!!

Posted in Life | Tagged | Leave a comment