画像処理
opencvのputtext関数では(手間をかけないと)できないらしいのとフォントの選択肢が少ないので、付け焼き刃ですが一時的にmatplotlibのfontpropertyから日本語のフォントを指定してプロットしました。 コード from matplotlib.font_manager import FontProp…
定義 Zero Shot Learning one shot learning 関連研究・スライド 2008年 Zero-data Learning of New Tasks 2009年 Zero-Shot Learning with Semantic Output Codes Learning To Detect Unseen Object Classes by Between-Class Attribute Transfer 2013年 Ze…
問題設定と評価指標 既存の手法 ノンパラメトリックな手法 パラメトリックな手法 提案手法 概要 詳細 ステップ1 ステップ2 これを基にした画風変換 参考文献 自分の研究が画像処理系の機械学習と関係ないのでやや適当です。 問題設定と評価指標 [Gatys2015]…
論文 End-to-End Text Recognition with Convolutional Neural Networks Word Spotting and Recognition with Embedded Attributes Deep structured output learning for unconstrained text recognition Deep Features for Text Spotting Reading Text in t…
教師なし CNN features off-the-shelf: an astounding baseline for recognition 画像 Learning and transferring mid-level image representions using convolutional neural networks Learning hierarchical features for scene labeling Semantic Segment…
生成モデル Deep Convolutional Generative Adversarial Networks Generative Adversarial Nets Unsupervised representation learning with deep convolutional generative adversarial networks Deep Generative Image Models using a Laplacian Pyramid …
画像を分類したりするときに主流のCNNを使えばいいのですが、基礎に立ち返るのも大事なのであえてBag of wordsを実行。 テンプレート # -*- coding: utf-8 -*- import cv2 import numpy as np clusternum = 5 BOW, shift = cv2.BOWKMeansTrainer(clusternum)…
OpenCV2 インストール brew tap homebrew/science brew install opencv OpenCV3 インストール brew tap homebrew/science brew install opencv3 エラー内容 $ brew install opencv3 Error: You must `brew link numpy` before homebrew/science/opencv3 can …
import cv2 color_img = cv2.imread("filename") gray_img = cv2.cvtColor(color_img, cv2.COLOR_RGB2GRAY)
コード プログラムコードのみ。 コード import cv2 converter = cv2.HOGDescriptor() img = cv2.imread('test.png') hog = hog.compute(img)
読む論文:Reading text in the wild with convolutional neural networks [pdf] [1] Text spotting とは 提案手法の流れ ステップ1: 候補領域の選択 Edge Boxes[3] 入力画像 Edge box を使った時の物体認識のイメージ Weak aggregate channel features dete…