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

Make software for connecting kinect data to processing #1

Closed
rhema opened this Issue Feb 1, 2013 · 17 comments

Comments

Projects
None yet
3 participants
@rhema
Owner

rhema commented Feb 1, 2013

No description provided.

@ghost ghost assigned sfh888 Feb 1, 2013

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 2, 2013

Owner

https://github.com/dodilp/kinectcouchbase/blob/master/Kinect.Server/SkeletonSerializer.cs

Might be helpful. Not sure if you are planning to write this in CSharp.

Owner

rhema commented Feb 2, 2013

https://github.com/dodilp/kinectcouchbase/blob/master/Kinect.Server/SkeletonSerializer.cs

Might be helpful. Not sure if you are planning to write this in CSharp.

@sfh888

This comment has been minimized.

Show comment
Hide comment
@sfh888

sfh888 Feb 3, 2013

Collaborator

I have got raw data with direct, indirect and direct-indirect movements. They are ready to play with.
The current format is
frameID numberOfPoints(1 root+20 skeletons) rootPosX rootPosY rootPosZ X Y Z ... X Y Z

The indices are discribed here:
http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx

I am using C++. Will try to convert it.

Collaborator

sfh888 commented Feb 3, 2013

I have got raw data with direct, indirect and direct-indirect movements. They are ready to play with.
The current format is
frameID numberOfPoints(1 root+20 skeletons) rootPosX rootPosY rootPosZ X Y Z ... X Y Z

The indices are discribed here:
http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx

I am using C++. Will try to convert it.

@sfh888

This comment has been minimized.

Show comment
Hide comment
@sfh888

sfh888 Feb 3, 2013

Collaborator

Not sure how to upload file. So I put it here temporally.
https://docs.google.com/folder/d/0BzquzQPOKEwvdktSRl8ydHVNYms/edit?usp=sharing

Will upload it later.

Collaborator

sfh888 commented Feb 3, 2013

Not sure how to upload file. So I put it here temporally.
https://docs.google.com/folder/d/0BzquzQPOKEwvdktSRl8ydHVNYms/edit?usp=sharing

Will upload it later.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 4, 2013

Owner

So one line:

84 21 -0.0149165 -0.122075 2.27049 0.00744118 -0.06327 2.38291 0.012276 0.00936729 2.39145 -0.115289 0.327834 2.36584 -0.113314 0.500859 2.39322 -0.242279 0.291368 2.52797 -0.352641 0.28987 2.69423 -0.439007 0.286847 2.89063 -0.489165 0.334833 2.8869 -0.0895004 0.25937 2.28504 -0.286442 0.119896 2.16466 -0.503346 -0.0253575 2.0906 -0.573525 -0.0549947 2.07541 -0.0113423 -0.112184 2.38843 -0.133637 -0.490255 2.41039 -0.260693 -0.863395 2.42741 -0.325046 -0.921104 2.38168 0.0500712 -0.0862218 2.37608 0.269981 -0.46962 2.34046 0.537438 -0.792841 2.39032 0.47731 -0.848124 2.34704

starts with [frame_number] [21 (which stands for what?)] [what?] [What?] [what?]...

Could you help me out with what these numbers mean?

Owner

rhema commented Feb 4, 2013

So one line:

84 21 -0.0149165 -0.122075 2.27049 0.00744118 -0.06327 2.38291 0.012276 0.00936729 2.39145 -0.115289 0.327834 2.36584 -0.113314 0.500859 2.39322 -0.242279 0.291368 2.52797 -0.352641 0.28987 2.69423 -0.439007 0.286847 2.89063 -0.489165 0.334833 2.8869 -0.0895004 0.25937 2.28504 -0.286442 0.119896 2.16466 -0.503346 -0.0253575 2.0906 -0.573525 -0.0549947 2.07541 -0.0113423 -0.112184 2.38843 -0.133637 -0.490255 2.41039 -0.260693 -0.863395 2.42741 -0.325046 -0.921104 2.38168 0.0500712 -0.0862218 2.37608 0.269981 -0.46962 2.34046 0.537438 -0.792841 2.39032 0.47731 -0.848124 2.34704

starts with [frame_number] [21 (which stands for what?)] [what?] [What?] [what?]...

Could you help me out with what these numbers mean?

@sfh888

This comment has been minimized.

Show comment
Hide comment
@sfh888

sfh888 Feb 4, 2013

Collaborator

Sure. Kinect sdk provides 3D locations in meter. No rotation is provided.
The format is:
[frame_number] [SKELETON_POSITION_Number] [root_x] [root_y] [root_z] [HIP_CENTER_x] [HIP_CENTER_y] [HIP_CENTER_z] .[follow the order on msdn page]..[FOOT_RIGHT_x] [FOOT_RIGHT_y] [FOOT_RIGHT_z]

Please let me know if it is not clear.

Collaborator

sfh888 commented Feb 4, 2013

Sure. Kinect sdk provides 3D locations in meter. No rotation is provided.
The format is:
[frame_number] [SKELETON_POSITION_Number] [root_x] [root_y] [root_z] [HIP_CENTER_x] [HIP_CENTER_y] [HIP_CENTER_z] .[follow the order on msdn page]..[FOOT_RIGHT_x] [FOOT_RIGHT_y] [FOOT_RIGHT_z]

Please let me know if it is not clear.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 4, 2013

Owner

I totally missed the link you gave me (http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx). I got it now.

Thanks!

Owner

rhema commented Feb 4, 2013

I totally missed the link you gave me (http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx). I got it now.

Thanks!

@sfh888

This comment has been minimized.

Show comment
Hide comment
@sfh888

sfh888 Feb 6, 2013

Collaborator

