프로그램 사용/kinect2022. 4. 28. 00:04

 

 

% brew install libfreenect
% ls -al /usr/local/Cellar/libfreenect/0.6.2/bin
total 1584
drwxr-xr-x  16 shin  admin    512  4 27 23:46 .
drwxr-xr-x   9 shin  admin    288  4 27 23:46 ..
-r-xr-xr-x   1 shin  admin   1897  4 27 23:46 fakenect
-r-xr-xr-x   1 shin  admin  76648  4 27 23:46 fakenect-record
-r-xr-xr-x   1 shin  admin  51080  4 27 23:46 freenect-camtest
-r-xr-xr-x   1 shin  admin  54768  4 27 23:46 freenect-chunkview
-r-xr-xr-x   1 shin  admin  87616  4 27 23:46 freenect-cpp_pcview
-r-xr-xr-x   1 shin  admin  88056  4 27 23:46 freenect-cppview
-r-xr-xr-x   1 shin  admin  52872  4 27 23:46 freenect-glpclview
-r-xr-xr-x   1 shin  admin  56312  4 27 23:46 freenect-glvi
-r-xr-xr-x   1 shin  admin  55672  4 27 23:46 freenect-hiview
-r-xr-xr-x   1 shin  admin  53152  4 27 23:46 freenect-micview
-r-xr-xr-x   1 shin  admin  50024  4 27 23:46 freenect-regtest
-r-xr-xr-x   1 shin  admin  55232  4 27 23:46 freenect-regview
-r-xr-xr-x   1 shin  admin  50064  4 27 23:46 freenect-tiltdemo
-r-xr-xr-x   1 shin  admin  50728  4 27 23:46 freenect-wavrecord

 

% ./freenect-glview 
Kinect camera test
Number of devices found: 1
Found sibling device [same parent]
Unable to claim interface LIBUSB_ERROR_NOT_FOUND
Found sibling device [same parent]
Trying to open ./audios.bin as firmware...
Trying to open /Users/shin/.libfreenect/audios.bin as firmware...
Trying to open /usr/local/share/libfreenect/audios.bin as firmware...
Trying to open /usr/share/libfreenect/audios.bin as firmware...
Trying to open ./../Resources/audios.bin as firmware...
upload_firmware: failed to find firmware file.
upload_firmware failed: -2
Could not open device

% ./freenect-glpclview
Unable to claim interface LIBUSB_ERROR_OTHER
Could not claim interface: LIBUSB_ERROR_OTHER
Error: Invalid index [0]
Error: Kinect not connected?


% ./freenect-camtest
Found sibling device [same parent]
Unable to claim interface LIBUSB_ERROR_NO_DEVICE
[Stream 70] Negotiated packet size 1920
write_register: 0x0105 <= 0x00
write_register: 0x0006 <= 0x00
write_register: 0x0012 <= 0x03
write_register: 0x0013 <= 0x01
write_register: 0x0014 <= 0x1e
write_register: 0x0006 <= 0x02
write_register: 0x0017 <= 0x00
[Stream 80] Negotiated packet size 1920
write_register: 0x000c <= 0x00
write_register: 0x000d <= 0x01
write_register: 0x000e <= 0x1e
write_register: 0x0005 <= 0x01
[Stream 70] Lost 185 total packets in 0 frames (inf lppf)
[Stream 70] Lost 192 total packets in 0 frames (inf lppf)
Received depth frame at 116502869
Received depth frame at 118505024
Received depth frame at 120507179
Received depth frame at 122509334
[Stream 70] Invalid magic ffff
[Stream 70] Lost 1 packets
[Stream 70] Lost 193 total packets in 4 frames (48.250000 lppf)
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 7 packets
[Stream 70] Lost 200 total packets in 4 frames (50.000000 lppf)
[Stream 70] Lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 2 packets
[Stream 70] Lost 202 total packets in 4 frames (50.500000 lppf)
[Stream 70] Lost 3 packets
[Stream 70] Lost 205 total packets in 4 frames (51.250000 lppf)
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 6 packets
[Stream 70] Lost 211 total packets in 4 frames (52.750000 lppf)
[Stream 70] Lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 4 packets
[Stream 70] Lost 215 total packets in 4 frames (53.750000 lppf)
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 6 packets
[Stream 70] Lost 221 total packets in 4 frames (55.250000 lppf)
[Stream 70] Lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Expected 1748 data bytes, but got 948
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 11 packets
[Stream 70] Lost 232 total packets in 4 frames (58.000000 lppf)
[Stream 70] Lost too many packets, resyncing...
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
Received depth frame at 132520109
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 7 packets
[Stream 70] Lost 239 total packets in 5 frames (47.799999 lppf)
[Stream 70] Lost too many packets, resyncing...
Received depth frame at 136524419
Received depth frame at 138526574
[Stream 70] Invalid magic ffff
[Stream 70] Invalid magic ffff
[Stream 70] Lost 2 packets
[Stream 70] Lost 241 total packets in 7 frames (34.428570 lppf)
[Stream 70] Lost 3 packets
[Stream 70] Lost 244 total packets in 7 frames (34.857143 lppf)
[Stream 70] Inconsistent flag 75 with 239 packets in buf (242 total), resyncing...
write_register: 0x0047 <= 0x00
Received depth frame at 142530884
Received depth frame at 144533039
Received depth frame at 146535194
Received depth frame at 148537349
Received video frame at 150126226
Received depth frame at 150539504
Received video frame at 152123806
Received depth frame at 152541659
Received video frame at 154121386
Received depth frame at 154543814
Received video frame at 156118966
Received depth frame at 156545969
Received video frame at 158116546
Received depth frame at 158548124
Received video frame at 160114126
Received depth frame at 160550279
Received video frame at 162111706
Received depth frame at 162552434
Received video frame at 164109286
Received depth frame at 164554589
Received video frame at 166106866
Received depth frame at 166556744
Received video frame at 168104446
Received depth frame at 168558899
Received video frame at 170102026
Received depth frame at 170561054
Received video frame at 172099606
Received depth frame at 172563209
Received video frame at 174097186
Received depth frame at 174565364
Received video frame at 176094766
Received depth frame at 176567519
Received video frame at 178092346
Received depth frame at 178569674
Received video frame at 180089926
Received depth frame at 180571829
Received video frame at 182087506
Received depth frame at 182573984
Received video frame at 184085086
Received depth frame at 184576139
Received video frame at 186082666
Received depth frame at 186578294
Received video frame at 188080246
Received depth frame at 188580449
Received video frame at 190077826
Received depth frame at 190582604
Received video frame at 192075406
Received depth frame at 192584759
Received video frame at 194072986
Received depth frame at 194586914
Received video frame at 196070566
Received depth frame at 196589069
Received video frame at 198068146
Received depth frame at 198591224
Received video frame at 200065726
Received depth frame at 200593379
Received video frame at 202063306
Received depth frame at 202595534
Received video frame at 204060886
Received depth frame at 204597689
Received video frame at 206058466

[링크 : http://developkinect.com/resource/mac-os-x/install-libfreenect-drivers-mac-os-x]

[링크 : https://m.blog.naver.com/thevolcano/100118562350]

'프로그램 사용 > kinect' 카테고리의 다른 글

kinect skeleton tracking  (0) 2022.05.02
kinect 윈도우 vs 리눅스  (0) 2022.05.02
kinect + rpi + ros = slam  (0) 2022.04.27
azure kinect  (0) 2022.04.27
kinect 360  (0) 2022.04.27
Posted by 구차니