Beauty Salon α-BET (alphabet)

space001
Blender3d Collada dae modeling Use Papervision3d on Progression3 and 4 http://a-bet.secret.jp/#/access
more whaison works.
whaison space
space002
http://whaison.jugem.jp/ https://jp.pinterest.com/whaison/ https://www.instagram.com/whaison/ https://whaison.amebaownd.com/
https://suzuri.jp/whaison
http://whaison.blogspot.com/
http://whaison.tumblr.com/ http://qiita.com/users/whaison http://www.behance.net/whaison https://github.com/whaison/ https://bitbucket.org/whaison http://serato.com/user/whaison http://whaison.hatenablog.jp/

typo memo
http://d.hatena.ne.jp/whaison/


dayNote
http://www.myspace.com/whaison http://ameblo.jp/whaison/ http://blog.crooz.jp/whaison/ http://blog.crooz.jp/whaisoncafe/ http://nenpyo.org/whaison

fulldisk
http://full.shin-gen.jp/
http://whaison.client.jp/
http://www.dclog.jp/whaison/
featured forums.
space004
forum.unity3d.com/

forums.unrealengine.com.

Progression Forum.

FlashDevelop Forum.

Papervision3D Forum.

FlexUserGroup Forum.

SparkProjectForum.





Twitter







Mobile
qrcode
Calendar
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
<< November 2019 >>
New Entries
Archives
Categories
Recent comment
  • FlashDevelopでフォント埋め込み
    感謝!! (12/24)
  • cocos2d-x-3.0rc0 ,c++ ,cpp でTexturePacker で 吐き出した、plist と png でパラパラアニメーションのコード例
    whaison (04/17)
  • Blender2.67にbvh(web上に2500個以上ころがってる)入れてそのBoneオブジェクトをUnity4.0のmecanimで使う
    whaison (08/19)
  • Apple Dev Center 「Certificates, Identifiers & Profiles」で Adhoc をつくってXCode4.6.1でArchiveしてipaを書き出し
    whaison (04/30)
  • Flash CS6でプロパティーパネルで物理演算のジャンプの高さを設定できるCitrus Engine
    whaison (03/01)
  • 「Flash以外、例えばKinectとか」ON TOKYO (会場:高田馬場4-11-8 Floor 6階 ) 短縮URL http://bit.ly/dI0Bfx
    uka (03/02)
  • App Store Review Guidelines アップル社のアプリ審査基準ガイドライン和訳 Apple が 開発者を悩ませ ユーザーをハッピーにしたいガイドライン。w
    whaison (01/25)
  • Unity3d では ADOBE JAPAN OSAKIで行われたFITC 2010 TOKYOでは、 「iOS用にパブリッシュするためには、フリー版ではなくて、有料版を買ってください。さらに追加のパッケージである、"iOS Package (for Development)"を買ってください」とのことだった。
    whaison (01/25)
  • enjoy Adidas-Futsal-Park
    whaison (01/16)
  • MacBookAir にFlashPlayer入れたらなった。Mac Flash Player 10.1/10.2でUstream などでカメラが認識されないバグそんなときはUstreamProducer!でもなくiPhoneだと直ぐにライブ配信できた
    whaison (01/14)
simple sintax high lighter2.0
space003
SyntaxHighlighter2.0用 の貼り付けコード作成する!
ブログパーツ-BLOG PARTS.
Profile
Links
Recommend
Admin
無料ブログ作成サービス JUGEM
Seach this site
            
2013.07.13 Saturday
Kinect On Mac OS 10.8.3 (2013.07.13) Vol.03-Open NI とNITEとSensorKinectのインストール
Kinect On Mac OS 10.8.3 (2013.07.13) Vol.02-libusb-develのインストール
のつづき。

んで
Open NI のインストール 
はこの人を参考にさせていただいた 
Mac OS X: OpenNI v1.1.0.41 + NITE v1.3.1.5 + SensorKinect v5.0.1
をダウンロード