Here is the binary file of indirect movements "kinect_indirect_slower.bin". @rhema
https://docs.google.com/folder/d/0BzquzQPOKEwvdktSRl8ydHVNYms/edit?usp=sharing

The data is all integers, and each integer consume 4 bytes. Content is almost the same, except that root position is not included. In detail, it is
[ 1st integer Frame No.] [2nd integer Skeleton No. (which is 20)] [3-5 integers HIP_CENTER_x HIP_CENTER_y HIP_CENTER_z] ......[60-62 integers FOOT_RIGHT_x FOOT_RIGHT_y FOOT_RIGHT_z]

It is identical with Peizhao's system, which we will use for demonstration.

Collaborator

sfh888 commented Feb 6, 2013

Here is the binary file of indirect movements "kinect_indirect_slower.bin". @rhema
https://docs.google.com/folder/d/0BzquzQPOKEwvdktSRl8ydHVNYms/edit?usp=sharing

The data is all integers, and each integer consume 4 bytes. Content is almost the same, except that root position is not included. In detail, it is
[ 1st integer Frame No.] [2nd integer Skeleton No. (which is 20)] [3-5 integers HIP_CENTER_x HIP_CENTER_y HIP_CENTER_z] ......[60-62 integers FOOT_RIGHT_x FOOT_RIGHT_y FOOT_RIGHT_z]

It is identical with Peizhao's system, which we will use for demonstration.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 6, 2013

Owner

It looks like the frame integer is two bytes. If the 2nd integer is supposed to evaluate to 20 (0x14), I can't see it anywhere. Frames do seep to be split up into 4*62 bytes, otherwise, I have no idea how to interpret this data. Here's some hex from this data:

