Copied from My "Yahoo Open Hack Day" project. (2012 in Taiwan)
-
- file: abbyy_ocr.php
- usage: abbyy_ocr($imgPath, $lang)
- example: abbyy_ocr("@/tmp/x.png", 'English')
- see Recognition Languages for $lang parameter
- Good support for Chinese
-
- file: ocr_api.php
- usage: ocr_api($imgPath, $lang)
-
- file: google_geocoding.php
- usage: google_geocoding($addr, $lang)
-
Yahoo Boss Geo - Place Spotter
- file: yboss_place_spotter.php
- usage: boss_place_spotter($content, $lang = 'en-US', $isHtml = false, $confidence = 8)
- see Web Service Spec
- it requires oauth.inc
-
- file: yql.php
- usage: yql($query)
-
- file: phantomjs/screenshot.js
- phantomjs screenshot.js $vh $vw $agent $url $imgPath
- params:
- $vh $vw - viewport height & width
- $agent - browser user agent
- $url - $url to screenshot
- $imgPath - image save target