[HOME]/Kinectというディレクトリでも作ってそこに入れると良いと思います。 ダウンロードしたtar.gz2ファイルを解凍してください。 [HOME]/Kinect/openni-mac_osxというディレクトリができます。

さらに、OpenNI-Bin-MacOSX-v1.1.0.41.tar.bz2を解凍してください。

ターミナルから解凍した場所([HOME]/Kinect/openni-mac_osx/OpenNI-Bin-MacOSX-v1.1.0.41)に行き、 $ sudo ./install.sh として、インストールしてください。

whaisonMacBookAir:openni-mac_osx whaison$ cd /Users/whaison/Kinect/openni-mac_osx/OpenNI-Bin-MacOSX-v1.1.0.41
whaisonMacBookAir:OpenNI-Bin-MacOSX-v1.1.0.41 whaison$ sudo ./install.sh
Installing OpenNI
****************************

copying shared libraries...OK
copying executables...OK
copying include files...OK
creating database directory...OK
registering module 'libnimMockNodes.dylib'...OK
registering module 'libnimCodecs.dylib'...OK
registering module 'libnimRecorder.dylib'...OK

*** DONE ***

whaisonMacBookAir:OpenNI-Bin-MacOSX-v1.1.0.41 whaison$ 

ドライバのインストール

[HOME]/Kinect/openni-mac_osx/SensorKinect-Bin-MacOSX-v5.0.1.32.tar.bz2を解凍してください。

ターミナルから解凍した場所([HOME]/Kinect/openni-mac_osx/SensorKinect-Bin-MacOSX-v5.0.1.32)に行き、 $ sudo ./install.sh として、インストールしてください。

whaisonMacBookAir:OpenNI-Bin-MacOSX-v1.1.0.41 whaison$ cd /Users/whaison/Kinect/openni-mac_osx/SensorKinect-Bin-MacOSX-v5.0.1.32
whaisonMacBookAir:SensorKinect-Bin-MacOSX-v5.0.1.32 whaison$ sudo ./install.sh
creating config dir /usr/etc/primesense...OK
copying shared libraries...OK
copying executables...OK
registering module 'libXnDeviceSensorV2KM.dylib' with OpenNI...OK
registering module 'libXnDeviceFile.dylib' with OpenNI...OK
copying server config file...OK
setting uid of server...OK
creating server logs dir...OK

*** DONE ***

whaisonMacBookAir:SensorKinect-Bin-MacOSX-v5.0.1.32 whaison$ 


NITEのインストール

[HOME]/Kinect/openni-mac_osx/NITE-Bin-MacOSX-v1.3.1.5.tar.bz2を解凍してください。

ターミナルから解凍した場所([HOME]/Kinect/openni-mac_osx/Nite-1.3.1.5)に行き、 $ sudo ./install.sh として、インストールしてください。

インストールの際にkeyの入力を求められますので、付属の、

NITE-1.3.1.5_key.txt
に書いてあるkeyを入力してください。