Hex f400000001000000dd000000c0ffffff5b0c0000e3000000f6ffffff8b0c00000b0100002e010000820c000029010000dd0100003f0c0000b9010000ab000000830c0000b8010000b8ffffff6a0c000087010000e5fefffff50b000078010000a6feffffda0b000073000000b2000000740c00000e000000baffffff780c0000cffffffffefeffff380c0000c7ffffff9dfeffff180c00002001000073ffffff530c000013010000c0fdffff8f0c0000d200000066fcffffc30c0000cf00000040fcffff670c0000890000007bffffff4d0c000010000000ecfdffffe30b0000d1ffffff82fcffffb30b0000dfffffff58fcffff4c0b0000
Hex f500000001000000d2000000b5ffffff610c0000d6000000ebffffff930c0000fd000000200100008c0c00001b010000d9010000480c0000aa010000a20000008a0c0000b50100009effffff6e0c000077010000b4feffff030c00006101000051feffffeb0b00005c000000aa0000007c0c0000deffffff9affffffa90c000081ffffffb9feffff680c00006effffff59feffff530c00001601000068ffffff5c0c0000f2000000c3fdffffa40c0000ba00000085fcffffcd0c0000c00000005ffcffff7c0c0000810000006cffffff530c000025000000edfdffffec0b0000ddffffff60fcffff980b0000e3ffffff3efcffff450b0000
Hex f600000001000000c90000009effffff300c0000ca000000d8ffffff5e0c0000da00000012010000490c0000ee000000cf010000060c00008a010000990000004d0c0000a701000092ffffff490c000090010000a0feffff070c00008001000040feffffed0b000042000000a00000003b0c0000c6ffffff9bffffff700c000064ffffffbbfeffff6f0c000052ffffff72feffff6a0c00000e01000054ffffff300c0000e60000009bfdffff7c0c0000c20000005dfcffffb10c0000c700000039fcffff570c00007b00000055ffffff1f0c00001a000000cefdffffa40b0000bbffffff6ffcffff380b0000bdffffff4afcffffe40a0000
Hex f700000001000000b400000091ffffffec0b0000b4000000ccffffff190c0000c500000009010000090c0000db000000c4010000da0b0000660100008e000000090c00009e0100008cffffff2c0c0000d001000099feffff240c0000d101000044feffff1c0c00002000000094000000f50b000099ffffffb6ffffff300c000021fffffff6feffff5d0c000000ffffffbffeffff7e0c0000f700000043ffffffea0b0000e3000000c8fdffff320c0000d200000084fcffff820c0000d40000005efcffff290c0000670000004effffffdd0b000008000000c6fdffff5e0b00009fffffff92fcffffd90a0000a1ffffff6bfcffff810a0000
Hex f8000000010000008d00000092ffffffa30b000090000000c9ffffffd50b0000ae00000001010000d60b0000c8000000b5010000b00b00004f01000077000000d10b0000a40100008effffffed0b000015020000c7feffff120c0000340200006afeffff230c0000faffffff89000000bb0b00003cffffffcefffffff60b00009cfeffff33ffffff330c00007efefffff3feffff4c0c0000d10000003bffffff920b0000d3000000cffdffff000c0000c800000078fcffff7c0c0000cb00000050fcffff1f0c00003b0000004fffffff980b0000edffffffcafdfffff60a00008affffff8ffcffff700a00008fffffff65fcffff110a0000
Hex f9000000010000005e00000081ffffff480b000062000000b7ffffff7c0b00007f000000f70000008e0b0000a7000000a9010000750b00001b0100005b000000650b0000970100009fffffff460b000038020000d2feffff260b00006202000084feffff170b0000c2ffffff75000000620b0000f9fefffffdffffff7a0b000018feffff5cffffff950b0000d8fdffff17ffffff990b0000a70000002effffff3a0b0000a0000000befdffff9c0b0000b100000073fcffff6a0c0000b10000004afcffff0a0c00000b0000003bffffff3a0b0000d5ffffffc8fdffff860a00007fffffff7afcffff4e0a000081ffffff51fcffffee090000
Hex fa000000010000003700000071ffffff030b00003e000000a7ffffff390b000058000000ee0000004c0b000073000000a5010000410b0000e90000004a000000fd0a00004e0100009affffff580a0000af010000d6feffffa2090000d90100009cfeffff8f0900009bffffff64000000150b0000e1feffffe3ffffffb20a00001cfeffff3cffffff400a0000ecfdffffeafeffff2b0a00007d00000022ffffffec0a000065000000d4fdffffdf0a000078000000c2fcffff750b00007200000098fcffff140b0000e7ffffff2afffffff80a0000bcffffffcffdffff410a00007effffff67fcffff460a00007cffffff3efcffffe4090000
Hex fb000000010000001100000065ffffffb60a00001800000099ffffffef0a000036000000e70000001a0b000053000000a50100001c0b0000bd0000004d000000af0a0000bc000000dfffffffb20900008f00000080ffffffdd0800007e00000054ffffff9a0800008affffff61000000b40a000036ffffffc9fffffff00900002fffffff0dffffff020900002affffffcdfeffffe3080000520000001dffffffaa0a000057000000b1fdffff2a0a00004c00000082fcffff990a00004b00000059fcffff390a0000c6ffffff25ffffff9a0a0000aaffffffc0fdffff140a00007fffffff5dfcffff420a00007bffffff34fcffffe0090000
Hex fc00000001000000070000006bffffff840a0000080000009dffffffc00a000022000000e8000000f80a00003d000000a4010000f90a0000a60000006d000000980a00002c00000019000000940900007d0000009bffffffc10800009100000080ffffffa708000097ffffff70000000830a00006bfffffff0ffffffad0900006400000042000000ac090000b70000005b000000a80900003b00000033ffffff690a000094000000b7fdffffca090000d900000076fcffffbb090000df0000004cfcffff5c090000caffffff33ffffff690a0000a0ffffffc4fdfffff70900007fffffff59fcffff3f0a00007fffffff30fcffffdf090000
Hex fd000000010000000d0000008dffffff600a000006000000b8ffffff9e0a000011000000f6000000de0a000031000000ab010000da0a00009a00000090000000740a0000adffffffa400000080090000bd00000035000000340900000601000063000000410900008cffffff78000000320a0000e5ffffff2c0000006b090000d9000000480000003d09000029010000420000000d0900004600000041ffffff690a0000d400000004feffffd509000099010000e2fcffff46090000a4010000b8fcffffe9080000d7ffffff55ffffff030a00009affffffd6fdffffd409000080ffffff58fcffff3a0a000085ffffff2ffcffffda090000
Hex fe000000010000001f0000008bffffff220a000012000000c0ffffff660a00000900000032010000b00a00001c000000d4010000b80a0000b8000000840000005d0a000032000000c100000042090000590000002f000000a408000066000000080000007108000078ffffff900000003a0a0000c6feffff830000008a090000b3ffffffae0000002309000018000000b7000000250900007400000046ffffff150a000011010000f8fdffffbb090000ce010000d2fcffff44090000d6010000a8fcffffe8080000dcffffff55ffffffed090000afffffffe4fdffffae09000081ffffff5dfcffff330a00008affffff33fcffffd5090000
Hex ff00000001000000370000009cffffff0e0a000026000000caffffff510a00000800000024010000a50a000011000000cd010000aa0a0000c80000008f000000700a000060000000b900000079090000270000001c000000bf08000010000000d8ffffff8508000069ffffff77000000400a000078feffff90000000f00900003effffffc30000005909000050ffffffce0000004b0900009600000055ffffff010a000030010000e8fdffffa7090000d4010000bcfcffff52090000db01000090fcfffff8080000f0ffffff55ffffffda090000d2ffffffebfdffff9909000088ffffff6afcffff270a000091ffffff3efcffffcd090000
Hex 000100000100000041000000aaffffff070a00002f000000d0ffffff490a00000800000006010000a00a000019000000ad0100009d0a0000c70000009e0000007d0a00006a000000bf000000ad0900003e000000270000000709000038000000f0ffffffda08000064ffffff72000000420a000087feffff7c000000030a000016ffffffc30000006b0900003fffffffcb00000053090000a00000005ffffffffa0900003d010000e6fdffff9d090000d6010000b7fcffff56090000db0100008bfcfffffd080000ffffffff5effffffcc090000e4ffffffeefdffff930900008fffffff71fcffff210a000096ffffff45fcffffc8090000
Hex 010100000100000045000000aeffffff030a000033000000d1ffffff450a000009000000f40000009b0a00001f00000098010000940a0000c6000000a4000000820a000064000000bc000000bb09000042000000290000001709000040000000f6ffffffe908000062ffffff700000003e0a00009cfeffff6d000000eb0900002bffffffb7000000600900005bffffffc50000004c090000a300000062fffffff709000044010000eafdffff94090000d5010000cdfcffff53090000dd0100009ffcfffffc0800000400000061ffffffc4090000eeffffffeefdffff9209000093ffffff76fcffff1e0a00009affffff48fcffffc7090000
Hex 020100000100000045000000b0ffffffff09000033000000d0ffffff3e0a00000a000000ec000000940a000022000000900100008d0a0000c5000000a7000000830a000058000000b9000000ba090000440000002a0000001809000043000000faffffffe808000062ffffff79000000290a0000bbfeffffa4000000930900006dffffffe800000030090000b5ffffffe800000021090000a200000062fffffff409000047010000ebfdffff90090000da010000d7fcffff51090000e6010000a8fcfffffd0800000400000063ffffffb6090000f2ffffffecfdffff9209000095ffffff77fcffff1d0a00009fffffff49fcffffc8090000
Hex 03010000010000004d000000b6fffffff209000036000000d7ffffff310a000014000000fe000000730a00002a000000a00100007a0a0000e2000000a30000006f0a0000a9000000e20000007b090000970000005b000000d50800009200000030000000a008000091ffffff7a000000e709000079ffffff050100001609000048000000f7000000dd0800009600000003010000d5080000a600000065fffffff409000047010000edfdffff8e090000e3010000c0fcffff59090000fa01000094fcffff060900000900000069ffffffa8090000f5ffffffebfdffff9309000096ffffff77fcffff1d0a0000a7ffffff49fcffffca090000
Hex 04010000010000006800000097ffffffca0900004a000000cdffffff0b0a00003500000021010000400a000038000000cd0100005f0a0000cf0000006f0000000b0a0000bb0000009a000000ef080000c7000000fa0000006b080000a30000002001000040080000d1ffffffac0000009e090000880000009d0000000709000098010000400000001a09000005020000100000001d090000b500000053ffffffdf09000048010000f1fdffff8f090000e6010000b1fcffff590900000502000088fcffff08090000240000005effffff91090000f9ffffffe9fdffff9e09000096ffffff74fcffff220a0000b1ffffff48fcffffd2090000
Hex 05010000010000008e00000097ffffffbf09000086000000d2fffffff30900009a00000023010000e1090000f6000000ad010000b6090000550100008c000000cd09000082010000e0ffffff5b0900000902000065ffffffaf0800003e02000027ffffff850800002c000000cf0000007c0900008a0000001e000000e9080000e100000087ffffff73080000f600000051ffffff4e080000cd0000004cffffffd60900005c010000e0fdffff93090000e1010000b2fcffff58090000ec0100008cfcffff020900004e00000058ffffff8d090000feffffffe3fdffffc109000093ffffff73fcffff290a0000a3ffffff4bfcffffd8090000
Hex 0601000001000000fc000000a6ffffffaf090000f6000000e8ffffffb109000036010000e200000025090000b401000058010000e1080000d30100006b000000b2090000e40100007fffffff4a0a00002e020000aefeffffe10a0000460200006dfeffffd90a0000b80000008a000000fc08000006000000e1ffffffa1080000f0ffffff24ffffff1808000002000000f2fefffff10700002e0100004ffffffff509000065010000dafdffff95090000dc010000aefcffff5b090000f801000078fcffff14090000b400000061ffffff98090000e5ffffff11feffffe409000030ffffffaafcffff340a00005cffffff67fcffffee090000
Hex 0701000001000000060100003dffffff5f0900003601000065ffffff4b090000d6010000e0ffffff840800004302000089000000500800002f0200009effffff60080000f601000045ffffff93090000e5010000befeffff910a00000202000083feffffb40a000037010000ccffffff9708000024000000ccffffffb90800000affffffccffffffdc080000affeffffc0ffffffed080000fe00000008ffffffc0090000a9010000befdffff7b090000db01000095fcffff63090000d901000034fcffff870900009a0000002bffffff54090000bbffffffeefdfffffb09000099feffffb1fcffff4c0a000078feffff6dfcffff0e0a0000
Hex 08010000010000005d01000023feffff53090000760100004cfeffff33090000ec010000e0feffff7f0800006502000053ffffff4f080000f50100003dffffff0609000067010000d3feffffcd080000a401000091feffffc7090000be01000060feffffee0900004f01000005ffffff860800004600000090ffffffb708000067ffffff210000000909000021ffffff55000000210900006001000000feffff72090000070200003efdffff24090000f80100003cfcffff5709000006020000c5fbffff2c0900001701000009feffff89090000edffffff9afdffffd809000080feffffd2fcffff4e0a000086feffff83fcffff240a0000
Hex 0901000001000000690100008afdffff400900006f010000b0fdffff1f090000d101000011feffff600800007c0200005dfeffff46080000f8010000b6feffff4c0900006201000030feffffc8080000ca01000012feffffa2090000e7010000defdffffc20900005301000090feffff9e0800008b00000052ffffffaa080000e4fffffff3ffffffe5080000b5ffffff1e000000050900007101000055fdffff3409000019020000defcffff07090000ed0100005bfcffff5f0900000c02000014fcffff760900002501000069fdffffbc090000c5ffffff1ffdffffdb09000075feffffb9fcffff560a0000f2feffffeafcffff240a0000
Hex 0a010000010000006b010000c5fdffffa40900006a010000f0fdffffbc090000cd010000b1fefffffe0900007a020000fffeffffdf090000e60100006cfeffff54090000da0000007cfeffff9d08000079000000fcfdffff1709000096000000c8fdffff37090000600100002efeffff860800008b000000c0feffff94080000b2ffffff4cffffffc1080000baffffff89ffffffa20800005b01000033fdffff0d09000030020000a1fcfffff8080000e60100005cfcffff640900002802000040fcffff750900001f01000058fdfffff40900008fffffff45fdffff000a000081feffff75fcffff270a0000d7feffffbafcffff1b0a0000
Hex 0b010000010000005101000089fdffff9b0900005e010000adfdffffc909000082010000b5feffff2e0a00003202000019ffffff2f0a0000b801000061feffff3f0900009f0000005cfeffffd508000056000000cefdffff40090000720000009bfdffff61090000a70000003dfeffff77090000d8ffffff4ffeffffba0800002affffff94feffffd20800002affffffd6feffffaa0800008001000037fdffff390900003502000087fcfffff8080000e80100005afcffff63090000d80100003ffcfffff9080000060100003afdffff9e090000d1ffffff04fdffffd109000086feffff82fcffff2c0a0000cdfeffff92fcffff060a0000
Hex 0c01000001000000550100007ffdffff9509000062010000a2fdffffd609000062010000d3feffff6e0a0000f000000015ffffff500b00008d01000088feffffed0800009100000032feffffcf080000c6000000acfdffff45090000e200000079fdffff660900006c0000003efeffffa70900002900000063fdffffcf0800001a000000d1fdffff8009000011000000f3fdffff840900009e01000074fdffff610900003702000086fcfffff2080000f3010000befcffffbe090000d601000079fcffff760900001a0100004cfdffff77090000edfffffffbfcffffc909000068feffffbcfcffff370a0000a5feffffd3fcffff0a0a0000
Owner

