{"id":8326,"date":"2019-11-01T17:50:27","date_gmt":"2019-11-01T08:50:27","guid":{"rendered":"https:\/\/itport.cloud\/?p=8326"},"modified":"2019-11-15T18:33:12","modified_gmt":"2019-11-15T09:33:12","slug":"post-8326","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=8326","title":{"rendered":"(\u6700\u7d42\u56de)Python + OpenCV\u3067\u904a\u3093\u3067\u307f\u308b(OCR\u7de8)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\"><strong>\u76ee\u6b21<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#ocr-1\">\u306f\u3058\u3081\u306b<\/a><\/li><li><a href=\"#ocr-2\">OCR\u3068\u306f<\/a><\/li><li><a href=\"#ocr-3\">\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea<\/a><\/li><li> <a href=\"#ocr-4\">Tesseract,PyOCR\u3092\u7528\u3044\u305fOCR<\/a><\/li><li> <a href=\"#ocr-5\">\u304a\u308f\u308a\u306b <\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ocr-1\"><strong>\u306f\u3058\u3081\u306b<\/strong><\/h2>\n\n\n\n<p>\u524d\u56de\u307e\u3067\u306f\u9854\u691c\u51fa\u3084\u7269\u4f53\u691c\u51fa\u3092\u9759\u6b62\u753b\u3084\u52d5\u753b\u3067\u884c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<br>\u6700\u7d42\u56de\u3068\u306a\u308b\u4eca\u56de\u306f\u753b\u50cf\u3067\u306f\u306a\u304f\u6587\u5b57\u3092\u691c\u51fa\u30fb\u8a8d\u8b58\u3059\u308bOCR\u3092\u884c\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 <br>\u3053\u308c\u3067\u753b\u50cf\u8a8d\u8b58\u3001\u6587\u5b57\u8a8d\u8b58\u3068\u6a5f\u68b0\u5b66\u7fd2\u7b49\u306e\u7d50\u679c\u3067\u3088\u304f\u5229\u7528\u3055\u308c\u308b\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u884c\u3063\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ocr-2\"><strong>OCR\u3068\u306f<\/strong><\/h2>\n\n\n\n<p>OCR\u3068\u306f\u3001 Optical Character Recognition (\u307e\u305f\u306fReader)\u306e\u7565\u3067\u5149\u5b66\u6587\u5b57\u8a8d\u8b58\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002<br>\u5177\u4f53\u7684\u306b\u306f\u753b\u50cf\u4e2d\u306e\u6587\u5b57\u3092\u691c\u51fa\u3057\u3001\u6587\u5b57\u30c7\u30fc\u30bf\u306b\u5909\u63db\u3059\u308b\u6280\u8853\u3067\u3059\u3002<br><br>OCR\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5165\u529b\u696d\u52d9\u3084\u6587\u66f8\u7ba1\u7406\u3068\u3044\u3063\u305f\u696d\u52d9\u3092\u52b9\u7387\u3088\u304f\u884c\u3048\u305f\u308a\u3057\u307e\u3059\u3002<br>\u5f53\u30d6\u30ed\u30b0\u3067\u3082\u5225\u30c6\u30fc\u30de\u306b\u3066OCR\u3092\u6271\u3063\u305f\u8a18\u4e8b\u3092\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002 <br><div class=\"linkcard\"><div class=\"lkc-internal-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/itport.cloud\/?p=8117\" data-lkc-id=\"48\"><div class=\"lkc-card\"><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/itport.cloud\/wp-content\/uploads\/2019\/09\/nemichandra-hombannavar-ahIw4NNyUU-unsplash-1024x1024.jpg\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">OCR\u3092\u4f7f\u3063\u305f\u696d\u52d9\u52b9\u7387\u5316<\/div><div class=\"lkc-url\" title=\"https:\/\/itport.cloud\/?p=8117\">https:\/\/itport.cloud\/?p=8117<\/div><div class=\"lkc-excerpt\">\u76ee\u6b21\u306f\u3058\u3081\u306b\u52b9\u7387\u5316\u3057\u305f\u3044\u696d\u52d9\u5185\u5bb9\u4f7f\u7528\u30c4\u30fc\u30eb\u30e1\u30fc\u30eb\u304b\u3089\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u81ea\u52d5\u4fdd\u5b58OCR\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3078\u8ee2\u8a18\u30a4\u30d9\u30f3\u30c8\u30c8\u30ea\u30ac\u30fc\u3092\u8a2d\u5b9a\u6700\u5f8c\u306b\u306f\u3058\u3081\u306b\u6628\u4eca\u591a\u304f\u306e\u4f01\u696d\u3067\u696d\u52d9\u52b9\u7387\u5316\u304c\u63a8\u9032\u3055\u308c\u3001\u5f93\u6765\u7d19\u3067\u3084\u308a\u3068\u308a\u3055\u308c\u3066\u3044\u305f\u696d\u52d9\u3082\u6b21\u3005\u3068\u96fb\u5b50\u30c7\u30fc\u30bf\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u4f9d\u7136\u3068\u3057\u3066\u7d19\u3092\u4f7f\u7528\u3059\u308b\u696d\u52d9\u3082\u591a\u304f\u3001\u305d\u308c\u3089\u3092\u81ea\u52d5\u5316\u3059\u308b\u305f\u3081\u306e\u65b0\u305f\u306a\u6280\u8853\u304c\u6b21\u3005\u3068\u751f\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306fPDF\u3084\u753b\u50cf\u3092\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u5316\u3059\u308bOCR(Optical Character Recognition\/Reader )\u6280\u8853\u3092\u5229\u7528\u3057\u3001\u696d\u52d9\u52b9\u7387\u5316\u306b\u5f79\u7acb\u3064\u30b7\u30b9\u30c6\u30e0\u3092\u4f5c\u6210\u3057\u3066\u307f\u305f...<\/div><\/div><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=itport.cloud\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">IT PORT<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ocr-3\"><strong>\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"tesseract-ocr-2\"> Tesseract OCR <\/h3>\n\n\n\n<p>Google(\u5143\u3005\u306fHP)\u304c\u958b\u767a\u3057\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eOCR\u30a8\u30f3\u30b8\u30f3\u3067\u3059\u3002<br><br>\u65e5\u672c\u8a9e\u3060\u3051\u3067\u306a\u304f100\u4ee5\u4e0a\u306e\u8a00\u8a9e\u304c\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u5b66\u7fd2\u3092\u3055\u305b\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u8a00\u8a9e\u306b\u3082\u5bfe\u5fdc\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002 <br><br>Tesseract\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001\u307e\u305a<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/github.com\/UB-Mannheim\/tesseract\/wiki\" target=\"_blank\">https:\/\/github.com\/UB-Mannheim\/tesseract\/wiki<\/a>\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308bURL\u304b\u3089\u300132bit\u307e\u305f\u306f64bit\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3001\u57f7\u7b46\u6642\u306e\u6700\u65b0\u7248\u306eTesseract-OCR V5.0.0-alpha.20191010\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2.png\" alt=\"\" class=\"wp-image-8332\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/1-2-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><figcaption>\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u8d77\u52d5\u3057\u3066\u6b21\u3078\u9032\u307f\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/2.png\" alt=\"\" class=\"wp-image-8333\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/2.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/2-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/2-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/2-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30e9\u30a4\u30f3\u30bb\u30f3\u30b9\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067I Agree(\u627f\u8afe)\u3092\u30af\u30ea\u30c3\u30af<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/3.png\" alt=\"\" class=\"wp-image-8334\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/3.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/3-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/3-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/3-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u3067<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u304b\u9078\u629e\u3067\u304d\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/4.png\" alt=\"\" class=\"wp-image-8335\" width=\"388\" height=\"305\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/4.png 775w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/4-300x236.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/4-768x604.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/4-407x320.png 407w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><figcaption>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u306bAdditional Language Data\u3068\u3057\u3066<br>\u65e5\u672c\u8a9e\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/5.png\" alt=\"\" class=\"wp-image-8336\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/5.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/5-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/5-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/5-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u65e5\u672c\u8a9e(Japanese)\u306b\u306f\u6a2a\u66f8\u304d\u3068\u7e26\u66f8\u304d(vertical)\u304c\u3042\u308b\u306e\u3067<br>\u4e21\u65b9\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/6.png\" alt=\"\" class=\"wp-image-8337\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/6.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/6-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/6-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/6-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>Additional Script\u3068\u3057\u3066\u65e5\u672c\u8a9e\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/7.png\" alt=\"\" class=\"wp-image-8338\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/7.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/7-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/7-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/7-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u9078\u629e\u3057\u3066\u6b21\u3078<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/8.png\" alt=\"\" class=\"wp-image-8339\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/8.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/8-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/8-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/8-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u306b\u767b\u9332\u3059\u308b\u304b\u9078\u629e\u3057\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/9.png\" alt=\"\" class=\"wp-image-8340\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/9.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/9-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/9-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/9-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u9805\u76ee\u304c\u3042\u308b\u306e\u3067\u3001<br>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/10.png\" alt=\"\" class=\"wp-image-8341\" width=\"387\" height=\"303\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/10.png 774w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/10-300x234.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/10-768x600.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/10-409x320.png 409w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><figcaption>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u5b8c\u4e86\u3067\u3059\u3002<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u3001\u4e0b\u8a18\u306e\u30d1\u30b9\u3092\u74b0\u5883\u5909\u6570\u306b\u767b\u9332\u3057\u307e\u3059\u3002 <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> Path\u306b\u300cC:\\Program Files\\Tesseract-OCR\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/li><li> \u74b0\u5883\u5909\u6570\u9805\u76ee\u3068\u3057\u3066TESSDATA_PREFIX\u3092\u4f5c\u6210\u3057\u3066\u3001\u300cC:\\Program Files\\Tesseract-OCR\\tessdata\u300d\u3092\u8ffd\u52a0\u3059\u308b<\/li><li><\/li><\/ul>\n\n\n\n<p>\u203b\u4e0a\u8a18\u306e\u30d1\u30b9\u306fTesseract\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30d5\u30a9\u30eb\u30c0\u3068\u306a\u308a\u307e\u3059\u3002\u4eca\u56de\u306f64bit\u7248Tesseract\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u300232bit\u7248\u306e\u5834\u5408\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u30d5\u30a9\u30eb\u30c0\u304c\u7570\u306a\u308b\u305f\u3081\u3001\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"e5ada6e7bf92e38387e383bce382bfe381aee585a5e6898b-3\"> \u5b66\u7fd2\u30c7\u30fc\u30bf\u306e\u5165\u624b <\/h3>\n\n\n\n<p><br><div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/github.com\/tesseract-ocr\/tesseract\/wiki\/Data-Files\/usr\/local\/Cellar\/tesseract\/tesseract%E3%81%AE%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3\/share\/tessdata\" data-lkc-id=\"81\" target=\"_blank\" rel=\"external noopener\"><div class=\"lkc-card\"><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fgithub.com%2Ftesseract-ocr%2Ftesseract%2Fwiki%2FData-Files%2Fusr%2Flocal%2FCellar%2Ftesseract%2Ftesseract%25E3%2581%25AE%25E3%2583%2590%25E3%2583%25BC%25E3%2582%25B8%25E3%2583%25A7%25E3%2583%25B3%2Fshare%2Ftessdata?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Data Files<\/div><div class=\"lkc-url\" title=\"https:\/\/github.com\/tesseract-ocr\/tesseract\/wiki\/Data-Files\/usr\/local\/Cellar\/tesseract\/tesseract%E3%81%AE%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3\/share\/tessdata\">https:\/\/github.com\/tesseract-ocr\/tesseract\/wiki\/Data-Files\/usr\/local\/Cellar\/tesseract\/tesseract\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\/share\/tessdata<\/div><div class=\"lkc-excerpt\">Tesseract Open Source OCR Engine (main repository) - tesseract-ocr\/tesseract<\/div><div class=\"lkc-more\">more<\/div><\/div><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=github.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">GitHub<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div><br><br>\u4e0a\u8a18\u306e\u30ea\u30f3\u30af\u304b\u3089\u5b66\u7fd2\u30c7\u30fc\u30bf\u3092\u5165\u624b\u3057\u307e\u3059\u3002 <br>Ver.4.0.0\u4ee5\u964d\u306f\u3001\u4ee5\u4e0b\u306eSuffix\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u5b66\u7fd2\u30c7\u30fc\u30bf\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> _fast:\u901f\u5ea6\u91cd\u8996 <\/li><li> _best:\u7cbe\u5ea6\u91cd\u8996 <\/li><li> Suffix\u306a\u3057\uff1a\u901a\u5e38 <\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pyocr-4\"> PyOCR <\/h3>\n\n\n\n<p>Python\u7528\u306eOCR\u30c4\u30fc\u30eb\u30e9\u30c3\u30d1\u30fc\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002 <br><br> Python\u304b\u3089Tesseract\u7b49\u306eOCR\u30c4\u30fc\u30eb\u3092\u5229\u7528\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\npip install pyocr\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"ocr-4\"><strong>Tesseract,PyOCR\u3092\u7528\u3044\u305fOCR<\/strong><\/h2>\n\n\n\n<p> \u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u753b\u50cf\u304b\u3089\u6587\u5b57\u3092\u62bd\u51fa\u30fb\u8a8d\u8b58\u3055\u305b\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"685\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-1024x685.png\" alt=\"\" class=\"wp-image-8400\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-1024x685.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-300x201.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-768x514.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-450x301.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2-900x602.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-2.png 1128w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport pyocr\nimport pyocr.builders\nimport cv2\nfrom PIL import Image\nimport sys\n\n#\u5229\u7528\u53ef\u80fd\u306aOCR\u30c4\u30fc\u30eb\u3092\u53d6\u5f97\ntools = pyocr.get_available_tools()\n\nif len(tools) == 0:\n    print(\"OCR\u30c4\u30fc\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\")\n    sys.exit(1)\n\n#\u5229\u7528\u53ef\u80fd\u306aOCR\u30c4\u30fc\u30eb\u306ftesseract\u3057\u304b\u5c0e\u5165\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u30010\u756a\u76ee\u306e\u30c4\u30fc\u30eb\u3092\u5229\u7528\ntool = tools&#x5B;0]\n\n#\u753b\u50cf\u304b\u3089\u6587\u5b57\u5217\u3092\u53d6\u5f97\nres = tool.image_to_string(Image.open(\"\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\"),lang=\"jpn\",builder=pyocr.builders.WordBoxBuilder(tesseract_layout=6))\n\n#\u53d6\u5f97\u3057\u305f\u6587\u5b57\u5217\u3092\u8868\u793a\nprint(res)\n\n#\u4ee5\u4e0b\u306f\u753b\u50cf\u306e\u3069\u306e\u90e8\u5206\u3092\u691c\u51fa\u3057\u3001\u3069\u3046\u8a8d\u8b58\u3057\u305f\u304b\u3092\u5206\u6790\nout = cv2.imread(\"\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\")\n\nfor d in res:\n    print(d.content) #\u3069\u306e\u6587\u5b57\u3068\u3057\u3066\u8a8d\u8b58\u3057\u305f\u304b\n    print(d.position) #\u3069\u306e\u4f4d\u7f6e\u3092\u691c\u51fa\u3057\u305f\u304b\n    cv2.rectangle(out, d.position&#x5B;0], d.position&#x5B;1], (0, 0, 255), 2) #\u691c\u51fa\u3057\u305f\u7b87\u6240\u3092\u8d64\u67a0\u3067\u56f2\u3080\n\n#\u691c\u51fa\u7d50\u679c\u306e\u753b\u50cf\u3092\u8868\u793a\ncv2.imshow(\"img\",out)\ncv2.waitKey(0)\ncv2.destroyAllWindows()\n<\/pre><\/div>\n\n\n<p>\u3053\u3053\u3067\u3001\u691c\u51fa\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3068\u3057\u3066WordBox\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br>WordBox\u4ee5\u5916\u306b\u3082\u4e0b\u8a18\u306e\u30d1\u30bf\u30fc\u30f3\u304c\u3042\u308a\u307e\u3059\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nTextBuilder  \u6587\u5b57\u5217\u3092\u8a8d\u8b58  \nWordBoxBuilder  \u5358\u8a9e\u5358\u4f4d\u3067\u6587\u5b57\u8a8d\u8b58 + BoundingBox  \nLineBoxBuilder  \u884c\u5358\u4f4d\u3067\u6587\u5b57\u8a8d\u8b58 + BoundingBox  \nDigitBuilder  \u6570\u5b57 \/ \u8a18\u53f7\u3092\u8a8d\u8b58\nDigitLineBoxBuilder  \u6570\u5b57 \/ \u8a18\u53f7\u3092\u8a8d\u8b58 + BoundingBox  \n<\/pre><\/div>\n\n\n<p>Tesseract\u306b\u306f\u4ed6\u8a00\u8a9e\u3067\u306e\u30c7\u30fc\u30bf\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u65e5\u672c\u8a9e\u4ee5\u5916\u306e\u8a00\u8a9e\u30c7\u30fc\u30bf\u3001\u8a00\u8a9e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u4e0a\u8a18\u30b3\u30fc\u30c9\u306elang=&#8221;jpn&#8221;\u306e\u90e8\u5206\u3092\u5225\u8a00\u8a9e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u65e5\u672c\u8a9e\u4ee5\u5916\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u8a8d\u8b58\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u30d1\u30bf\u30fc\u30f3\u3092\u4ee5\u4e0b\u304b\u3089\u9078\u629e\u3057\u307e\u3059\u3002<br>\u3053\u308c\u3089\u306e\u30d1\u30bf\u30fc\u30f3\u3067\u7cbe\u5ea6\u304c\u5927\u304d\u304f\u5909\u308f\u3063\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u8aad\u307f\u53d6\u308b\u753b\u50cf\u306b\u5408\u308f\u305b\u3066\u9078\u629e\u3057\u307e\u3059\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n0 \t\u6587\u5b57\u89d2\u5ea6\u306e\u8b58\u5225\u3068\u66f8\u5b57\u7cfb\u306e\u307f\u306e\u8a8d\u8b58(OSD)\u306e\u307f\u5b9f\u65bd(OCR\u306f\u5b9f\u65bd\u3055\u308c\u306a\u3044)\n1 \tOSD\u3092\u5229\u7528\u3057\u305f\u81ea\u52d5\u30da\u30fc\u30b8\u30bb\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\n2 \tOSD\u307e\u305f\u306fOCR\u3092\u5229\u7528\u3057\u306a\u3044\u81ea\u52d5\u30bb\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\n3 \tOSD\u306a\u3057\u306e\u5b8c\u5168\u81ea\u52d5\u30bb\u30b0\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\n4 \t\u53ef\u5909\u30b5\u30a4\u30ba\u306e1\u5217\u30c6\u30ad\u30b9\u30c8\u3092\u60f3\u5b9a\u3059\u308b\n5 \t\u7e26\u66f8\u304d\u306e\u5358\u4e00\u306e\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u3068\u60f3\u5b9a\u3059\u308b\n6 \t\u6a2a\u66f8\u304d\u306e\u5358\u4e00\u306e\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u3068\u60f3\u5b9a\u3059\u308b\n7 \t\u753b\u50cf\u30921\u884c\u306e\u30c6\u30ad\u30b9\u30c8\u3068\u60f3\u5b9a\u3059\u308b\n8 \t\u753b\u50cf\u3092\uff11\u3064\u306e\u5358\u8a9e\u3068\u60f3\u5b9a\u3059\u308b\n9 \t\u5186\u306e\u4e2d\u306b\u8a18\u8f09\u3055\u308c\u305f1\u5358\u8a9e\u3068\u60f3\u5b9a\u3059\u308b\uff08\u2460\u306a\u3069\u306e\u4e38\u6570\u5b57\u7b49\uff09\n10 \t\u753b\u50cf\u30921\u6587\u5b57\u3068\u60f3\u5b9a\u3059\u308b\n<\/pre><\/div>\n\n\n<p>\u4ee5\u4e0a\u306e\u30b3\u30fc\u30c9\u3067OCR\u51e6\u7406\u3057\u3066\u307f\u308b\u3068\u4ee5\u4e0b\u306e\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3057\u305f\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n0W \u5165\u5b66&\u30c6\u30af\u30ce\u30ed\u30b8\u30fc              \u30d5\u30a9\u30ed\u30fc &lt;\n\n\u65b0\u578b16\u30a4\u30f3\u30c1MacBook Pro\u3067\u306f\u7269\u7406esc\u30ad\u30fc\u304c\u5fa9\u6d3b ? Touch Bar\u306f\u5b58\u7d9a\n\u304b\n\nEngadget \u65e5\u672c\u7248 \u30fb8\u6642\u9593\u524d \u53e3 \u304f :                                  \u9593\n\u30fb 16\u30a4\u30f3\u30c1MacBook Pro\u3001Touch ID\u304c\u72ec\u7acb ? mac0S\u306b\u65b0\u753b\u50cf\niPhone Mania \u30fb10 \u6642\u9593\u524d\n\n\u30f3\n\n\u56de \u3059\u3079\u3066\u306e\u8a18\u4e8b\u3092\u8868\u793a\n\n\u300c\u30b3\u30fc\u30eb \u30aa\u30d6 \u30c7\u30e5\u30fc\u30c6\u30a3 \u30e2\u30c0\u30f3\u30fb\u30a6\u30a9\u30fc\u30d5\u30a7\u30a2\u300d \u304c, \u30b7\u30ea\u30fc\u30ba\u6700\u5927\n\u3068\u306a\u308b\u30ed\u30fc\u30f3\u30c13\u65e5\u9593\u30676\u5104\u30c9\u30eb\u306e\u30bb\u30fc\u30eb\u30b9\u3092\u8a18\u9332\n\n4Gamernet \u30fb4\u6642\u9593\u524d\n\n\n\n\u30fb\u300e\u30b3\u30fc\u30eb \u30aa\u30d6 \u30c7\u30e5\u30fc\u30c6\u30a3 \u30e2\u30c0\u30f3\u30fb\u30a6\u30a9\u30fc\u30d5\u30a7\u30a2\u300f\u30ec\u30d3\u30e5\u30fc\nIGN JAPAN \u30fb 1 \u6642\u9593\u524d\n\n\u56de \u3059\u3079\u3066\u306e\u8a18\u4e8b\u3092\u8868\u793a   \n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"685\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-1024x685.png\" alt=\"\" class=\"wp-image-8401\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-1024x685.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-300x201.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-768x514.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-450x301.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3-900x602.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/news-3.png 1128w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u56f3\u3084\u30de\u30fc\u30af\u304c\u6587\u5b57\u3068\u3057\u3066\u8aad\u307f\u53d6\u3089\u308c\u3066\u3044\u305f\u308a\u3001\u300c\u79d1\u5b66\u300d\u304c\u300c\u5165\u5b66\u300d\u3068\u8aa4\u8a8d\u8b58\u3055\u308c\u3066\u3044\u308b\u4ee5\u5916\u306f\u304b\u306a\u308a\u9ad8\u3044\u7cbe\u5ea6\u3067\u8aad\u307f\u53d6\u308c\u3066\u3044\u307e\u3059\u3002 <\/p>\n\n\n\n<p>\u307e\u305f\u4ee5\u4e0b\u306e\u753b\u50cf\u306f\u3001\u5b9f\u884c\u30b3\u30fc\u30c9\u306e23\u884c\u76ee\u4ee5\u964d\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308bTesseract\u306e\u7d50\u679c\u3092OpenCV\u3067\u753b\u50cf\u306e\u3069\u306e\u90e8\u5206\u3092\u691c\u51fa\u3057\u3066\u3044\u308b\u304b\u8d64\u67a0\u3067\u793a\u3057\u305f\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<br>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u6700\u5f8c\u306bWindow\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002 <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"714\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-1024x714.png\" alt=\"\" class=\"wp-image-8402\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-1024x714.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-300x209.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-768x535.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-450x314.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1-900x627.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2019\/10\/\u7d50\u679c-1.png 1691w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u307b\u3068\u3093\u3069\u306e\u6587\u5b57\u304c\u691c\u51fa\u5bfe\u8c61\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u5199\u771f\u306e\u4e00\u90e8\u3082\u691c\u51fa\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u5199\u771f\u304c\u300c\u9593\u300d\u3068\u5909\u63db\u3055\u308c\u3066\u3044\u308b\u306e\u306f\u78ba\u304b\u306b\u300c\u9593\u300d\u306b\u898b\u3048\u306a\u304f\u3082\u306a\u3044\uff1f\uff01 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ocr-5\">\u304a\u308f\u308a\u306b<\/h2>\n\n\n\n<p>\u9759\u6b62\u753b\u306eOCR\u3092\u5b9f\u65bd\u3057\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30c4\u30fc\u30eb\u3067\u3082\u3042\u308b\u7a0b\u5ea6\u306e\u6587\u5b57\u8a8d\u8b58\u7cbe\u5ea6\u304c\u5f97\u3089\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<br><br>\u3053\u308c\u3092\u5fdc\u7528\u3057\u3066\u52d5\u753b\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u6587\u5b57\u3092\u8a8d\u8b58\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3044\u3063\u305f\u3082\u306e\u3082\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<br><br> Python\u3068OpenCV + \u03b1\u3067\u3044\u308d\u3044\u308d\u904a\u3093\u3067\u307f\u307e\u3057\u305f\u304c\u3001\u6a5f\u68b0\u5b66\u7fd2\u304c\u767a\u9054\u3059\u308b\u306a\u304b\u753b\u50cf\u3084\u52d5\u753b\u51e6\u7406\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u5229\u7528\u306e\u5e45\u304c\u5e83\u304c\u308a\u3001\u5fdc\u7528\u3057\u3066\u304a\u3082\u3057\u308d\u3044\u3053\u3068\u304c\u51fa\u6765\u305d\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002 <br><br>\u3053\u306e\u9023\u8f09\u3067\u306f\u6a5f\u68b0\u5b66\u7fd2\u306e\u7d50\u679c\u306e\u5229\u7528\u306b\u3064\u3044\u3066\u3001\u753b\u50cf\u3001\u6587\u5b57\u8a8d\u8b58\u3092\u884c\u3063\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5225\u306e\u30c6\u30fc\u30de\u306b\u3066\u6a5f\u68b0\u5b66\u7fd2\u306e\u5b66\u7fd2\u7b49\u306b\u3064\u3044\u3066\u3082\u66f8\u3044\u3066\u307f\u305f\u3044\u3068\u3082\u601d\u3044\u307e\u3059\u3002<br><\/p>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u306f\u3058\u3081\u306bOCR\u3068\u306f\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea Tesseract,PyOCR\u3092\u7528\u3044\u305fOCR \u304a\u308f\u308a\u306b \u306f\u3058\u3081\u306b \u524d\u56de\u307e\u3067\u306f\u9854\u691c\u51fa\u3084\u7269\u4f53\u691c\u51fa\u3092\u9759\u6b62\u753b\u3084\u52d5\u753b\u3067\u884c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u6700\u7d42\u56de\u3068\u306a\u308b\u4eca\u56de\u306f\u753b\u50cf\u3067\u306f\u306a\u304f\u6587\u5b57\u3092\u691c\u51fa\u30fb\u8a8d\u8b58\u3059\u308bOCR\u3092\u884c\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u3053\u308c\u3067\u753b\u50cf\u8a8d\u8b58\u3001\u6587\u5b57\u8a8d\u8b58\u3068\u6a5f\u68b0\u5b66\u7fd2\u7b49\u306e\u7d50\u679c\u3067\u3088\u304f\u5229\u7528\u3055\u308c\u308b\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u884c\u3063\u3066\u307f\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 OCR\u3068\u306f OCR\u3068\u306f\u3001 Optical Character Recognition (\u307e\u305f\u306fReader)\u306e\u7565\u3067\u5149\u5b66\u6587\u5b57\u8a8d\u8b58\u306e\u3053\u3068\u3092\u8a00\u3044\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u753b\u50cf\u4e2d\u306e\u6587\u5b57\u3092\u691c\u51fa\u3057\u3001\u6587\u5b57\u30c7\u30fc\u30bf\u306b\u5909\u63db\u3059\u308b\u6280\u8853\u3067\u3059\u3002OCR\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5165\u529b\u696d\u52d9\u3084\u6587\u66f8\u7ba1\u7406\u3068\u3044\u3063\u305f\u696d\u52d9\u3092\u52b9\u7387\u3088\u304f\u884c\u3048\u305f\u308a\u3057\u307e\u3059\u3002\u5f53&hellip;","protected":false},"author":6,"featured_media":8357,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[52],"class_list":{"0":"post-8326","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-opencv","8":"tag-season15"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/8326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8326"}],"version-history":[{"count":44,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/8326\/revisions"}],"predecessor-version":[{"id":8407,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/8326\/revisions\/8407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/8357"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}