whaisonMacBookAir:SensorKinect-Bin-MacOSX-v5.0.1.32 whaison$ cd /Users/whaison/Kinect/openni-mac_osx/Nite-1.3.1.5
whaisonMacBookAir:Nite-1.3.1.5 whaison$ sudo ./install.sh
Please enter your PrimeSense license key: 0KOIk2JeIBYClPWVnMoRKn5cdY4=
make  -C Samples/PointServer CFG=Release -f PointServer.mak ; make  -C Samples/SingleControl CFG=Release -f SingleControl.mak ; make  -C Samples/PointViewer CFG=Release -f PointViewer.mak ; make  -C Samples/Boxes CFG=Release -f Boxes.mak ; make  -C Samples/TrackPad CFG=Release -f TrackPad.mak ; make  -C Samples/CircleControl CFG=Release -f CircleControl.mak ; make  -C Samples/SceneAnalysis CFG=Release -f SceneAnalysis.mak ; make  -C Samples/Players CFG=Release -f Players.mak ;
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/main.o ../PointServer/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/signal_catch.o ../PointServer/signal_catch.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/kbhit.o ../PointServer/kbhit.cpp
g++ -o ../Bin/Sample-PointServer ./Release/main.o ./Release/signal_catch.o ./Release/kbhit.o -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/main.o ../SingleControl/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/signal_catch.o ../SingleControl/signal_catch.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I/usr/include/nite -I/usr/include/ni -DXN_SSE -o Release/kbhit.o ../SingleControl/kbhit.cpp
g++ -o ../Bin/Sample-SingleControl ./Release/main.o ./Release/signal_catch.o ./Release/kbhit.o -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../PointViewer -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../PointViewer/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../PointViewer -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/PointDrawer.o ../PointViewer/PointDrawer.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../PointViewer -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../PointViewer/signal_catch.cpp
g++ -o ../Bin/Sample-PointViewer ./Release/main.o ./Release/PointDrawer.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Boxes -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../Boxes/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Boxes -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/kbhit.o ../Boxes/kbhit.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Boxes -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../Boxes/signal_catch.cpp
g++ -o ../Bin/Sample-Boxes ./Release/main.o ./Release/kbhit.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../TrackPad -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../TrackPad/main.cpp
../TrackPad/main.cpp:124: warning: non-local variable ‘<anonymous struct> CurrentItem’ uses anonymous type
../TrackPad/main.cpp:124: warning: non-local variable ‘<anonymous struct> CurrentItem’ uses anonymous type
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../TrackPad -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/kbhit.o ../TrackPad/kbhit.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../TrackPad -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../TrackPad/signal_catch.cpp
g++ -o ../Bin/Sample-TrackPad ./Release/main.o ./Release/kbhit.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../CircleControl -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../CircleControl/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../CircleControl -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/kbhit.o ../CircleControl/kbhit.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../CircleControl -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../CircleControl/signal_catch.cpp
g++ -o ../Bin/Sample-CircleControl ./Release/main.o ./Release/kbhit.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../SceneAnalysis -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../SceneAnalysis/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../SceneAnalysis -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/SceneDrawer.o ../SceneAnalysis/SceneDrawer.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../SceneAnalysis -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/kbhit.o ../SceneAnalysis/kbhit.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../SceneAnalysis -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../SceneAnalysis/signal_catch.cpp
g++ -o ../Bin/Sample-SceneAnalysis ./Release/main.o ./Release/SceneDrawer.o ./Release/kbhit.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
mkdir -p Release
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Players -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/main.o ../Players/main.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Players -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/SceneDrawer.o ../Players/SceneDrawer.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Players -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/kbhit.o ../Players/kbhit.cpp
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../Players -I/usr/include/nite -I/usr/include/ni -DUSE_GLUT -DXN_SSE -o Release/signal_catch.o ../Players/signal_catch.cpp
g++ -o ../Bin/Sample-Players ./Release/main.o ./Release/SceneDrawer.o ./Release/kbhit.o ./Release/signal_catch.o -framework OpenGL -framework GLUT -arch i386 -arch x86_64  -L../Bin -lOpenNI -lXnVNite_1_3_1
whaisonMacBookAir:Nite-1.3.1.5 whaison$ 


となります。

サンプル

サンプルは、

[HOME]/Kinect/openni-mac_osx/OpenNI-Bin-MacOSX-v1.1.0.41/Samples
[HOME]/Kinect/Nite-1.3.1.5/Samples
以下にあります。

各Samples/Bin以下に実行ファイルがあるのでターミナルなどから、
$ ./NiViewer とすることで実行できます。

OpenNIサンプル

whaisonMacBookAir:Nite-1.3.1.5 whaison$ cd /Users/whaison/Kinect/openni-mac_osx/OpenNI-Bin-MacOSX-v1.1.0.41/Samples/Bin/Release
whaisonMacBookAir:Release whaison$ ./NiViewer
One or more of the following nodes could not be enumerated:

Device: PrimeSense/SensorKinect/5.0.1.32: The device is not connected!
デバイスが接続されていません!
Press any key to continue . . .
KinectセンサーをMacBookAir にUSB接続する。

whaisonMacBookAir:Release whaison$ ./NiViewer
Warning: USB events thread - failed to set priority. This might cause loss of data...