rhema commented Feb 6, 2013

It looks like the frame integer is two bytes. If the 2nd integer is supposed to evaluate to 20 (0x14), I can't see it anywhere. Frames do seep to be split up into 4*62 bytes, otherwise, I have no idea how to interpret this data. Here's some hex from this data:

Hex f400000001000000dd000000c0ffffff5b0c0000e3000000f6ffffff8b0c00000b0100002e010000820c000029010000dd0100003f0c0000b9010000ab000000830c0000b8010000b8ffffff6a0c000087010000e5fefffff50b000078010000a6feffffda0b000073000000b2000000740c00000e000000baffffff780c0000cffffffffefeffff380c0000c7ffffff9dfeffff180c00002001000073ffffff530c000013010000c0fdffff8f0c0000d200000066fcffffc30c0000cf00000040fcffff670c0000890000007bffffff4d0c000010000000ecfdffffe30b0000d1ffffff82fcffffb30b0000dfffffff58fcffff4c0b0000
Hex f500000001000000d2000000b5ffffff610c0000d6000000ebffffff930c0000fd000000200100008c0c00001b010000d9010000480c0000aa010000a20000008a0c0000b50100009effffff6e0c000077010000b4feffff030c00006101000051feffffeb0b00005c000000aa0000007c0c0000deffffff9affffffa90c000081ffffffb9feffff680c00006effffff59feffff530c00001601000068ffffff5c0c0000f2000000c3fdffffa40c0000ba00000085fcffffcd0c0000c00000005ffcffff7c0c0000810000006cffffff530c000025000000edfdffffec0b0000ddffffff60fcffff980b0000e3ffffff3efcffff450b0000
Hex f600000001000000c90000009effffff300c0000ca000000d8ffffff5e0c0000da00000012010000490c0000ee000000cf010000060c00008a010000990000004d0c0000a701000092ffffff490c000090010000a0feffff070c00008001000040feffffed0b000042000000a00000003b0c0000c6ffffff9bffffff700c000064ffffffbbfeffff6f0c000052ffffff72feffff6a0c00000e01000054ffffff300c0000e60000009bfdffff7c0c0000c20000005dfcffffb10c0000c700000039fcffff570c00007b00000055ffffff1f0c00001a000000cefdffffa40b0000bbffffff6ffcffff380b0000bdffffff4afcffffe40a0000
Hex f700000001000000b400000091ffffffec0b0000b4000000ccffffff190c0000c500000009010000090c0000db000000c4010000da0b0000660100008e000000090c00009e0100008cffffff2c0c0000d001000099feffff240c0000d101000044feffff1c0c00002000000094000000f50b000099ffffffb6ffffff300c000021fffffff6feffff5d0c000000ffffffbffeffff7e0c0000f700000043ffffffea0b0000e3000000c8fdffff320c0000d200000084fcffff820c0000d40000005efcffff290c0000670000004effffffdd0b000008000000c6fdffff5e0b00009fffffff92fcffffd90a0000a1ffffff6bfcffff810a0000
Hex f8000000010000008d00000092ffffffa30b000090000000c9ffffffd50b0000ae00000001010000d60b0000c8000000b5010000b00b00004f01000077000000d10b0000a40100008effffffed0b000015020000c7feffff120c0000340200006afeffff230c0000faffffff89000000bb0b00003cffffffcefffffff60b00009cfeffff33ffffff330c00007efefffff3feffff4c0c0000d10000003bffffff920b0000d3000000cffdffff000c0000c800000078fcffff7c0c0000cb00000050fcffff1f0c00003b0000004fffffff980b0000edffffffcafdfffff60a00008affffff8ffcffff700a00008fffffff65fcffff110a0000
Hex f9000000010000005e00000081ffffff480b000062000000b7ffffff7c0b00007f000000f70000008e0b0000a7000000a9010000750b00001b0100005b000000650b0000970100009fffffff460b000038020000d2feffff260b00006202000084feffff170b0000c2ffffff75000000620b0000f9fefffffdffffff7a0b000018feffff5cffffff950b0000d8fdffff17ffffff990b0000a70000002effffff3a0b0000a0000000befdffff9c0b0000b100000073fcffff6a0c0000b10000004afcffff0a0c00000b0000003bffffff3a0b0000d5ffffffc8fdffff860a00007fffffff7afcffff4e0a000081ffffff51fcffffee090000
Hex fa000000010000003700000071ffffff030b00003e000000a7ffffff390b000058000000ee0000004c0b000073000000a5010000410b0000e90000004a000000fd0a00004e0100009affffff580a0000af010000d6feffffa2090000d90100009cfeffff8f0900009bffffff64000000150b0000e1feffffe3ffffffb20a00001cfeffff3cffffff400a0000ecfdffffeafeffff2b0a00007d00000022ffffffec0a000065000000d4fdffffdf0a000078000000c2fcffff750b00007200000098fcffff140b0000e7ffffff2afffffff80a0000bcffffffcffdffff410a00007effffff67fcffff460a00007cffffff3efcffffe4090000
Hex fb000000010000001100000065ffffffb60a00001800000099ffffffef0a000036000000e70000001a0b000053000000a50100001c0b0000bd0000004d000000af0a0000bc000000dfffffffb20900008f00000080ffffffdd0800007e00000054ffffff9a0800008affffff61000000b40a000036ffffffc9fffffff00900002fffffff0dffffff020900002affffffcdfeffffe3080000520000001dffffffaa0a000057000000b1fdffff2a0a00004c00000082fcffff990a00004b00000059fcffff390a0000c6ffffff25ffffff9a0a0000aaffffffc0fdffff140a00007fffffff5dfcffff420a00007bffffff34fcffffe0090000
Hex fc00000001000000070000006bffffff840a0000080000009dffffffc00a000022000000e8000000f80a00003d000000a4010000f90a0000a60000006d000000980a00002c00000019000000940900007d0000009bffffffc10800009100000080ffffffa708000097ffffff70000000830a00006bfffffff0ffffffad0900006400000042000000ac090000b70000005b000000a80900003b00000033ffffff690a000094000000b7fdffffca090000d900000076fcffffbb090000df0000004cfcffff5c090000caffffff33ffffff690a0000a0ffffffc4fdfffff70900007fffffff59fcffff3f0a00007fffffff30fcffffdf090000
Hex fd000000010000000d0000008dffffff600a000006000000b8ffffff9e0a000011000000f6000000de0a000031000000ab010000da0a00009a00000090000000740a0000adffffffa400000080090000bd00000035000000340900000601000063000000410900008cffffff78000000320a0000e5ffffff2c0000006b090000d9000000480000003d09000029010000420000000d0900004600000041ffffff690a0000d400000004feffffd509000099010000e2fcffff46090000a4010000b8fcffffe9080000d7ffffff55ffffff030a00009affffffd6fdffffd409000080ffffff58fcffff3a0a000085ffffff2ffcffffda090000
Hex fe000000010000001f0000008bffffff220a000012000000c0ffffff660a00000900000032010000b00a00001c000000d4010000b80a0000b8000000840000005d0a000032000000c100000042090000590000002f000000a408000066000000080000007108000078ffffff900000003a0a0000c6feffff830000008a090000b3ffffffae0000002309000018000000b7000000250900007400000046ffffff150a000011010000f8fdffffbb090000ce010000d2fcffff44090000d6010000a8fcffffe8080000dcffffff55ffffffed090000afffffffe4fdffffae09000081ffffff5dfcffff330a00008affffff33fcffffd5090000
Hex ff00000001000000370000009cffffff0e0a000026000000caffffff510a00000800000024010000a50a000011000000cd010000aa0a0000c80000008f000000700a000060000000b900000079090000270000001c000000bf08000010000000d8ffffff8508000069ffffff77000000400a000078feffff90000000f00900003effffffc30000005909000050ffffffce0000004b0900009600000055ffffff010a000030010000e8fdffffa7090000d4010000bcfcffff52090000db01000090fcfffff8080000f0ffffff55ffffffda090000d2ffffffebfdffff9909000088ffffff6afcffff270a000091ffffff3efcffffcd090000
Hex 000100000100000041000000aaffffff070a00002f000000d0ffffff490a00000800000006010000a00a000019000000ad0100009d0a0000c70000009e0000007d0a00006a000000bf000000ad0900003e000000270000000709000038000000f0ffffffda08000064ffffff72000000420a000087feffff7c000000030a000016ffffffc30000006b0900003fffffffcb00000053090000a00000005ffffffffa0900003d010000e6fdffff9d090000d6010000b7fcffff56090000db0100008bfcfffffd080000ffffffff5effffffcc090000e4ffffffeefdffff930900008fffffff71fcffff210a000096ffffff45fcffffc8090000
Hex 010100000100000045000000aeffffff030a000033000000d1ffffff450a000009000000f40000009b0a00001f00000098010000940a0000c6000000a4000000820a000064000000bc000000bb09000042000000290000001709000040000000f6ffffffe908000062ffffff700000003e0a00009cfeffff6d000000eb0900002bffffffb7000000600900005bffffffc50000004c090000a300000062fffffff709000044010000eafdffff94090000d5010000cdfcffff53090000dd0100009ffcfffffc0800000400000061ffffffc4090000eeffffffeefdffff9209000093ffffff76fcffff1e0a00009affffff48fcffffc7090000
Hex 020100000100000045000000b0ffffffff09000033000000d0ffffff3e0a00000a000000ec000000940a000022000000900100008d0a0000c5000000a7000000830a000058000000b9000000ba090000440000002a0000001809000043000000faffffffe808000062ffffff79000000290a0000bbfeffffa4000000930900006dffffffe800000030090000b5ffffffe800000021090000a200000062fffffff409000047010000ebfdffff90090000da010000d7fcffff51090000e6010000a8fcfffffd0800000400000063ffffffb6090000f2ffffffecfdffff9209000095ffffff77fcffff1d0a00009fffffff49fcffffc8090000
Hex 03010000010000004d000000b6fffffff209000036000000d7ffffff310a000014000000fe000000730a00002a000000a00100007a0a0000e2000000a30000006f0a0000a9000000e20000007b090000970000005b000000d50800009200000030000000a008000091ffffff7a000000e709000079ffffff050100001609000048000000f7000000dd0800009600000003010000d5080000a600000065fffffff409000047010000edfdffff8e090000e3010000c0fcffff59090000fa01000094fcffff060900000900000069ffffffa8090000f5ffffffebfdffff9309000096ffffff77fcffff1d0a0000a7ffffff49fcffffca090000
Hex 04010000010000006800000097ffffffca0900004a000000cdffffff0b0a00003500000021010000400a000038000000cd0100005f0a0000cf0000006f0000000b0a0000bb0000009a000000ef080000c7000000fa0000006b080000a30000002001000040080000d1ffffffac0000009e090000880000009d0000000709000098010000400000001a09000005020000100000001d090000b500000053ffffffdf09000048010000f1fdffff8f090000e6010000b1fcffff590900000502000088fcffff08090000240000005effffff91090000f9ffffffe9fdffff9e09000096ffffff74fcffff220a0000b1ffffff48fcffffd2090000
Hex 05010000010000008e00000097ffffffbf09000086000000d2fffffff30900009a00000023010000e1090000f6000000ad010000b6090000550100008c000000cd09000082010000e0ffffff5b0900000902000065ffffffaf0800003e02000027ffffff850800002c000000cf0000007c0900008a0000001e000000e9080000e100000087ffffff73080000f600000051ffffff4e080000cd0000004cffffffd60900005c010000e0fdffff93090000e1010000b2fcffff58090000ec0100008cfcffff020900004e00000058ffffff8d090000feffffffe3fdffffc109000093ffffff73fcffff290a0000a3ffffff4bfcffffd8090000
Hex 0601000001000000fc000000a6ffffffaf090000f6000000e8ffffffb109000036010000e200000025090000b401000058010000e1080000d30100006b000000b2090000e40100007fffffff4a0a00002e020000aefeffffe10a0000460200006dfeffffd90a0000b80000008a000000fc08000006000000e1ffffffa1080000f0ffffff24ffffff1808000002000000f2fefffff10700002e0100004ffffffff509000065010000dafdffff95090000dc010000aefcffff5b090000f801000078fcffff14090000b400000061ffffff98090000e5ffffff11feffffe409000030ffffffaafcffff340a00005cffffff67fcffffee090000
Hex 0701000001000000060100003dffffff5f0900003601000065ffffff4b090000d6010000e0ffffff840800004302000089000000500800002f0200009effffff60080000f601000045ffffff93090000e5010000befeffff910a00000202000083feffffb40a000037010000ccffffff9708000024000000ccffffffb90800000affffffccffffffdc080000affeffffc0ffffffed080000fe00000008ffffffc0090000a9010000befdffff7b090000db01000095fcffff63090000d901000034fcffff870900009a0000002bffffff54090000bbffffffeefdfffffb09000099feffffb1fcffff4c0a000078feffff6dfcffff0e0a0000
Hex 08010000010000005d01000023feffff53090000760100004cfeffff33090000ec010000e0feffff7f0800006502000053ffffff4f080000f50100003dffffff0609000067010000d3feffffcd080000a401000091feffffc7090000be01000060feffffee0900004f01000005ffffff860800004600000090ffffffb708000067ffffff210000000909000021ffffff55000000210900006001000000feffff72090000070200003efdffff24090000f80100003cfcffff5709000006020000c5fbffff2c0900001701000009feffff89090000edffffff9afdffffd809000080feffffd2fcffff4e0a000086feffff83fcffff240a0000
Hex 0901000001000000690100008afdffff400900006f010000b0fdffff1f090000d101000011feffff600800007c0200005dfeffff46080000f8010000b6feffff4c0900006201000030feffffc8080000ca01000012feffffa2090000e7010000defdffffc20900005301000090feffff9e0800008b00000052ffffffaa080000e4fffffff3ffffffe5080000b5ffffff1e000000050900007101000055fdffff3409000019020000defcffff07090000ed0100005bfcffff5f0900000c02000014fcffff760900002501000069fdffffbc090000c5ffffff1ffdffffdb09000075feffffb9fcffff560a0000f2feffffeafcffff240a0000
Hex 0a010000010000006b010000c5fdffffa40900006a010000f0fdffffbc090000cd010000b1fefffffe0900007a020000fffeffffdf090000e60100006cfeffff54090000da0000007cfeffff9d08000079000000fcfdffff1709000096000000c8fdffff37090000600100002efeffff860800008b000000c0feffff94080000b2ffffff4cffffffc1080000baffffff89ffffffa20800005b01000033fdffff0d09000030020000a1fcfffff8080000e60100005cfcffff640900002802000040fcffff750900001f01000058fdfffff40900008fffffff45fdffff000a000081feffff75fcffff270a0000d7feffffbafcffff1b0a0000
Hex 0b010000010000005101000089fdffff9b0900005e010000adfdffffc909000082010000b5feffff2e0a00003202000019ffffff2f0a0000b801000061feffff3f0900009f0000005cfeffffd508000056000000cefdffff40090000720000009bfdffff61090000a70000003dfeffff77090000d8ffffff4ffeffffba0800002affffff94feffffd20800002affffffd6feffffaa0800008001000037fdffff390900003502000087fcfffff8080000e80100005afcffff63090000d80100003ffcfffff9080000060100003afdffff9e090000d1ffffff04fdffffd109000086feffff82fcffff2c0a0000cdfeffff92fcffff060a0000
Hex 0c01000001000000550100007ffdffff9509000062010000a2fdffffd609000062010000d3feffff6e0a0000f000000015ffffff500b00008d01000088feffffed0800009100000032feffffcf080000c6000000acfdffff45090000e200000079fdffff660900006c0000003efeffffa70900002900000063fdffffcf0800001a000000d1fdffff8009000011000000f3fdffff840900009e01000074fdffff610900003702000086fcfffff2080000f3010000befcffffbe090000d601000079fcffff760900001a0100004cfdffff77090000edfffffffbfcffffc909000068feffffbcfcffff370a0000a5feffffd3fcffff0a0a0000
@sfh888

