LoginSignup
4
4

More than 5 years have passed since last update.

iOS+OpenCV: Chapter12 Processing Video

Last updated at Posted at 2014-05-28

"OpenCV for iOS" book samplesChapter12 Processing Video を実際に動かしてみました。

準備

  • GitHubからソースを落としてくる。
  • OpenCVをインストール。
    • プロジェクトには組み込まれているのでファイルをコピーするだけでOK。
<tmp> -+- <Chapter12_ProcessingVideo>
       |
       +- <CvEffects>
       |
       +- <opencv2.framework>

コンパイル

warning

ViewController.m:58:1: Conflicting return type in implementation of 'supportedInterfaceOrientations': 'NSUInteger' (aka 'unsigned int') vs 'NSInteger' (aka 'int')
  • NSIntegerNSUInteger に変更。

問題点

縦伸びしている

メモリリーク

  • 放置しているとメモリ不足で落ちる。
    • RetroFilterがリークを起こしているようなので放置。

Start時のメモリ確保がおかしい?

カメラが横を向く

4
4
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
4
4