Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãä¹ ãã¶ãã§ããç§äºã§ãªããªãå·çã®æéãã¨ãããååã®æ²è¼ããé·ãæéã空ãã¦ãã¾ãç³ã訳ããã¾ããã§ãããçããããå¯ããããã³ã¡ã³ãã«ã¯é常ã«å±ã¾ããã¾ããã ã¨ããããã§ãä»åã¯ããããæçµåã§ããååã¯ãªãã¸ã§ã¯ãæ¤åºå¨ã使ã£ã¦é¡ãæ¤åºããã¨ããã¾ã§è¡ãã¾ãããä»åã¯ããªãªã¸ãã«ãªãã¸ã§ã¯ãæ¤åºå¨ãä½æãã¦ã¿ã¾ãã ä»åä½æããããã°ã©ã ã®ã½ã¼ã¹ã³ã¼ãã¯ããã¡ãããä¸æ¬ãã¦ãã¦ã³ãã¼ããããã¨ãã§ãã¾ãã Data.zip å¦ç¿ã®æµãã¨ä»çµã¿ å¦ç¿ã®æµã ååã®ããããã«ãªãã¾ããããªãã¸ã§ã¯ãæ¤åºå¨ã¯æ©æ¢°å¦ç¿ã¨ããæ¹æ³ãéãã¦ä½æããã¾ããã¤ã¾ããã³ã³ãã¥ã¼ã¿ããã°ã©ã ã«æ¤åºããããªãã¸ã§ã¯ãã®ç»åï¼æ£è§£ç»åï¼ã¨ããã§ãªãç»åï¼éæ£è§£ç»åï¼ãä¸ãããã¨ã§ããªãã¸ã§ã¯ããå«ã¾ãã¦ããç»åã®å¾åã¨ããã®ãã³ã³ãã¥ã¼ã¿ã«è¦ãããã¦ããã¾ãã å¦ç¿ã®æµããç°¡åã«ã¾ã¨ããã¨ä»¥ä¸ã®éãã§ã
ã³ã³ãã¥ã¼ã¿ãã¸ã§ã³ã§ç©ä½æ¤åºã追跡ãè¡ãå ´åãå½ç¶ã®ãã¨ãªããå¦ç¿ãã¼ã¿ã¨ããã®ãããç¨åº¦ç¨æããªãã¦ã¯ããã¾ãããå ·ä½ä¾ã¨ãã¦ã¯OpenCVã®HaarClassifierCascadeã§ç©ä½æ¤åºããããã®æ¤åºå¨ãè¨ç·´ããã¨ããè¨ç·´ç»åãããããéãã¦ããã®å¯¾è±¡ã¨ãªãç©ä½ããã®ç»åã®ã©ãã«ããã®ããè¨è¿°ããããã¹ããã¡ã¤ã«ãä½ããªãã¡ãããã¾ããã 詳ããã¯ãããã辺ãåèã«ãã¦ãã ããã http://gihyo.jp/dev/feature/01/opencv/0004 ã¾ããä½ã£ãç©ä½æ¤åºå¨ããã©ããã³ã°ç¨ããã°ã©ã ãæ£ããä½ç½®ãæ¤åºãã¦ããããè©ä¾¡ããããã«ããããããæ£è§£ãã¼ã¿ã¨ããã®ãä½ã£ã¦ããã¦ããã«å¯¾ãã¦è©ä¾¡ãããå¿ è¦ãããã¾ãããã®æ£è§£ãã¼ã¿ã¨ããã®ããã£ã±ãç»åãéãã¦ãããã«å¯¾ãã¦ãã®ç©ä½ã®ä½ç½®ã¨ããã®ããã¡ãã¡äººéãæåã§èª¿ã¹ã¦ããªãããã®å¤é¨ãã¡ã¤ã«ã¨ãã¦ãã®åº§
æ©æ¢°å¦ç¿ãè¡ãããã«ãç»åããç¹å®ã®ç©ä½(é å)ã ãåãåºãã¦èªèãããå¦ç¿ãã¼ã¿ãä½ããããã¨ãããã¨ãããããã¨æãã¾ãã æ¬ç¨¿ã§ã¯é常ã«å¤ãã®æ©è½ãæã¤OpenCVã®ä¸ãããããããæ©æ¢°å¦ç¿ã®ããã«å©ç¨ããæ©è½ã«ãã©ã¼ã«ã¹ãã¦ãã®å©ç¨æ¹æ³ãç´¹ä»ãã¦ããããã¨æãã¾ããå ·ä½çã«ã¯ãä¸è¨ã®ã¢ã¸ã¥ã¼ã«ãä¸å¿ã«æ±ãã¾ãã CVPR 2015 Tutorials åºæ¬çãªåãåºãã®æé ã¯ä»¥ä¸ã®ããã«ãªãã¾ãã以ä¸ã§ã¯ããã®ããã»ã¹ã«åã解説ãè¡ã£ã¦ãããã¨æãã¾ãã åå¦ç: ç©ä½æ¤åºãè¡ããããããã«ãç»åã®åå¦çãè¡ãã¾ã ç©ä½æ¤åº: ç©ä½ã®æ¤åºãè¡ããç»åããåãåºãã¾ã 輪éæ¤åº: ç»åä¸ã®é å(輪é)ãèªèãããã¨ã§ãç©ä½ãæ¤åºãã¾ã ç©ä½èªè: OpenCVã®å¦ç¿æ¸ã¿ã¢ãã«ãå©ç¨ãã¦å¯¾è±¡ã®ç©ä½ãèªèããæ¤åºãè¡ãã¾ã æ©æ¢°å¦ç¿ã®æºå: åãåºããç»åãç¨ããäºæ¸¬ãå¦ç¿ãè¡ãããã®æº
ããã¨ç»åå¦çã (ã¿ãã â å祥寺 ãããã) ååã® ããã¨ç»åå¦ç part 2 â ç«æ¤åº ã§ã¯ç»åå ã®ç«ã®é¡ãæ¤åºããæ¹æ³ãç´¹ä»ãã¾ããããä»åã¯ãã£ã¼ãã©ã¼ãã³ã°ã®æè¡ãç¨ãã¦ç«ã®å種ãèå¥ãããã¨æãã¾ãã å¦ç¿ãã¼ã¿ ããã¨ç»åå¦ç part 1 â ç´ æéãã§ã¯ãèªåã§æ®å½±ããåçãå¦ç¿ãã¼ã¿ã¨ãã¦ä½¿ãã¨æ¸ããã®ã§ãããé½å ã®ç«ã«ãã§çã§åºä¼ããç«ã«éã£ã¦ãã¾ãã¨å種ã®åãã大ãããªã£ã¦ãã¾ãã®ã§ãããã§ã¯ãã¶ãã¶ç 究ç¨ã®ãã¼ã¿ã»ããã使ããã¨ã«ãã¾ããããã ãShiba Inuãããã®ã«æ¥æ¬ãèªãMike Nekoãå«ã¾ãã¦ããªãã®ã§ãã¼ã¿ã»ããã¨ãã¦ã®å質ã¯æªãã¨æãã¾ãã The Oxford-IIIT-Pet dataset ãªãã¯ã¹ãã©ã¼ã大å¦ãå ¬éãã¦ããåç©ç»åã®ãã¼ã¿ã»ããã§ãããã®å ç«ç»åã¯2400æãã¯ã©ã¹æ°ã¯12ã§1ã¯ã©ã¹ã«ã¤ã200æããã¾ããä»
19æ¥ã«è¡ããã Kyoto.ãªãã #3 ã§çºè¡¨ã»ãã¢ãããã¦ããã ããå 容ã¾ã¨ãã§ãã ã¯ããã«: æ¤åºå¨ã®éè¦æ§ ã¢ã¤ãã«é¡èå¥ ããã£ã¨ãã£ã¦ããä¸ã§ãé¡ã®èå¥ã»åé¡(Classification)ã¯CNNã使ã£ã¦åºæ¥ã¦ããããã© ã¾ã ä¸æãåºæ¥ã¦ããªãå¥ã®ã¿ã¹ã¯ããã£ã¦ã ãããç»åå ããã®é¡é åã®æ¤åº (Detection, Localization)ã ãç»åå ã«åã£ã¦ãã人ç©ã誰ã§ãããããèå¥ããããã«ã¯ãã¾ãã¯ãã®ç»åã«åã£ã¦ãããé¡ããæ¤åºããå¿ è¦ãããã ãã®æ¤åºãããé¡ããããã«ã¤ãã¦åé¡å¨ã«ããã¦ããã®é¡ã¯ââãããããã®é¡ã¯ÃÃãããã¨åé¡ãã¦ãããã¨ã«ãªãããã§ã åé¡å¨ã«ä¸ããå ¥åç»åãåãæãã¦æ½åºããã®ã«ãã¾ãé¡é åãæ¤åºããå¿ è¦ããããããã®åé¡å¨ãå¦ç¿ãããããã®ãã¼ã¿ã»ããããæ§ã ãªç»åããé¡é åãæ¤åºãã¦åãæãã¦ããããã«å¯¾ãã¦ã©ãã«ä»ããã
çç©ã®å®é¨ã§ã·ã£ã¼ã¬ã«çããå¤§è ¸èã®ã³ããã¼ã®æ°ãæ°ããã¨ããä½æ¥ãããã®ã§ããããããªãã®ã¯äººéã®ä»äºã§ã¯ãªãã®ã§èªååãããã¨æãã¾ããã OpenCVã®ã¤ã³ã¹ãã¼ã« OpenCV 3.0ã§å ¥ã£ãé¢æ°ã使ãããã®ã§è¨äºãæ¸ããæç¹ã§ææ°çã®OpenCV 3.1ããã«ããã¦ã¤ã³ã¹ãã¼ã«ãã¾ãã ç°å¢ã¯Ubuntu 15.10ã§ãåºæ¬çã«Installation in Linux â OpenCV 2.4.13.0 documentationã«å¾ãã¾ãã sudo apt-get install build-essential sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev wge
OpenCVã®å ¬å¼ããã¥ã¡ã³ãã«åãã©ã°ãã©ã®ããªå¦çããããè¨è¼ããã¦ããã®ã§ï¼ç¢ºèªãã¦ãã ããï¼ cv2.threshold ã¯äºã¤ã®åºåãè¿ãã¾ãï¼ä¸ã¤ç®ã®åºå retval ã«ã¤ãã¦ã¯å¾è¿°ãã¾ãï¼äºã¤ç®ã®åºåããããå¤å¦çãããå¾ã® äºå¤ç»å ã«ãªãã¾ãï¼ ã³ã¼ã : import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('gradient.png',0) ret,thresh1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) ret,thresh2 = cv2.threshold(img,127,255,cv2.THRESH_BINARY_INV) ret,thresh3 = cv2.threshold(img,127,2
é©å¿çé¾å¤å¦ç (Adaptive Thresholding) ã使ããµã³ãã«ã§ãã å§ãããã¶ã£ã¡ããã¾ã㨠cvAdaptiveThreshold ã使ããã¨ãã話ã«ãªãã¾ãããæ¬è¨äºã¯ããã ãã§ã¯çµããã¾ããï¼ãOpenCvSharpã§ã¯ãOpenCVæ¨æºã§ã¯ç¨æããã¦ããªãé©å¿çé¾å¤å¦çãããã£ããçµã¿è¾¼ãã§ãã¾ããä»åãåãã¦ãããå ¬ã«ãã¦ããã¾ãã OpenCvSharpãã¤ãããè¨äºä¸è¦§ èæ¯ é©å¿çé¾å¤å¦çã¯ãæ§ã ãªå¿ç¨ãããã¾ãããç¹ã«ææ¸ç»åå¦çã«ããã¦ã¯å¿ é ã®å¦çã§ãã ä¾ãã°ä»¥ä¸ã®ãããªç»åï¼å·¦ï¼ãäºå¤åãããã¨ãã¾ãããã®ã¨ããã¿ãªãããåã 大津ã®ææ³ ã§ã¯ãï¼å³ï¼ã®ããã«ãªã£ã¦ãã¾ãã¾ãã ã«ã¡ã©ã§æ®å½±ããå ´åãå¤ãææ¸ã®ç»åã§ã¯ç¹ã«ããã®ãããªå½±ãã·ãçãããã®ãæ®éã§ãæããé¨åã§ãã¾ãããé¾å¤ã§ã¯é«ããã¦å½±é¨åã§ã¯å ¨é¨çã£é»ã«ãªãã¾ãããããä»®ã«å½±ããã£
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}