Skip to content

Instantly share code, notes, and snippets.

inobo55 inobo55

Block or report user

Report or block inobo55

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@inobo55
inobo55 / AVCaptureTestViewController.h
Created Nov 15, 2014
Rekognitionで顔認識 [ Objective-C ]
View AVCaptureTestViewController.h
//
// AVCaptureTestViewController.h
//
// Created by inobo on 2014/11/15.
// Copyright (c) 2014年 private inobo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@inobo55
inobo55 / AVCaptureTestViewController.m
Last active Aug 29, 2015
Rekognitionで顔認識 [ Objective-C ]
View AVCaptureTestViewController.m
//
// AVCaptureTestViewController.m
//
//
// Created by inobo52 on 2014/11/15.
// Copyright (c) 2014年 private inobo. All rights reserved.
//
// この記事に助けられた
// http://stackoverflow.com/questions/24842108/capture-video-frames-sample-code-for-ios-7-0-and-up
@inobo55
inobo55 / VoicetotextController.h
Created Nov 10, 2014
音声認識 by docomo [Objective-C] header file
View VoicetotextController.h
//
// ViewController.h
// VoiceTest
//
// Created by inobo52 on 2014/11/10.
// Copyright (c) 2014年 inobo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "SRClientHelper.h"
@inobo55
inobo55 / VoicetotextController.m
Last active Aug 29, 2015
音声認識 by docomo [Objective-C]
View VoicetotextController.m
//
// ViewController.m
// VoiceTest
//
// Created by inobo52 on 2014/11/10.
// Copyright (c) 2014年 inobo. All rights reserved.
//
#import "ViewController.h"
#import <AVFoundation/AVFoundation.h>
@inobo55
inobo55 / google_speech_api.php
Created Oct 27, 2014
PHPでGoogleSpeechAPIを使ってみた
View google_speech_api.php
<?php
/*
Google Speech APIを利用して
音声ファイルー>テキストを返すAPIを作成
参考サイト:
Twilio x Google Speech API ブログ
http://katsumi-takahashi.blogspot.jp/2013/12/twilio-twiliotranscribe-api-twilio.html
Google Speech API – Full Duplex PHP Version
@inobo55
inobo55 / AITalkAPI.php
Last active Aug 29, 2015
AITalkさんの音声合成APIを利用してみた
View AITalkAPI.php
<?php
// WebAPI 仕様
// https://dev.smt.docomo.ne.jp/?p=docs.api.page&api_docs_id=71#tag01
// コード参考
// http://www.d-labo.net/laboratory/php/7001.php
// http://stackoverflow.com/questions/9412650/how-to-fix-411-length-required-error-with-file-get-contents-and-the-expedia-xml
// http://okwave.jp/qa/q8782761.html
 
@inobo55
inobo55 / ViewController.m
Last active Aug 29, 2015
Google Map SDK for iOSを利用する
View ViewController.m
//
// ViewController.m
//
// Created by inobo52 on 2014/09/19.
// Copyright (c) 2014年 All rights reserved.
//
//参考にしたURL
//http://iosguy.com/tag/directions-api/
//https://developers.google.com/maps/documentation/directions/?hl=ja#UnitSystems
@inobo55
inobo55 / event_controller.rb
Created Sep 13, 2014
RailsでJSONPのWebAPIを作ってみた
View event_controller.rb
require "open-uri"
# nokogiriは既にインストール済み
class EventController < ApplicationController
# HTML解析に使うメソッド(getDoc, render_json)
def getDoc(url)
charset = nil
html = open(url) do |f|
charset = f.charset # 文字種別を取得
f.read # htmlを読み込んで変数htmlに渡す
@inobo55
inobo55 / korekae.rb
Last active Aug 29, 2015
Rubyで楽天APIとホットワードAPIを使ってみた
View korekae.rb
# encoding: utf-8
require "open-uri"
require "nokogiri"
class Korekae
def index
url = "http://kizasi.jp/kizapi.py?type=rank"
xml = open(url).read
doc = Nokogiri::XML(xml)
You can’t perform that action at this time.