id:nyaxtさんid:inajobさんありがとう!。 彼らからの情報提供で複数カメラ入力&高速化ができました。 そもそもの罠 まず経緯からお話しすると。 OpenCVはそのままだと複数台カメラのキャプチャがうまくいかないらしい。様々なサイトを見て回ったんだけどどうもうまくいかないとの記事ばかりでうまく取れている形跡がない。 そして、OpenCVはキャプチャが重いとの定評もあるらしい。(これは噂) そこでid:inajobさんに以下の情報をいただきました。 内容としてはキャプチャだけDirectShowで行い、OpenCVで処理するというもの。 http://wikiwiki.jp/masayashi/?OpenCV%2FDirectShow%A4%C7%A5%AD%A5%E3%A5%D7%A5%C1%A5%E3%A4%B7%A4%BF%B2%E8%C1%FC%A4%F2%C9%BD%B