2017-01-01ãã1å¹´éã®è¨äºä¸è¦§
install apache 2.4.27 & mod_perl 2.0.10 ...ãªããªããApache httpd 2.2.34 Released End-of-Life 2017-07-11 - end0tknr's kipple - æ°webåçµéçº å æ¥ã®âãã¡ã㯠perl-5.18.4 + apache-2.4.29 ã®ç°å¢ã«å¯¾ãã¦ã® installã§ãããã ä»åãamazon linux â¦
以åãåæ§ã®ã¨ã³ããªãè¨è¼ãã¦ãã¾ããã ãã®éãåèã«ããã¦é ãã hinata.in ãééããã¦ããããã§ãã®ã§ãåèã javascriptã§ãzipå§ç¸®&解å - end0tknr's kipple - æ°webåçµéçº zipãã¡ã¤ã«ãhttp getããzip解åå¾ããã¬ãã¥ã¼è¡¨ç¤º - end0tknrâ¦
2層ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã«å¯¾ãã誤差 éä¼ææ³ - python - end0tknr's kipple - æ°webåçµéçº github.com å æ¥ã®ã¨ã³ããªã®ç¶ãã§ããão'reillyãã¼ãããä½ã Deep Learningã7ç« ã®åçµ. ä»åã®åçµã§ãCNNã®æ¦è¦ãåºæ¬çãªå®è£ æ¹æ³ã¯ç解ã§ãã¾ãããâ¦
xlrd for python 㧠excel (xlsx) ãèªã - end0tknr's kipple - æ°webåçµéçº ä»¥åã®ã¨ã³ããªã«é¢é£ãã¾ãã xlsãã¡ã¤ã«ã®parseã®éãSUM()ã«ããç®åºå¤ãåå¾ã§ããªãã£ãã®ã§ã pyexcel for python 㧠xls â xlsx å¤æãã¦ã¿ã¾ããã 使ãæ¹ã¯ã以ä¸ã®â¦
å æ¥ã®ã¨ã³ããªã®ç¶ãã§ããão'reillyãã¼ãããä½ã Deep Learningã5ç« ã®åçµ. end0tknr.hateblo.jp github.com 誤差 éä¼ææ³ ã«ãã 2層ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ ã¢ãã« pythonã³ã¼ãã ãã§ã¯åããã¥ããã®ã§ãå³ç¤ºãã¦ã¿ã¾ãã 層ãã¥ã¼ã©ã«ãããã¯ã¼â¦
github.com ã¾ããã o'reillyãã¼ãããä½ã Deep Learningã4ç« ã«ããå¾é éä¸æ³ã®åçµ. ä»åã¯ã2層ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã«å¯¾ãã¦å®è¡ãã¾ãã mnist, ããããã, æ°å¤å¾®å, å¾é éä¸, æ失é¢æ° çã ãã£ã¼ãã©ã¼ãã³ã°ã«é¢ããåºæ¬ãæã£ã¦ãã¾ãã â¦
ã£ã¦ãéå»ã«æ¢ããç¯å²ã§ã¯ãåçå´åçã®ã調éæ å ±ä¸è¦§ãã è±å¯ã§ãå ·ä½çãã¨æãã¾ãã www.mhlw.go.jp æ¥æ¬å¹´éæ©æ§ éæ¥æ¥åã·ã¹ãã éç¨ä¿å®æ¥åä¸å¼èª¿éä»æ§æ¸ï¼æ¡ï¼ http://www.mhlw.go.jp/sinsei/chotatu/chotatu/shiyousho-an/dl/090422-1a.pdâ¦
å ç¨ã®ã¨ã³ããªã®ç¶ãã§ã o'reillyãã¼ãããä½ã Deep Learningã4ç« ã«ããå¾é éä¸æ³ãåçµ. github.com ãã£ãããå¾é éä¸æ³ã¨ã¯ ããã¥ã¼ãã³æ³...?ãã®ãããªå°è±¡ã§ãã ä¸è¨ã®ããã«ãx0, x1 ãä¸æ¸ãããªãããè¿ä¼¼å¤è§£ãæ±ãã¾ãã η(ã¨ã¼ã¿)ã¯å¦â¦
å¾é éä¸æ³ã«åãão'reillyãã¼ãããä½ã Deep Learningãã®4ç« ãåçµ. github.com 以ä¸ã®script㯠ã ã®ããã«æ°å¤å¾®åãã¦ãã¾ã #!/usr/local/bin/python # -*- coding: utf-8 -*- # https://github.com/oreilly-japan/deep-learning-from-scratch # htâ¦
ä»åã¯ä¸æãè¡ãã¾ããã§ããããä»å¾ã®çºã«ã¡ã¢ 以ä¸ã¯åèurl gihyo.jp STEP1 æ£è§£ç»åã¨ãç»ålistã®æºå âãã¡ãã®ãããªå¼éãçªã®png(80Ã44 ï½ 15Ã137)ã10ã³ä½æãã ãããã®ä¸è¦§ã img_ok_list.txt ã«è¨è¼ãã¾ããã ç»ålistã«ã¯ãfileåãç©ä½æ°â¦
opencvã§ã¯åºæ¬ã®lenaæ¤åºã§ããã opencv3 + python ã®ã»ããã§ã¯å®æ½ããã¨ããªãã£ãçº #!/usr/local/bin/python # -*- coding: utf-8 -*- import cv2 def main(): image_path = "lena.jpg" # ã°ã¬ã¼ã¹ã±ã¼ã«ã¨ãã¦ãfileèªè¾¼ã¿ image_gray = cv2.imread(â¦
æ®å¿µã§ããã次ã®urlã®éãã®ããã§ãã https://www.researchgate.net/post/Is_HOG_cascade_classifier_not_supported_in_OpenCV_30
ãã³ãã¬ã¼ããããã³ã°ã¯ãæ§ã ãªurlã§ç´¹ä»ããã¦ãã¾ããã ç§ã®å ´åã次ã®urlãåèã«ããã¦é ãã¾ããã Pythonã§ãã³ãã¬ã¼ããããã³ã°ãOpenCVãµã³ãã«ã³ã¼ãã¨è§£èª¬ : ããããµã¼ãã£ã³ã®å£º 詳細ã¯ä»¥ä¸ã§ãw1800ã®å¼éãçªã®ç»åããã³ãã¬ã¼ãã¨ããâ¦
opencv.findContours() ã«ãã ç»åã®å¢ç(輪é)æ¢ç´¢ - end0tknr's kipple - æ°webåçµéçº å æ¥ã®ã¨ã³ããªã®ç¶ãã詳細ã¯ã以ä¸åç §ã #!/usr/local/bin/python # -*- coding: utf-8 -*- from PIL import Image import cv2 from datetime import datetime iâ¦
opencv.findContours() ã«ãã ç»åã®å¢ç(輪é)æ¢ç´¢ - end0tknr's kipple - æ°webåçµéçº âãã®ã¨ã³ããªã®ãã¾ããã¨ããããè¨è¼æ¼ã #!/usr/local/bin/python # -*- coding: utf-8 -*- from PIL import Image import cv2 from datetime import datetime â¦
opencv.findContours() ã«ãã ç»åã®å¢ç(輪é)æ¢ç´¢ - end0tknr's kipple - æ°webåçµéçº å ç¨ã®ã¨ã³ããªã§ã¯ã建ç©ã®éåãå³ã®ã¿ãè¨è¼ãããç»åã®è¼ªéãæ½åºãã¾ãããã å¤æ§ãæãããã±ã¼ã¹ãèãã¦ã¿ãã æ½åºæ¹æ³ã¨çµæã¯ã以ä¸ã® script ã®éãâ¦
以ä¸ãè¨è¼ã®éãã å¤å£é¢ã®ã¿ãæç»ãããã£ãã®ã§ãããããã¯ä»å¾ #!/usr/local/bin/python # -*- coding: utf-8 -*- from PIL import Image import cv2 from datetime import datetime import matplotlib matplotlib.use('Agg') import matplotlib.pylaâ¦
medianBlur() ã«ããä¸å¤®å¤ãã£ã«ã¿ãerode() / dilate() ã«ããè¨å¼µ/å縮 ã®é¢é£ã ä»åã¯opencv.morphologyEx() ã«ããç»åã®ãªã¼ããã³ã°/ ã¯ãã¼ã¸ã³ã°å¦çã scriptã¨ãããã«ããå¤æçµæã¯ã以éã«è¨è¼ãã¦ãã¾ãããä»åãæå¾ éå¤ type å 容 オーï¾ï¾ï¾ï¾â¦
Python OpenCV3ã§ç»ç´ ã®è¨å¼µå¦ç(dilation)ã¨å縮å¦ç(erosion) (ã¡ãã£ã¨è§£èª¬ã) | from umentu import stupid ã»ã¼ãä¸è¨urlã®ã¾ãã¾. ç´°ç·æ¶å»ã«é¢ãã¦ã¯ã medianBlur() ã«ããä¸å¤®å¤å¦çãããdilate() ã®æ¹ãè¯ãæ°ããã¾ãã #!/usr/local/bin/pythonâ¦
éåãå³(ç»å)ã«ããæ·¡ãè²ãå¤æ(åé¤)ãããã£ãã®ã§ #!/usr/local/bin/python # -*- coding: utf-8 -*- import cv2 import sys def main(): org_file = sys.argv[1] # å¼·å¶çã«ã°ã¬ã¼ç»åã¨ãã¦èªã # http://opencv.jp/opencv-2.1/cpp/reading_and_writâ¦
ãéåãå³ã«å¯¾ãã¦å®è¡ãããã¨ã§ãã¼ããããã®å¾ãæ¸ç®ããã°ãç´°ç·ã楽ã«æ¶å»ã§ãããããã¨æãã¾ããããæå¾ ã¯ããã§ããã ã¨ããããããããããã ãã¨ããæã #!/usr/local/bin/python # -*- coding: utf-8 -*- import cv2 import sys def main(â¦
ç»åãã¡ã¤ã«ããç·ç»ã¨åçã«åé¡ãããã¨æã£ãã®ãããã£ãã #!/usr/local/bin/python # -*- coding: utf-8 -*- from PIL import Image import cv2 import matplotlib matplotlib.use('Agg') import matplotlib.pylab as plb import numpy as np import â¦
opencv-python 3.3.0.10 : Python Package Index å®è·µã³ã³ãã¥ã¼ã¿ãã¸ã§ã³ ãµã³ãã«ããã°ã©ã ã OpenCVã®ã½ã¼ã¹ã«ä»å±ãããµã³ãã«( opencv/samples/python )ãå®è¡ install opencv-python # yum install openssl-devel* $ wget https://www.python.org/fâ¦
æ¦è¦ CentOS 7 ã« OpenCV git ææ°ç (3.0.0-rc1) ãã¤ã³ã¹ãã¼ã«ãã - Qiita ä¸è¨urlãåèã«ããã¦é ãã¾ããã ãã ãã $ make -j : g++: internal compiler error: Killed (program cc1plus) ã®ãããªã¡ã¢ãªä¸è¶³?ã«ããã¨ã©ã¼ã¨ãªã£ãçºããmakeãã¨ãâ¦
å æ¥ã¯ãkè¿åã«ãã ç»åèªèãè¡ãã¾ããããä»åã¯ããã¤ã¼ããã¤ãºã使ç¨ã HOGç¹å¾´é + KNN(kè¿å) ã«ãã ã¸ã§ã¹ãã£ã¼(æ話)ç»åèªè - end0tknr's kipple - æ°webåçµéçº ä»¥ä¸ã¯ãæ´ã«ä»¥åã®ä¸»æååæã«é¢ããã¨ã³ã㪠åºæå¤ãåºæãã¯ãã«ããã®â¦
ã§ããã¤ãºåé¡å¨ã®å®è£ åèurl åé¡å¨ (ãã¤ã¼ããã¤ãº) æ©æ¢°å¦ç¿ãã¤ã¼ããã¤ãºåé¡å¨ã®ã¢ã«ã´ãªãºã ãç解ããã®ã§ã¡ã¢ãããã¦Pythonã§æ¸ãã¦ã¿ãã - Qiita 第3å ãã¤ã¸ã¢ã³ãã£ã«ã¿ãå®è£ ãã¦ã¿ããï¼æ©æ¢°å¦ç¿ ã¯ããããï½gihyo.jp ⦠æè¡è©è«ç¤¾ ãâ¦
åç´ãã¤ãº(ãã¤ã¼ããã¤ãº)åé¡å¨ãã¢ã³ãã£ã»ãã¼ã«åé¡ã«å ¥ãåã®æ¯ãè¿ã ãã¤ãºã®å®çã¨ã¯? å ¨ã¦ã®äºè±¡ãç¬ç«ã§ãäºãã«ç¸é¢ããªãå ´åã以ä¸ãæç« ãã㧠P(Bï½A) : äºè±¡Aã®å¾ã«ãäºè±¡Bãçºçãã確ç P(Aâ©B) : äºè±¡Aã¨äºè±¡Bãåæã«çºçãã確ç ãâ¦
å ç¨ã®ã¨ã³ããªã®ç¶ãã¨ãã¦ãã¸ã§ã¹ãã£ã¼ç»åã®HOGç¹å¾´éãç®åºãã ãã®çµæããkè¿åãããã¨ã§ãæ話ã®ç»åèªèãè¡ãã¾ãã ç»åå¦ç(ç»åèªè) - ãå¯ãªSIFT(HOG : Histogram of Oriented Gradients )ãç®åº - end0tknr's kipple - æ°webåçµéçº pytâ¦
oreillyã®ãå®è·µã³ã³ãã¥ã¼ã¿ãã¸ã§ã³ãåçµã®ç¶ã å®è·µã³ã³ãã¥ã¼ã¿ãã¸ã§ã³ ãµã³ãã«ããã°ã©ã SIFTç¹å¾´éæ¤åºã®ç¶ãã§ãããã¾ã ç»åå¦ç - vlfeatã«ããSIFTç¹å¾´ç¹æ¤åº - end0tknr's kipple - æ°webåçµéçº SIFTç¹å¾´ç¹æ¤åºçµæã®å¯¾å¿ç¹æ¢ç´¢ (python) â¦
perl tidy ã¨åæ§ã®ã³ã¼ãæ´å½¢ãã¼ã«ãå¿ è¦ã«ãªã£ãçº python-mode installææããã£ããã¯ããã£ããå¿ãã¦ãã¾ããã .emacsã«ã¯æ¬¡ã®ããã«è¨è¼ããã¦ãã¾ããã (add-to-list 'load-path "c:/emacs-24.5-IME-patched/python-mode.el-6.2.0") (setq py-inâ¦