{"id":4892,"date":"2019-11-07T04:20:27","date_gmt":"2019-11-06T19:20:27","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=4892"},"modified":"2019-11-07T04:20:27","modified_gmt":"2019-11-06T19:20:27","slug":"%e7%84%a1%e6%96%99%e3%81%a7%e3%81%a7%e3%81%8d%e3%82%8b%ef%bc%81php%e3%81%a7%e7%94%bb%e5%83%8f%e3%81%8b%e3%82%89%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%82%92%e8%aa%ad%e3%81%bf%e5%8f%96%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=4892","title":{"rendered":"\u7121\u6599\u3067\u3067\u304d\u308b\uff01PHP\u3067\u753b\u50cf\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u53d6\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f<a href=\"https:\/\/blog.capilano-fw.com\/?p=4175\">\u3010Laravel + Google vision API\u3011\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u540d\u523a\u3092\u8aad\u307f\u3068\u3063\u3066\u4f1a\u54e1\u30c7\u30fc\u30bf\u5165\u529b<\/a>\u3068\u3044\u3046\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f<code>Google Vision API<\/code>\u3092\u4f7f\u3063\u3066\u753b\u50cf\u304b\u3089\u6587\u5b57\u3092\u53d6\u5f97\u3059\u308b\u3068\u3044\u3046\u5185\u5bb9\u306a\u306e\u3067\u3059\u304c\u3001\u5b9f\u306f\u3053\u306e\u30b5\u30fc\u30d3\u30b9\u306f\u6709\u6599\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\uff08\u305f\u3060\u3057\u3001\u5b9f\u884c\u56de\u6570\u304c\u5c11\u306a\u3051\u308c\u3070\u7121\u6599\u3067\u3044\u3051\u307e\u3059\u3057\u3001\u57fa\u672c\u7684\u306b\u6599\u91d1\u306f\u5b89\u3044\u3067\u3059\uff09<\/p>\n<p>\u6b63\u76f4\u306a\u3068\u3053\u308d\u3001\u7cbe\u5ea6\u3092\u554f\u308f\u308c\u308b\u3068\u9593\u9055\u3044\u306a\u304f\u3053\u3046\u3044\u3063\u305f\u30af\u30e9\u30a6\u30c9\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3046\u3079\u304d\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u3082\u3057\u304b\u3059\u308b\u3068<strong>\u300c\u7cbe\u5ea6\u306f\u843d\u3061\u3066\u3082\u3044\u3044\u306e\u3067\u7121\u6599\u3067\u3084\u308a\u305f\u3044\u300d<\/strong>\u3068\u3044\u3046\u9700\u8981\u304c\u3042\u308b\u306e\u304b\u306a\u3068\u3082\u601d\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u4eca\u56de<code>PHP<\/code>\u3092\u4f7f\u3063\u3066\u753b\u50cf\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u53d6\u308b\uff08OCR\uff09\u3092\u7121\u6599\u3067\u3067\u304d\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u306e\u3082\u3001\u3053\u308c\u3082\u4ee5\u524d\u516c\u958b\u3057\u305f<a href=\"https:\/\/blog.capilano-fw.com\/?p=4505\">\u30cd\u30c3\u30c8\u30ab\u30d5\u30a7\u5411\u3051\u306b\u30b3\u30df\u30c3\u30af\u3092\u3069\u3053\u307e\u3067\u8aad\u3093\u3060\u304b\u8a18\u9332\u3059\u308bLINE\u30dc\u30c3\u30c8\u3092\u3064\u304f\u3063\u305f<\/a>\u3068\u3044\u3046\u8a18\u4e8b\u3067\u3064\u304f\u3063\u305fBot\u306f\u3001\u57fa\u672c\u7684\u306b\u30d0\u30fc\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u53d6\u3063\u3066\u6f2b\u753b\u60c5\u5831\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3069\u3046\u3084\u3089\u8b1b\u8ac7\u793e\u306f\u30b3\u30df\u30c3\u30af\u672c\u4f53\u306b\u30d0\u30fc\u30b3\u30fc\u30c9\u3092\u3064\u3051\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3069\u3046\u3057\u305f\u3082\u3093\u304b\u3068\u8003\u3048\u3066\u3044\u305f\u304b\u3089\u3067\u3059\u3002\uff08\u2190\u304a\u305d\u3089\u304f\u300c\u305b\u3069\u308a\u300d\u306a\u3093\u3067\u3057\u3087\u3046\u306d\uff09<\/p>\n<p>\u305d\u3053\u3067\uff01<\/p>\n<p>\u4eca\u56de\u306f<code>PHP<\/code>\u3092\u4f7f\u3063\u3066\u753b\u50cf\u304b\u3089\u6587\u5b57\u3092\u8aad\u307f\u53d6\u308b\u65b9\u6cd5\uff08\u7121\u6599\u30d0\u30fc\u30b8\u30e7\u30f3\uff09\u3092\u304a\u5c4a\u3051\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u304a\u5f79\u306b\u7acb\u3066\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\ud83d\ude0a\u2728<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3581 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/3.png\" alt=\"\" width=\"260\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/3.png 260w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/3-244x300.png 244w\" sizes=\"auto, (max-width: 260px) 100vw, 260px\" \/><\/p>\n<p><strong>\u5b9f\u884c\u74b0\u5883\uff1a<\/strong> Ubuntu 18.04\u3001PHP 7.2<\/p>\n<h1>OCR\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h1>\n<p>\u4eca\u56de<code>PHP<\/code>\u3092\u4f7f\u3063\u3066\u30fb\u30fb\u30fb\u3068\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u969b\u306b\u753b\u50cf\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u53d6\u308b\u306e\u306f\u3001<a href=\"https:\/\/github.com\/tesseract-ocr\/tesseract\">Tesseract OCR<\/a>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002\uff08<code>Apache<\/code>\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u4f7f\u3048\u307e\u3059\uff09<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u307e\u305a\u306f\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><strong>\uff08Ubuntu\u306e\u5834\u5408\uff09<\/strong><\/p>\n<pre><strong>sudo apt install tesseract-ocr<\/strong>\r\n<strong>sudo apt install libtesseract-dev<\/strong><\/pre>\n<p>\u203b <code>CentOS<\/code>\u306a\u3069\u4ed6\u306eOS\u306e\u5834\u5408\u306f\u305d\u308c\u305e\u308c\u306e\u30d1\u30bf\u30fc\u30f3\u3067<a href=\"https:\/\/github.com\/tesseract-ocr\/tesseract\/wiki\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089<\/a>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>tesseract -v<\/strong><\/pre>\n<p>\u5b9f\u884c\u3057\u3066\u6b21\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u51fa\u305f\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>tesseract 4.0.0-beta.1\r\n\r\n...\r\n...\r\n\uff08\u4ee5\u4e0b\u7701\u7565\uff09<\/strong><\/pre>\n<h1>Tesseract OCR\u3092PHP\u304b\u3089\u4f7f\u3046<\/h1>\n<p><code>Tesseract OCR<\/code>\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u5b9f\u884c\u3059\u308b\u3082\u306e\u3067\u3059\u306e\u3067\u3001PHP\u304b\u3089\u4f7f\u3046\u305f\u3081\u306b\u306f\u6b21\u306e\u3088\u3046\u306b<code>exec()<\/code>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>$path = '\/YOUR\/PATH\/TO\/IMAGE\/test.jpg';<\/strong>\r\n<strong>$command = '\/usr\/bin\/tesseract \"'. $path .'\" stdout -l eng';<\/strong>\r\n<strong>exec($command, $ocr_texts);<\/strong><\/pre>\n<p><code>$ocr_texts<\/code>\u306e\u4e2d\u306b\u914d\u5217\u3067\u53d6\u5f97\u3055\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u304c\u5165\u3063\u3066\u304f\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001<code>foreach()<\/code>\u306a\u3069\u3067\u3072\u3068\u3064\u305a\u3064\u4e2d\u8eab\u3092\u53d6\u5f97\u3059\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u306a\u304a\u3001\u4e0a\u306e\u4f8b\u3067\u306f\u5b9f\u969b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><strong>\/usr\/bin\/tesseract \"\/YOUR\/PATH\/TO\/IMAGE\/test.jpg\" stdout -l eng<\/strong><\/pre>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u304c<strong>\u300cexec() \u3067\u6307\u5b9a\u3059\u308b\u30d1\u30b9\u306f\u3001\u7d76\u5bfe\u30d1\u30b9\u3067\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u300d<\/strong>\u3068\u3044\u3046\u90e8\u5206\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u753b\u50cf\u306e\u30d1\u30b9\u3060\u3051\u3067\u306a\u304f<code>Tesseract OCR<\/code>\u306b\u3064\u3044\u3066\u3082\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3082\u3057\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u901a\u5e38\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u611f\u899a\u3067\u5b9f\u884c\u3057\u3066\u3082\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3002<\/p>\n<pre>\/\/ \u3046\u307e\u304f\u3044\u304b\u306a\u3044\u4f8b\r\n\r\n<strong>exec('tesseract \"test.jpg\" stdout -l eng', $ocr_texts);<\/strong><\/pre>\n<p>\u3082\u3057<code>Tesseract OCR<\/code>\u306e\u5834\u6240\u304c\u308f\u304b\u3089\u306a\u3044\u3088\u3046\u3067\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u7d76\u5bfe\u30d1\u30b9\u3092\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre><strong>which tesseract<\/strong><\/pre>\n<h1>ISBN\u3092\u53d6\u5f97\u3059\u308b\u4f8b<\/h1>\n<p>\u3067\u306f\u3001<code>Tesseract OCR<\/code> + <code>PHP<\/code>\u3092\u4f7f\u3063\u3066\u753b\u50cf\u304b\u3089<code>ISBN<\/code>\u3092\u53d6\u5f97\u3059\u308b\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<pre><strong>$isbn_codes = [];<\/strong>\r\n<strong>$path = '\/YOUR\/PATH\/TO\/IMAGE\/test.jpg';<\/strong>\r\n<strong>$command = '\/usr\/bin\/tesseract \"'. $path .'\" stdout -l eng';<\/strong>\r\n<strong>exec($command, $ocr_texts);<\/strong>\r\n\r\n<strong>foreach($ocr_texts as $ocr_text) {<\/strong>\r\n\r\n<strong>    if(preg_match_all('|978[0-9\\-]{10,}|', $ocr_text, $matches)) { \/\/ 978\u3067\u306f\u3058\u307e\u308b\u6570\u5b57<\/strong>\r\n\r\n<strong>        foreach($matches as $match) {<\/strong>\r\n\r\n<strong>            $match_text = str_replace('-', '', $match[0]); \/\/ \u30cf\u30a4\u30d5\u30f3\u3092\u9664\u53bb<\/strong>\r\n\r\n<strong>            if(strlen($match_text) === 13) { \/\/ 13\u6841\u306e\u3082\u306e\u3060\u3051<\/strong>\r\n\r\n<strong>                $isbn_codes[] = $match_text;<\/strong>\r\n\r\n<strong>            }<\/strong>\r\n\r\n<strong>        }<\/strong>\r\n\r\n<strong>    }<\/strong>\r\n\r\n<strong>}<\/strong>\r\n\r\n<strong>print_r(array_unique($isbn_codes));<\/strong><\/pre>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3046\u307e\u304f\u753b\u50cf\u304b\u3089<code>ISBN<\/code>\u304c\u53d6\u5f97\u3055\u308c\u308b\u3068<code>$isbn_codes<\/code>\u306e\u4e2d\u306b\u305d\u306e\u5168\u3066\u304c\u914d\u5217\u3067\u683c\u7d0d\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001LINE\u306e\u6f2b\u753b\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u306b\u3082\u3053\u308c\u3092\u30d9\u30fc\u30b9\u3068\u3057\u305f\u540c\u69d8\u306e\u6a5f\u80fd\u3092\u3064\u3051\u3066\u307f\u307e\u3057\u305f\u306e\u3067\u826f\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u304b\u3089\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4521 aligncenter\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/08\/line_bot_comic_7.png\" alt=\"\" width=\"184\" height=\"179\" \/>\u300c\u30b3\u30df\u30c3\u30af\u306e\u3057\u304a\u308a\u300d<\/p>\n<h1 id=\"support_japanese\">OCR\u3092\u65e5\u672c\u8a9e\u5bfe\u5fdc\u3055\u305b\u308b<\/h1>\n<p>\u4eca\u56de\u306f\u3001<code>Tesseract OCR<\/code>\uff08tesseract 4.0.0-beta.1\uff09\u3092<code>Ubuntu 18<\/code>\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308f\u3051\u3067\u3059\u304c\u3001\u521d\u671f\u72b6\u614b\u3067\u306f\u65e5\u672c\u8a9e\u306b\u306f\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u3053\u3053\u3067\u306f\u65e5\u672c\u8a9e\u5bfe\u5fdc\u3055\u305b\u308b\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u4ee5\u4e0b\uff12\u3064\u306eURL\u5148\u306b\u3042\u308b<code>Download<\/code>\u3068\u3044\u3046\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u305d\u308c\u305e\u308c\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/tesseract-ocr\/tessdata_best\/blob\/master\/jpn.traineddata\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/tesseract-ocr\/tessdata_best\/blob\/master\/jpn.traineddata<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/tesseract-ocr\/tessdata_best\/blob\/master\/jpn_vert.traineddata\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/tesseract-ocr\/tessdata_best\/blob\/master\/jpn_vert.traineddata<\/a><\/li>\n<\/ul>\n<p>\u203b <code>Tesseract OCR<\/code>\u306f\u3001<code>GitHub<\/code>\u306bWiki\u30da\u30fc\u30b8\u304c\u3042\u3063\u3066\u3001<a href=\"https:\/\/github.com\/tesseract-ocr\/tesseract\/wiki\/Data-Files\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8<\/a>\u304b\u3089\u8a00\u8a9e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u7528\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u6b8b\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u3001\u305d\u306e\uff12\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<pre><strong>\/usr\/share\/tesseract-ocr\/4.00\/tessdata<\/strong><\/pre>\n<p>\u3053\u308c\u3067\u65e5\u672c\u8a9e\u5bfe\u5fdc\u306f\u5b8c\u4e86\u3067\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><strong>tesseract --list-langs<\/strong><\/pre>\n<p>\u3046\u307e\u3044\u3044\u3063\u3066\u3044\u308c\u3070\u3001\u3053\u306e\u3088\u3046\u306a\u8868\u793a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>List of available languages (4):\r\n<strong>jpn_vert<\/strong>\r\nosd\r\n<strong>jpn<\/strong>\r\neng\r\n<\/pre>\n<h1>\u7cbe\u5ea6\u3092\u691c\u8a3c\u3057\u3066\u307f\u305f<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u3053\u307e\u3067\u306f<code>Tesseract OCR<\/code>\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001<strong>\u300c\u3058\u3083\u3042\u3001\u3069\u306e\u304f\u3089\u3044\u306e\u7cbe\u5ea6\u304c\u3042\u308b\u306e\u304b\u300d<\/strong>\u3068\u3044\u3046\u63a2\u7a76\u5fc3\u304c\u6e67\u3044\u3066\u304d\u305f\u306e\u3067\u5b9f\u969b\u306e\u753b\u50cf\u3068\u4e00\u7dd2\u306b\u62bd\u51fa\u7d50\u679c\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u203b \u306a\u304a\u3001\u65e5\u672c\u8a9e\u306e\u3082\u306e\u306f<code>-l<\/code>\u306e\u8a00\u8a9e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092<code>jpn<\/code>\u306b\u3057\u3066\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306f<code>eng<\/code>\u3067\u3059\u3002<\/p>\n<h2>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3060\u3051<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4901\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_1.png\" alt=\"\" width=\"482\" height=\"64\" \/><\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>ABCDEFGHIJKLMNOPQRSTUVWXYZ\r\n<\/strong><\/pre>\n<p>\u3055\u3059\u304c\u306b\u3053\u308c\u306f\u5b8c\u74a7\u3067\u3057\u305f\uff01<\/p>\n<h2>\u6570\u5b57\u3060\u3051<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4904\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_2.png\" alt=\"\" width=\"189\" height=\"64\" \/><\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>1234567890<\/strong><\/pre>\n<p>\u3053\u3061\u3089\u3082\u5b8c\u74a7\u3067\u3059\u3002<\/p>\n<h2>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u306e\u6587\u7ae0<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4905\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_3.png\" alt=\"\" width=\"318\" height=\"64\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_3.png 318w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_3-300x60.png 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/p>\n<p>\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306f<code>25<\/code>\u3067\u3001\u30d5\u30a9\u30f3\u30c8\u30bf\u30a4\u30d7\u306f<code>sans<\/code>\u3059\u3002<\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>It is a fine day today!<\/strong><\/pre>\n<p>\u30d3\u30c3\u30af\u30ea\u30de\u30fc\u30af\u307e\u3067\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3084\u3063\u3071\u308a\u82f1\u8a9e\u306e\u3088\u3046\u306b\u6587\u5b57\u306e\u7dcf\u6570\u304c\u5c11\u306a\u3044\u8a00\u8a9e\u306f<code>OCR<\/code>\u306b\u306f\u6709\u5229\u3067\u3059\u306d\u3002<\/p>\n<h2>\u6587\u5b57\u3092\u5c0f\u3055\u304f\u3057\u3066\u307f\u305f<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4906\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_4.png\" alt=\"\" width=\"219\" height=\"44\" \/><\/p>\n<p>\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306f<code>18<\/code>\u3067\u3059\u3002<\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>It is a fine day today!<\/strong><\/pre>\n<p>\u5b8c\u74a7\u3067\u3059\ud83d\ude0a<\/p>\n<h2>\u3082\u3063\u3068\u3082\u3063\u3068\u6587\u5b57\u3092\u5c0f\u3055\u304f\u3057\u3066\u307f\u305f<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4907\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_5.png\" alt=\"\" width=\"92\" height=\"15\" \/><\/p>\n<p>\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306f<code>8<\/code>\u3067\u3059\u3002<\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>his a fine day today!<\/strong><\/pre>\n<p>\u304a\u3057\u3044\uff01<br \/>\n<code>it<\/code> \u304c<code>h<\/code>\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\u305f\u3060\u3001\u3053\u306e\u5927\u304d\u3055\u3067\u5927\u3057\u305f\u3082\u3093\u3067\u3059\u3002<\/p>\n<h2>\u659c\u4f53\u306b\u3057\u3066\u307f\u305f<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4908\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_6.png\" alt=\"\" width=\"173\" height=\"28\" \/><\/p>\n<p>\u5148\u307b\u3069\u306e\u5b9f\u9a13\u3067\u3042\u308b\u7a0b\u5ea6\u5c0f\u3055\u3044\u6587\u5b57\u3067\u3082\u5927\u4e08\u592b\u306a\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u306f<code>15<\/code>\u3067\u3084\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>It is a fine day today!<\/strong><\/pre>\n<p>\u5b8c\u74a7\u3067\u3059\u3002<br \/>\n\u3059\u3054\u3044\u3067\u3059\u306d<code>Tesseract OCR<\/code>\u3002<\/p>\n<h2>\u8272\u3092\u8584\u304f\u3057\u3066\u307f\u305f<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4909\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_7.png\" alt=\"\" width=\"171\" height=\"28\" \/><\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>Itis a fine day today!<\/strong><\/pre>\n<p>\u6587\u5b57\u7684\u306b\u306f\u5b8c\u74a7\u3067\u3059\u304c\u3001\u30b9\u30da\u30fc\u30b9\u304c\u3072\u3068\u3064\u629c\u3051\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u203b \u3061\u306a\u307f\u306b\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3092<code>20<\/code>\u306b\u3059\u308b\u3068\u5b8c\u74a7\u306b\u8aad\u307f\u53d6\u3063\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>\u65e5\u672c\u8a9e50\u97f3<\/h2>\n<p>\u203b \u3053\u3053\u304b\u3089\u306f\u3001\u5b9f\u884c\u3059\u308b\u8a00\u8a9e\u30d1\u30e9\u30e1\u30fc\u30bf<code>-l<\/code>\u3092<code>jpn<\/code>\u306b\u5909\u3048\u3066\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u306a\u304a\u3001\u65e5\u672c\u8a9e\u5316\u306f<a href=\"#support_japanese\">OCR\u3092\u65e5\u672c\u8a9e\u5bfe\u5fdc\u3055\u305b\u308b<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4910\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_8.png\" alt=\"\" width=\"147\" height=\"383\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_8.png 147w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_8-115x300.png 115w\" sizes=\"auto, (max-width: 147px) 100vw, 147px\" \/><\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>\u3042\u3044 \u3046\u3048 \u304a\r\n\u304b \u304d\u304f \u3051 \u3053\r\n\u3055\u3057\u3059\u305b\u305d\r\n\u305f \u3061 \u3064 \u3066 \u3068\r\n\u306a \u306b \u306c \u306d \u306e\r\n\u306f \u3072 \u3075 \u3078 \u307b\r\n\u307e\u307f \u3080\u3081\u3082\r\n\u3084 \u3086 \u3088\r\n\r\n\u3089 \u308a \u308b \u308c\u308d\r\n\u308f \u3092 \u3093<\/strong><\/pre>\n<p>\u5143\u753b\u50cf\u306b\u30b9\u30da\u30fc\u30b9\u306f\u5165\u308c\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u300c\u3044\u300d\u3068\u300c\u3046\u300d\u306e\u9593\u306e\u3088\u3046\u306b\u30b9\u30da\u30fc\u30b9\u3067\u304d\u3066\u3057\u307e\u3046\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u6587\u5b57\u3068\u3057\u3066\u306f\u5b8c\u74a7\u306b\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u6f22\u5b57\u3082\u5165\u308c\u305f\u65e5\u672c\u8a9e\u6587\u7ae0<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4911\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_9.png\" alt=\"\" width=\"312\" height=\"68\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_9.png 312w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_9-300x65.png 300w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>\u4eca\u65e5 \u306f \u3044\u3044 \u5929\u6c17 \u3067 \u3059\u306d !\r\n<\/strong><\/pre>\n<p>\u6f22\u5b57\u3082\u5b8c\u74a7\u306b\u8aad\u307f\u53d6\u308b\u3068\u306f\u601d\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff01<\/p>\n<p>\u30b9\u30da\u30fc\u30b9\u306f\u76f8\u5909\u308f\u3089\u305a\u5165\u3063\u3066\u304d\u307e\u3059\u304c\u3001<code>str_replace()<\/code>\u306a\u3069\u3092\u4f7f\u3048\u3070\u7c21\u5358\u306b\u9664\u53bb\u3067\u304d\u307e\u3059\u3057\u3001\u305d\u308c\u307b\u3069\u554f\u984c\u3067\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u543e\u8f29\u306f\u732b\u3067\u3042\u308b\u306e\u5192\u982d\u90e8\u5206<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4912\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/11\/free_ocr_10.png\" alt=\"\" width=\"640\" height=\"369\" \/><\/p>\n<p>\u6700\u5f8c\u306b\u7dcf\u4ed5\u4e0a\u3052\u3068\u3057\u3066\u3001\u8ab0\u3067\u3082\u4e00\u5ea6\u306f\u898b\u305f\u3053\u3068\u304c\u3042\u308b\u6587\u7ae0\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/p>\n<pre><strong>\u543e\u8f29 \u306f \u732b \u3067 \u3042\u308b \u3002 \u540d \u524d \u306f \u307e\u3060 \u7121\u3044 \u3002\r\n\r\n\u3069\u3053 \u3067 \u751f\u308c \u305f \u304b \u3068 \u3093 \u3068 \u898b \u5f53 \u304c \u3064\u304b \u306c \u3002 \u4f55 \u3067 \u3082 \u8584\u6697\u3044\r\n\u3058\u3081\u3058\u3081 \u3057 \u305f \u6240 \u3067 \u30cb\u30e4 \u30fc \u30cb \u30e4\u30fc \u6ce3\u3044 \u3066 \u3090 \u305f \u4e8b \u3060 \u3051 \u306f \u8a18\r\n\u61b6 \u3057 \u3066 \u3090\u308b \u3002 \u543e \u8f29 \u306f \u3053\u3053 \u3067 \u59cb\u3081 \u3066 \u4eba \u9593 \u3068 \u3044\u3075 \u3082 \u306e \u3092 \u898b\r\n\u305f \u3002 \u3057 \u304b \u3082 \u3042\u3068 \u3067 \u805e\u304f \u3068 \u305d\u308c \u306f \u66f8\u751f \u3068 \u3044\u3075 \u4eba \u9593 \u4e2d \u3067 \u4e00\r\n\u756a \uff08\u731f\uff09 \u60aa \u306a \u7a2e\u65cf \u3067 \u3042\u3064 \u305f \u3055 \u3046 \u3060 \u3002 \u3053 \u306e \u66f8\u751f \u3068 \u3044\u3075 \u306e \u306f\r\n\u6642 \u3005 \u6211\u3005 \u3092 \u6355 \u3078 \u3066 \u716e \u3066 \u98df \u3075 \u3068 \u3044\u3075 \u8a71 \u3067 \u3042\u308b \u3002 \u3057 \u304b \u3057 \u305d\r\n\u306e \u5f53\u6642 \u306f \u4f55\u3068 \u3044\u3075 \u8003 \u3082 \u306a \u304b \u3064\u305f \u304b \u3089 \u5225 \u6bb5 \u6050 \u3057 \u3044\u3068 \u3082 \u601d\r\n\u306f \u306a \u304b \u3064\u305f \u3002<\/strong><\/pre>\n<p>\uff08\uff09\u3092\u3064\u3051\u305f\u90e8\u5206\u304c\u9593\u9055\u3063\u3066\u8aad\u307f\u53d6\u3063\u305f\u3068\u3053\u308d\u3067\u3059\u304c\u3001\u305f\u3063\u305f\uff11\u30f5\u6240\u3060\u3051\u3067\u3059\u3002\u3084\u306f\u308a\u753b\u6570\u304c\u591a\u3044\u6f22\u5b57\u306f\u8aad\u307f\u3068\u308a\u304c\u96e3\u3057\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<\/p>\n<p>\u305f\u3060\u3001\u300c\u3002\u300d\u3084\u65e7\u4eee\u540d\u9063\u3044\u300c\u3090\u300d\u307e\u3067\u5b8c\u74a7\u306b\u8aad\u307f\u3068\u3063\u3066\u3044\u308b\u306e\u306b\u306f\u611f\u52d5\u3057\u307e\u3057\u305f\u3002\uff08\u300c\u308b\u300d\u3068\u533a\u5225\u3067\u304d\u3066\u3044\u308b\u306e\u304c\u3059\u3054\u3044\u3067\u3059\uff09<\/p>\n<p>\u3053\u3053\u307e\u3067\u5b9f\u73fe\u3067\u304d\u308b\u3068\u306a\u308b\u3068\u3001\u672c\u756a\u306e\u958b\u767a\u3067\u3082\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3055\u3093\u306b\u63d0\u6848\u3067\u304d\u308b\u3050\u3089\u3044\u306e\u7cbe\u5ea6\u3068\u8a00\u3063\u3066\u3082\u3044\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u203b \u5b9f\u884c\u74b0\u5883\u306b\u3088\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u6587\u7ae0\u3092\u53d6\u5f97\u3059\u308b\u306e\u306b\uff15\u79d2\u307b\u3069\u306e\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u30b9\u30da\u30c3\u30af\u304c\u4f4e\u3044PC\u3084\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u30c6\u30ad\u30b9\u30c8\u304c\u9577\u3044\u3068\u53b3\u3057\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u4eca\u56de\u306f\u3001<code>PHP<\/code>\u3067<code>OCR<\/code>\u3092\u5b9f\u73fe\u3059\u308b\u7121\u6599\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u65b9\u6cd5\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u5b9f\u306f\u305d\u306e\u6614\u7121\u6599\u306eOCR\u3092\u8a66\u3057\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u6642\u306f\u304a\u4e16\u8f9e\u306b\u3082\u5b9f\u7528\u306b\u8010\u3048\u306a\u3044\u3068\u8a00\u308f\u3056\u308b\u3092\u5f97\u306a\u3044\u7cbe\u5ea6\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u79c1\u306e\u4e2d\u3067\u300c\u6e80\u8db3\u3067\u304d\u308bOCR\u5927\u624b\u306e\u30b5\u30fc\u30d3\u30b9\u3060\u3051\u3060\u308d\u3046\u30fb\u30fb\u30fb\u300d\u3068\u52dd\u624b\u306b\u601d\u3044\u8fbc\u3093\u3067\u3057\u307e\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u4eca\u56de\u5927\u5909\u9a5a\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u304a\u305d\u3089\u304f\u6a5f\u68b0\u5b66\u7fd2\u3092\u4f7f\u3063\u305f\u30c7\u30fc\u30bf\u306a\u306e\u3067\u3057\u3087\u3046\u304c\u3001\u78ba\u5b9f\u306b\u79d1\u5b66\u306f\u9032\u6b69\u3057\u3066\u3044\u308b\u3093\u3060\u306a\u3068\u5b9f\u611f\u3055\u305b\u3089\u308c\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u3053\u306e\u6587\u5b57\u8aad\u307f\u3068\u308a\u3092\u4f7f\u3048\u3070\u3001\u4f55\u304b\u4ed6\u306b\u3082\u9762\u767d\u3044\u6a5f\u80fd\u304c\u3064\u304f\u308c\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<br \/>\n\u305c\u3072\u307f\u306a\u3055\u3093\u3082\u3054\u81ea\u8eab\u306e\u958b\u767a\u3067\u4f7f\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3467 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png\" alt=\"\" width=\"216\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png 216w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9-203x300.png 203w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3010Laravel + Google vision API\u3011\u30a6\u30a7\u30d6\u30ab\u30e1\u30e9\u3067\u540d\u523a\u3092\u8aad\u307f\u3068\u3063\u3066\u4f1a\u54e1\u30c7\u30fc\u30bf\u5165\u529b\u3068\u3044\u3046\u8a18\u4e8b\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u308c &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=4892\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u7121\u6599\u3067\u3067\u304d\u308b\uff01PHP\u3067\u753b\u50cf\u304b\u3089\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u53d6\u308b\u65b9\u6cd5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":4920,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,10],"tags":[183],"class_list":["post-4892","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-php","tag-ocr"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4892"}],"version-history":[{"count":13,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4892\/revisions"}],"predecessor-version":[{"id":4922,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4892\/revisions\/4922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/4920"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}