This comment has been minimized.

Show comment
Hide comment
@sfh888

sfh888 Feb 6, 2013

Collaborator

There are total 4 + 4 + 20_3_4=248 bites. The second integer is "the number of skeleton in this frame", so it is 1 instead of 20.

Sorry, my mistake.

Collaborator

sfh888 commented Feb 6, 2013

There are total 4 + 4 + 20_3_4=248 bites. The second integer is "the number of skeleton in this frame", so it is 1 instead of 20.

Sorry, my mistake.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 6, 2013

Owner

I understand the data format you are talking about, but it looks like the hex values don't match up.

Looking at the first 12 bytes starting about half way down:

00 01 0000 0100 0000 4100 0000
01 01 0000 0100 0000 4500 0000
02 01 0000 0100 0000 4500 0000

Looks like the first two bytes(0-1 inclusive) are the fame, and the next two are the skeleton count (2-3 inclusive). I'm not seeing where positions are. Maybe you could talk to Peizhao or send "raw" ascii data instead.

Owner

rhema commented Feb 6, 2013

I understand the data format you are talking about, but it looks like the hex values don't match up.

Looking at the first 12 bytes starting about half way down:

00 01 0000 0100 0000 4100 0000
01 01 0000 0100 0000 4500 0000
02 01 0000 0100 0000 4500 0000

