{"id":8441,"date":"2022-11-24T10:28:12","date_gmt":"2022-11-24T01:28:12","guid":{"rendered":"https:\/\/ksrd.jp\/pc_club\/wordpress\/?p=8441"},"modified":"2022-12-25T16:29:52","modified_gmt":"2022-12-25T07:29:52","slug":"opencv","status":"publish","type":"post","link":"https:\/\/ksrd.jp\/pc_club\/wordpress\/2022\/11\/opencv\/","title":{"rendered":"OpenCV"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong>\uff11\uff0e\u6982\u8981<\/strong><\/h4>\n\n\n\n<p>\u3000<strong>OpenCV<\/strong>\u306f\u753b\u50cf\u30fb\u52d5\u753b\u306b\u95a2\u3059\u308b\u51e6\u7406\u6a5f\u80fd\u3092\u307e\u3068\u3081\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30e9\u30a4\u30d6\u30e9\u30ea<br>\u3000\u3000\u3000Open Source Computer Vision Library<br><br>\u3000Intel\u304c\u958b\u767a\u3057<strong>OSS<\/strong>\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b<br>\u3000\u3000\u3000\u8ab0\u3067\u3082\u7121\u6599\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b<br>\u3000\u3000\u3000\u753b\u50cf\u3084\u52d5\u753b\u306e\u4e2d\u306b\u5b58\u5728\u3059\u308b\u7269\u4f53\u306e\u4f4d\u7f6e\u60c5\u5831\u3084\u30d1\u30bf\u30fc\u30f3\u3001\u52d5\u304d\u3092<br>\u3000\u3000\u3000\u3000\u3000\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u8b58\u5225\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b<br>\u3000\u3000\u3000\u8a8d\u8b58\u3057\u305f\u60c5\u5831\u3092\u7528\u3044\u3066\u3001\u753b\u50cf\u306e\u5207\u308a\u51fa\u3057\u3084\u7de8\u96c6\u3082\u53ef\u80fd\u3068\u306a\u308b<br><br>\u3000Windows\u3084Linux\u306f\u3082\u3061\u308d\u3093\u3001iOS\u3084Android\u306a\u3069\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b<br>\u3000\u3000\u3000Python\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u7528\u3044\u3089\u308c\u308b\u4f8b\u304c\u591a\u3044<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff12\uff0e\u4f7f\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8<\/strong><\/h4>\n\n\n\n<p>\u3000\u30fb\u753b\u50cf\u51e6\u7406\u306e\u6e96\u5099\u4f5c\u696d\u304c\u3067\u304d\u308b<br>\u3000\u3000\u3000\u753b\u50cf\u89e3\u6790\u306b\u306f\u3001\u5fc5\u305a\u4e8b\u524d\u306b<strong>\u524d\u51e6\u7406<\/strong>\u304c\u5fc5\u8981<br>\u3000\u3000\u3000\u3000\u3000\u6a5f\u68b0\u5b66\u7fd2\u304c\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u30c7\u30fc\u30bf\u3092\u6574\u3048\u308b<br>\u3000\u3000\u3000OpenCV\u3092\u4f7f\u3063\u3066\u524d\u51e6\u7406\u306e\u4f5c\u696d\u3092\u7c21\u7565\u5316\u3059\u308b<br><br>\u3000\u30fb\u3055\u307e\u3056\u307e\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u7d44\u307f\u5408\u308f\u305b\u304c\u53ef\u80fd<br>\u3000\u3000\u3000\u9ad8\u6a5f\u80fd\u306a\u6570\u5024\u8a08\u7b97\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u7d44\u307f\u5408\u308f\u305b\u3066<br>\u3000\u3000\u3000\u3088\u308a\u9ad8\u7cbe\u5ea6\u306e\u753b\u50cf\u51e6\u7406\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b<br><br>\u3000\u30fbAR\u30fbVR\u306e\u958b\u767a\u304c\u3067\u304d\u308b<br>\u3000\u3000\u3000<strong>AR<\/strong>\u3084<strong>VR<\/strong>\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u4f5c\u6210\u306b\u5fc5\u8981\u306a<br>\u3000\u3000\u3000\u7269\u4f53\u306e\u4f4d\u7f6e\u60c5\u5831\u3084\u52d5\u304d\u306e\u89e3\u6790\u3001\u7269\u4f53\u8ffd\u8de1\u304c\u53ef\u80fd<br>\u3000\u3000\u3000\u3000\u3000Unity\u306b\u306f\u300cOpenCV for Unity\u300d\u3068\u3044\u3046\u5916\u90e8\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u5b58\u5728\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff13\uff0e\u6a5f\u80fd\u4e00\u89a7<\/strong><\/h4>\n\n\n\n<p>\u3000\u30fb\u753b\u50cf\u306e\u8a8d\u8b58\u3068\u8868\u793a<br>\u3000\u3000\u3000\u753b\u50cf\u306e\u30c7\u30fc\u30bf\u3092\u8a8d\u8b58\u3057\u8868\u793a\u3067\u304d\u308b<br>\u3000\u3000\u3000\u3000\u3000\u753b\u50cf\u3084\u52d5\u753b\u3092\u30d4\u30af\u30bb\u30eb\u3054\u3068\u306b\u6570\u5024\u3067\u8868\u3057<br>\u3000\u3000\u3000\u3000\u3000\u6570\u5024\u60c5\u5831\u3092\u30ea\u30b9\u30c8\u5316\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b<br><br>\u3000\u30fb\u753b\u50cf\u306e\u7de8\u96c6<br>\u3000\u3000\u3000\u753b\u50cf\u306e\u30c8\u30ea\u30df\u30f3\u30b0\u3084\u30ea\u30b5\u30a4\u30ba\u306a\u3069\u306e\u7de8\u96c6\u3084\u52a0\u5de5\u304c\u3067\u304d\u308b<br>\u3000\u3000\u3000\u3000\u3000\u6a5f\u68b0\u5b66\u7fd2\u306e\u524d\u51e6\u7406\u306a\u3069\u3067\u3088\u304f\u7528\u3044\u3089\u308c\u308b<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30b5\u30a4\u30ba\u3084\u30c7\u30fc\u30bf\u5bb9\u91cf\u304c\u7570\u306a\u308b\u753b\u50cf\u306f<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u4e8b\u524d\u306b\u753b\u50cf\u3092\u52a0\u5de5\u3057\u6a5f\u68b0\u5b66\u7fd2\u3057\u3084\u3059\u3044\u5f62\u306b\u7de8\u96c6\u3059\u308b<br><br>\u3000\u30fb\u7269\u4f53\u306e\u691c\u51fa<br>\u3000\u3000\u3000\u89e3\u6790\u3059\u308b\u753b\u50cf\u306e\u4e2d\u304b\u3089\u7279\u5b9a\u306e\u7269\u4f53\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3084\u4f4d\u7f6e\u3092\u5224\u5225\u3059\u308b<br>\u3000\u3000\u3000\u3000\u3000\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3080\u307b\u3069\u306b\u9ad8\u7cbe\u5ea6\u306a\u89e3\u6790\u304c\u53ef\u80fd\u306b\u306a\u308b<br><br>\u3000\u30fb\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30de\u30c3\u30c1\u30f3\u30b0<br>\u3000\u3000\u3000\u753b\u50cf\u306e\u4e2d\u304b\u3089\u7279\u5b9a\u306e\u753b\u50cf\u3068\u985e\u4f3c\u3059\u308b\u90e8\u5206\u3092\u898b\u3064\u3051\u51fa\u3059<br>\u3000\u3000\u3000\u3000\u3000\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30de\u30c3\u30c1\u30f3\u30b0\u3092\u5b9f\u884c\u3067\u304d\u308b<br><br>\u3000\u30fb\u30ce\u30a4\u30ba\u306e\u9664\u53bb<br>\u3000\u3000\u3000\u30ce\u30a4\u30ba\u9664\u53bb\u306e\u305f\u3081\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u3044\u304f\u3064\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u308b<br>\u3000\u3000\u3000\u3000\u3000\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u901a\u3059\u3053\u3068\u3067\u30ce\u30a4\u30ba\u304c\u53d6\u308a\u6255\u308f\u308c\u305f\u89e3\u6790\u51e6\u7406\u304c\u53ef\u80fd\u306b\u306a\u308b<br><br>\u3000\u30fb\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u3078\u306e\u5909\u63db<br>\u3000\u3000\u3000\u4e8b\u524d\u306b\u753b\u50cf\u306e\u8272\u30c7\u30fc\u30bf\u3092\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u306b\u5909\u63db\u3057\u30ea\u30bd\u30fc\u30b9\u3092\u524a\u6e1b\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff14\uff0e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/h4>\n\n\n\n<p>\u3000Python\u3067\u5229\u7528\u3059\u308b\u5834\u5408<br>\u3000\u3000\u3000\u2460\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b<br>\u3000\u3000\u3000\u3000\u3000\u5c02\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u300copencv-python\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br><br>\u3000\u3000\u3000\u2461Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b<br>\u3000\u3000\u3000\u3000\u3000\uff13.\uff16\u4ee5\u964d\u304c\u5fc5\u9808<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>python --version<\/code><\/pre><\/div>\n\n\n\n<p>\u3000\u3000\u3000\u2462PIP\uff08The Python Package Installer\uff09\u3092\u6700\u65b0\u306b\u3059\u308b<br>\u3000\u3000\u3000\u3000\u3000PIP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff11\uff19.\uff13\u4ee5\u4e0a\u304c\u5fc5\u9808<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>python -m pip install --upgrade pip\npip -V<\/code><\/pre><\/div>\n\n\n\n<p>\u3000\u3000\u3000\u2783OpenCV-Python\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>pip install opencv-python<\/code><\/pre><\/div>\n\n\n\n<p>\u3000\u3000\u3000\u2784\u4ee5\u4e0b\u306e\u8868\u793a\u304c\u78ba\u8a8d\u3055\u308c\u305f\u3089\uff2f\uff2b\u3067\u3059<br>\u3000\u3000\u3000\u3000\u3000\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u306f\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>Installing collected packages: opencv-python\nSuccessfully installed opencv-python-4.4.0.46<\/code><\/pre><\/div>\n\n\n\n<p>\u3000\u3000\u3000\u2465\u300cOpenCV\u300d\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3066\u7d42\u4e86<br>\u3000\u3000\u3000\u3000\u3000\u2784\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u5b8c\u4e86\u3067\u3059<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>import cv2\nprint(cv2.__version__)<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbOpenCV \u306f\u3001\u753b\u50cf\u30fb\u52d5\u753b\u306b\u95a2\u3059\u308b\u51e6\u7406\u6a5f\u80fd\u3092\u307e\u3068\u3081\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30e9\u30a4\u30d6\u30e9\u30ea<br \/>\n\u3000Intel\u304c\u958b\u767a\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3001\u8ab0\u3067\u3082\u7121\u6599\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[96,97],"class_list":["post-8441","post","type-post","status-publish","format-standard","hentry","category-29","tag-96","tag-opencv"],"_links":{"self":[{"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/posts\/8441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/comments?post=8441"}],"version-history":[{"count":0,"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/posts\/8441\/revisions"}],"wp:attachment":[{"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/media?parent=8441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/categories?post=8441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ksrd.jp\/pc_club\/wordpress\/wp-json\/wp\/v2\/tags?post=8441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}