{"id":1031,"date":"2018-11-17T21:45:00","date_gmt":"2018-11-17T21:45:00","guid":{"rendered":"https:\/\/rawbytes.org\/?p=1031"},"modified":"2025-11-24T02:59:31","modified_gmt":"2025-11-24T02:59:31","slug":"pylint%e3%81%8ccv2%e3%81%ae%e3%83%a1%e3%83%b3%e3%83%90%e3%82%92%e8%a6%8b%e3%81%a4%e3%81%91%e3%81%a6%e3%81%8f%e3%82%8c%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/rawbytes.org\/?p=1031","title":{"rendered":"pylint\u304ccv2\u306e\u30e1\u30f3\u30d0\u3092\u898b\u3064\u3051\u3066\u304f\u308c\u306a\u3044"},"content":{"rendered":"<p>\u30fbVSCode 1.29.1<br \/>\n\u30fbpipenv 2018.7.1<br \/>\n\u30fbopencv-python 3.4.3.18<br \/>\n\u30fbpylint 2.1.1<\/p>\n<p>\u4e0a\u8a18\u306e\u74b0\u5883\u3067pylint\u3092\u304b\u3051\u308b\u3068cv2\u306e\u30e1\u30f3\u30d0\u304c\u3044\u306a\u3044\u3068\u6012\u3089\u308c\u308b\u3002<br \/>\n\uff08\u5b9f\u969b\u306fVSCode\u81ea\u4f53\u306f\u95a2\u4fc2\u306a\u3044\u3002pylint\u30b3\u30de\u30f3\u30c9\u76f4\u63a5\u3067\u3082\u540c\u69d8\u3002\uff09 <\/p>\n<p>https:\/\/stackoverflow.com\/questions\/50612169\/pylint-not-recognizing-cv2-members<\/p>\n<p>\u4e0a\u8a18\u306b\u5f93\u3063\u3066\u3001pylint\u306b &#8211;extension-pkg-whitelist=cv2 \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6e21\u3057\u3066\u4e0a\u3052\u308c\u3070\u826f\u3044\u3002VSCode\u4e0a\u3060\u3068python.linting.pylintArgs\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6e21\u3059\u3002<\/p>\n<p>cv2\u306e\u30e1\u30f3\u30d0\u306fC\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u304b\u3089\uff08\uff1f\uff09\u306e\u6a21\u69d8\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbVSCode 1.29.1 \u30fbpipenv 2018.7.1 \u30fbopencv-python 3.4.3.18 \u30fbpylint 2.1.1 \u4e0a\u8a18\u306e\u74b0\u5883\u3067pylint\u3092\u304b\u3051\u308b\u3068cv2\u306e\u30e1\u30f3\u30d0\u304c\u3044\u306a\u3044\u3068\u6012\u3089\u308c\u308b\u3002 \uff08\u5b9f\u969b\u306fVSCode\u81ea\u4f53\u306f\u95a2\u4fc2\u306a\u3044\u3002pylint\u30b3\u30de\u30f3\u30c9\u76f4\u63a5\u3067\u3082\u540c\u69d8\u3002\uff09 https:\/\/stackoverflow.com\/questions\/50612169\/pylint-not-recognizing-cv2-members \u4e0a\u8a18\u306b\u5f93\u3063\u3066\u3001pylint\u306b &#8211;extension-pkg-whitelist=cv2 \u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6e21\u3057\u3066\u4e0a\u3052\u308c\u3070\u826f\u3044\u3002VSCode\u4e0a\u3060\u3068python.linting.pylintArgs\u3068\u3044\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6e21\u3059\u3002 cv2\u306e\u30e1\u30f3\u30d0\u306fC\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u304b\u3089\uff08\uff1f\uff09\u306e\u6a21\u69d8\u3067\u3042\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1031","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1031"}],"version-history":[{"count":1,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":1032,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1031\/revisions\/1032"}],"wp:attachment":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}