Looks like the first two bytes(0-1 inclusive) are the fame, and the next two are the skeleton count (2-3 inclusive). I'm not seeing where positions are. Maybe you could talk to Peizhao or send "raw" ascii data instead.

@rhema rhema closed this in ec5d23c Feb 7, 2013

@mkosler

This comment has been minimized.

Show comment
Hide comment
@mkosler

mkosler Feb 24, 2013

Hey Rhema, can I get a sample ASCII output of the first few lines of the binary file. I'm getting some funky values.

mkosler commented Feb 24, 2013

Hey Rhema, can I get a sample ASCII output of the first few lines of the binary file. I'm getting some funky values.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 24, 2013

Owner

The data from the file:
https://github.com/rhema/art/blob/master/processing/sandbox/communication/data/DirectIndirectRawData.txt
Has one repeated root_position{x,y,z} in the beginning.

Is the same data as:
https://github.com/rhema/art/blob/master/processing/sandbox/communication/data/kinect_indirect_slower.bin
Which actual comes in at 10 fps instead of 30.

Owner

rhema commented Feb 24, 2013

The data from the file:
https://github.com/rhema/art/blob/master/processing/sandbox/communication/data/DirectIndirectRawData.txt
Has one repeated root_position{x,y,z} in the beginning.

Is the same data as:
https://github.com/rhema/art/blob/master/processing/sandbox/communication/data/kinect_indirect_slower.bin
Which actual comes in at 10 fps instead of 30.

