3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

web カメラで書籍を自動撮影、トリミング、歪み補正

Last updated at Posted at 2018-12-17

#目的
書籍を自動認識して、撮影し、トリミング、歪み補正をする

#書籍認識方法
カメラ画像が大きな四方形物体と認識した時
#歪み補正方法
画像から書籍四角の座標を取得し、歪み具合を計算し、opencvで補正する

#debug方法
パソコンに付けられているwebカメラで撮影する時に背景は煩雑で、認識しにくいため、
iVCamを利用して、iphoneをwebカメラに変身させて実施する。
#実施例
書籍を認識し、自動撮影した画像
result_image.jpg
自動トリミングした画像
result_trimming.jpg
自動歪み補正した画像
result_trimming_modified.jpg

#ソースコード
GitHubを参照

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?