LoginSignup
9
8

More than 5 years have passed since last update.

openframeworksでPlayStation Eyeを使う Mac OS10.9

Posted at

はまったのでメモとして残しておきます。
MacでPlayStation Eyeはそのまま使えないので、まずはドライバを手に入れます。

1.ドライバを手に入れる

下記のURLからダウンロードしてください。
http://webcam-osx.sourceforge.net/downloads.html

zipファイルを解凍し、「macam.component」を”Macintosh HD/ライブラリ/QuickTime/”の中に入れてください。

2.アドオン「ofxMacamPs3Eye」を落とす

githubからアドオンを取得します。
https://github.com/paulobarcelos/ofxMacamPs3Eye

3.プロジェクトを作る。

後は、いつも通りプロジェクトで使えるのですが、カメラからのインプットのサイズは「640x480」でないと画像が取り込めないようです。

ofApp.cpp
camera.setDesiredFrameRate(30); // カメラのフレームレート設定
camera.initGrabber(640, 480); // キャプチャサイズは640x480で!!!
9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8