@mkosler

This comment has been minimized.

Show comment
Hide comment
@mkosler

mkosler Feb 24, 2013

Wow...10 FPS? That's the rate from Peizhao's system? Hrmm.

mkosler commented Feb 24, 2013

Wow...10 FPS? That's the rate from Peizhao's system? Hrmm.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 24, 2013

Owner

He's since wrote an update to make it 30 fps. We used it for the stage rehearsal, but I think we accidentally used the 10 fps version for the performance.

It would be good if we could get him to publish source code or at least binaries.

Owner

rhema commented Feb 24, 2013

He's since wrote an update to make it 30 fps. We used it for the stage rehearsal, but I think we accidentally used the 10 fps version for the performance.

It would be good if we could get him to publish source code or at least binaries.

@mkosler

This comment has been minimized.

Show comment
Hide comment
@mkosler

mkosler Feb 24, 2013

And the 30 FPS version spits out the same information as the 10 FPS version?

mkosler commented Feb 24, 2013

And the 30 FPS version spits out the same information as the 10 FPS version?

@mkosler

This comment has been minimized.

Show comment
Hide comment
@mkosler

mkosler Feb 24, 2013

Also, is it in the same order? This is what I get from the first line of kinect_indirect_slower.bin:

_frameNumber = 244
_skeletonNumber = 1
Joint (0.221000, -0.064000, 3.163000)
...
Joint (-0.033000, -0.936000, 2.892000)

