2009年4月24日金曜日

基礎からのiPhone SDK:これまででベスト

先日ふらっと本屋に寄ったら、「基礎からのiPhone SDK」を発見。
またiPhone開発本でたのかと手に取ってみたらかなりいい感じ。

開発本の中では、硬派な部類に入る。

ほかの本がスルーしているところを丁寧に説明している。
例えば、

  • メモリ管理:alloc, init, retain, release, autorelease
  • UIViewなどの属性値:Scale To Fill, Aspect Fit, Aspect Fillなどなど 
  • フォント一覧:字体リスト
  • Nibファイル
  • デリゲート:UIWebViewDelegate, UIApplicationDelegate
  • 独自クラス:セッターの注意点, マルチスレッド, タイマー
  • イベント値:Touch Up Inside/Outside, Touch Drag Exit/Enter
  • 配列の使い方
  • アニメーション詳細
(以上、一部紹介)
というわけで、iPhoneでアプリを開発する人にはかなりおすすめ。
プロパティ値の解説がしっかりしているので、リファレンスとしても使える。
長い間愛用できそう。

注意)  Interface Builderの解説はあまりない。
↑これは間違いで、「IBの説明が分散している」が正しい。
他の本に比べるとむしろ詳しい。



ラベル: ,

2009年4月6日月曜日

[EN] Brief introduction to SREngine

Let me introduce my personal project SREngine in English!

[What is it?]
SREngine stands for Scene Recognition Engine, which is a software engine to recognize static scenes of architectures, streets, posters, rooms, and so on. Due to the ability to specify what user is watching in real time in very strict manner, SREngine has applicable to wide range of AR-related applications (AR: Augmented Reality).

SREngine for iPhone proto 2
SREngine for iPhone prototype 2

[How does it work?]
SREngine is able to distinguish scenes by using original image processing techniques. SREngine is recently implemented on iPhone 3G. The iPhone version is running with SREngine Client/Server edition. At the client side , i.e. iPhone, no additional sensor is needed. Further no marker is needed because the scene itself is the marker.

IMG_0001_4
SREngine for iPhone prototype 2

[SREngine for iPhone prototype 2]
- Reference implementation
- Under development
- Usability/Performance test
- Social networking availability
- Find out the limitation

SREngine for iPhone proto 2
SREngine for iPhone prototype 2

[Platform availability]
The prototype version of SREngine works quite well on iPhone communicating with the server. It can be said that SREngine is lightweight and the network traffic is relatively low.

[Weak point]
SREngine can recognize static scene only. Even shaded object is discriminated by the engine. Simple scenes cannot be recognized, such as a solid white wall.

[SREngine for iPhone prototype 1]


The movie of SREngine for iPhone prototype 2 is coming soon.

Sein

ラベル: , ,

2009年4月2日木曜日

【拡張現実AR】SREngine for iPhone prototype 2の状況

SREngineの進捗状況です。

2009年から注力しているiPhone版の開発状況です。
2番目のプロトタイプが形になってきたので、スクリーンショットを公開します。

[Search 1: SREngine for iPhone prototype 2]
SREngine for iPhone proto 2

iPhoneを横向きにして使うようにしました。
アルゴリズムの見直し等で、シーン認識の性能が向上しました。
バッテリーの持ちがだいぶ良くなってきました。

左側のThumbnailは周辺で登録済みのシーンを表しています。
ボタンになっていて、シーンを見つけるガイドに使います。
タッチするとThumbnail画像が拡大して、シーン情報を提示してくれます。
(上のスクリーンショットではおかしいことになっていますが、気にしないでください)

右側にボタンが並んでいますが、今のところ鉛筆ボタンしか実装していません。
このボタンからシーンの学習ができます。

scenebutton

シーンの学習はかなり簡単にできるようになりました。
具体的には、学習させたいシーンを撮った後にシーン・タグを貼っていくだけです。
すべての操作はiPhone上で済ますことができます。

[アノテーション (シーン・タグ)の追加]
SREngine for iPhone proto 2

SREngine for iPhone proto 2

プロトタイプ2の動画を近日中にアップロードします。
プロトタイプ2でSREngineがモバイルARアプリとして成立するか検証する予定です。
「楽しさ」と「パフォーマンス」が最大の焦点です。


IMG_0005

また、プロトタイプ3ではソーシャル機能を実装する予定です。

ラベル: , , , ,