きたー

whaisonMacBookAir:Release whaison$ Sample-NiAudioSample
-bash: Sample-NiAudioSample: command not found
whaisonMacBookAir:Release whaison$ ./Sample-NiAudioSample
Warning: USB events thread - failed to set priority. This might cause loss of data...
No audio node was found!
whaisonMacBookAir:Release whaison$ ./Sample-NiBackRecorder
Recording nothing!
./Sample-NiBackRecorder time <seconds> [depth [qvga|vga]] [image [qvga|vga]] [verbose] [mirror <on|off>] [registration] [framesync] [outdir <directory>]
Parse error
whaisonMacBookAir:Release whaison$ ./Sample-NiConvertXToONI
usage: ./Sample-NiConvertXToONI <inputFile> <outputFile> [nodeType] [startFrame] [endFrame]
whaisonMacBookAir:Release whaison$ ./Sample-NiCRead
Open failed: File not found!
whaisonMacBookAir:Release whaison$ ./Sample-NiRecordSynthetic
usage: ./Sample-NiRecordSynthetic <inputFile> <outputFile>
whaisonMacBookAir:Release whaison$ ./Sample-NiSimpleCreate
Warning: USB events thread - failed to set priority. This might cause loss of data...
Frame 1 Middle point is: 2478.
Frame 2 Middle point is: 2478.
Frame 3 Middle point is: 2496.
Frame 155 Middle point is: 2478.
whaisonMacBookAir:Release whaison$ 



Nite-サンプル

whaisonMacBookAir:Release whaison$ cd /Users/whaison/Kinect/openni-mac_osx/Nite-1.3.1.5/Samples/Bin
whaisonMacBookAir:Bin whaison$ ./Sample-Boxes
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause loss of data...
2013-07-13 11:09:37.982 Sample-Boxes[14612:707] GLUT Warning: GL error: stack overflow
2013-07-13 11:09:38.003 Sample-Boxes[14612:707] GLUT Warning: GL error: stack overflow

なんか□□□を描いたビューワーとファイルメニューがついたアプリが起動した。
Kinectとの関連が分からん
whaisonMacBookAir:Bin whaison$ ./Sample-CircleControl
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause loss of data...

なんか○を描いたビューワーとファイルメニューにページを印刷がついたアプリが起動した。
Kinectとの関連が分からん
whaisonMacBookAir:Bin whaison$ ./Sample-Players
Warning: USB events thread - failed to set priority. This might cause loss of data...
whaisonMacBookAir:Bin whaison$ 

なんかカメラでのポイントをキャッチしそうなサンプルが起動したがポイント取得できず
なんかPrefarenceにGUIメニューがある。アプリが起動した。

きたこれ
動体検知した


whaisonMacBookAir:Bin whaison$ ./Sample-PointViewer
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause loss of data...

なんかカメラで手のポイントをキャッチしそうなサンプルが起動したがポイント取得できず
Perform click or wave gesture to track hand
(手を追跡するためにクリックするか、波ジェスチャーを実行)
whaisonMacBookAir:Bin whaison$ ./Sample-SceneAnalysis
Warning: USB events thread - failed to set priority. This might cause loss of data...
whaisonMacBookAir:Bin whaison$ 


なんかカメラでのポイントをキャッチしそうなサンプルが起動したがポイント取得できず
Warning: USB events thread - failed to set priority. This might cause loss of data...
Please perform focus gesture to start session
Hit any key to exit

whaisonMacBookAir:Bin whaison$ 

コマンドラインだけでなにもおこらない。

whaisonMacBookAir:Bin whaison$ ./Sample-TrackPad
Setting resolution to VGA
Warning: USB events thread - failed to set priority. This might cause loss of data...

真っ黒な画面が表示された。イミフ。w
whaisonMacBookAir:Bin whaison$ 

| whaison | KINECT_AND_FUTURE | 13:17 | comments(0) | - | pookmark |
Comment




whaisonStudyNoteBook をFaceBookで いいね!





Share |