Also, what's the origin and the scale for this information? SimpleOpenNI - what my team used last time - gave us values from 320 x 240, with the origin in the top-left corner of our window. I'm guessing that this gives us values about the center of the screen, with some unknown scale.

mkosler commented Feb 24, 2013

Also, is it in the same order? This is what I get from the first line of kinect_indirect_slower.bin:

_frameNumber = 244
_skeletonNumber = 1
Joint (0.221000, -0.064000, 3.163000)
...
Joint (-0.033000, -0.936000, 2.892000)

Also, what's the origin and the scale for this information? SimpleOpenNI - what my team used last time - gave us values from 320 x 240, with the origin in the top-left corner of our window. I'm guessing that this gives us values about the center of the screen, with some unknown scale.

@rhema

This comment has been minimized.

Show comment
Hide comment
@rhema

rhema Feb 25, 2013

Owner

I don't know about the scale. We can talk to Peizhao about it tomorrow.

Looks like your data is right to me. The first joint is NUI_SKELETON_POSITION_HIP_CENTER.

The rest are in the link that was shared above:
http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx .

Owner

rhema commented Feb 25, 2013

I don't know about the scale. We can talk to Peizhao about it tomorrow.

Looks like your data is right to me. The first joint is NUI_SKELETON_POSITION_HIP_CENTER.

The rest are in the link that was shared above:
http://msdn.microsoft.com/en-us/library/nuisensor.nui_skeleton_position_index.aspx .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment