{"id":16922,"date":"2022-07-29T11:52:00","date_gmt":"2022-07-29T03:52:00","guid":{"rendered":"https:\/\/www.circuspi.com\/?p=16922"},"modified":"2022-08-24T09:06:03","modified_gmt":"2022-08-24T01:06:03","slug":"ai-mediapipe-hand","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2022\/07\/29\/ai-mediapipe-hand\/","title":{"rendered":"\u4e00\u8d77\u5b78 AI ! MediaPipe\u61c9\u7528\u6559\u5b78-\u55ae\u5143(\u56db)\u624b\u638c\u5075\u6e2c"},"content":{"rendered":"\n<p><style>\n\/* ###\u5be6\u9a57\u4e0b\u4e00\u5217### *\/\n\na:link {color:#0695e4\n;}    \/* \u8a2d\u5b9a\u5c1a\u672a\u9ede\u95b1\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\na:visited {color:#0695e4\n;} \/* \u8a2d\u5b9a\u904e\u53bb\u66fe\u7d93\u95b1\u904e\u7684\u9023\u7d50 *\/\na:hover {color:#0695e4\n;}   \/* \u8a2d\u5b9a\u6ed1\u9f20\u6e38\u6a19\u6307\u5728\u9023\u7d50\u4f4d\u7f6e\u4e0a\u7684\u6a23\u5f0f *\/\na:active {color:#0000BB;}  \/* \u8a2d\u5b9a\u4e0a\u9ede\u64ca\u904e\u7684\u9023\u7d50\u6a23\u5f0f *\/\n<\/style><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"526\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2022\/08\/1000x526.jpg\" alt=\"\u4e00\u8d77\u5b78 AI ! MediaPipe\u61c9\u7528\u6559\u5b78-\u55ae\u5143(\u56db)\u624b\u638c\u5075\u6e2c\" class=\"wp-image-16940\"\/><\/figure><\/div>\n\n\n\n<p>\u9019\u7bc7\u6559\u5b78\u6703\u4f7f\u7528 MediaPipe \u7684\u624b\u638c\u5075\u6e2c\u6a21\u578b ( hands ) \u5075\u6e2c\u96d9\u624b\u7684\u624b\u638c\uff0c\u518d\u900f\u904e OpenCV \u8b80\u53d6\u651d\u5f71\u93e1\u982d\u5f71\u50cf\u9032\u884c\u8fa8\u8b58\uff0c\u5728\u624b\u638c\u8207\u6bcf\u96bb\u624b\u6307\u6a19\u8a18\u9aa8\u67b6\uff0c\u6700\u5f8c\u9084\u6703\u7c21\u55ae\u8a2d\u8a08\u9694\u7a7a\u89f8\u78b0\u7684\u5c0f\u904a\u6232\u3002<\/p>\n\n\n\n<p>\u5feb\u901f\u5c0e\u89bd\uff1a<\/p>\n\n\n\n<ul><li><a href=\"#a1\">\u4f7f\u7528 MediaPipe\uff0c\u5075\u6e2c\u4e26\u7e6a\u88fd\u624b\u638c\u9aa8\u67b6<\/a><\/li><li><a href=\"#a2\">\u9694\u7a7a\u89f8\u78b0\u7684\u5c0f\u904a\u6232<\/a><\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default\"><p>\u56e0\u70ba\u7a0b\u5f0f\u4f7f\u7528 Jupyter \u642d\u914d Tensorflow \u9032\u884c\u958b\u767c\uff0c\u6240\u4ee5\u8acb\u5148\u95b1\u8b80\u300c<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/info\/anaconda.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f7f\u7528 Anaconda<\/a>\u300d\u548c\u300c<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/ai-mediapipe.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f7f\u7528 MediaPipe<\/a>\u300d\uff0c\u5b89\u88dd\u5c0d\u61c9\u7684\u5957\u4ef6\uff0c\u5982\u679c\u4e0d\u8981\u4f7f\u7528 Juputer\uff0c\u4e5f\u53ef\u53c3\u8003\u300c<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/info\/virtualenv.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u4f7f\u7528 Python \u865b\u64ec\u74b0\u5883<\/a>\u300d\uff0c\u5efa\u7acb\u865b\u64ec\u74b0\u5883\u9032\u884c\u5be6\u4f5c\u3002<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a1\">\u4f7f\u7528 MediaPipe\uff0c\u5075\u6e2c\u4e26\u7e6a\u88fd\u624b\u638c\u9aa8\u67b6&nbsp;<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/ai-mediapipe-hand.html#a1\"><\/a><\/h2>\n\n\n\n<p>MediaPipe Hands \u5229\u7528\u591a\u500b\u6a21\u578b\u5354\u540c\u5de5\u4f5c\uff0c<em>\u53ef\u4ee5\u5075\u6e2c\u624b\u638c\u6a21\u578b\uff0c\u8fd4\u56de\u624b\u638c\u8207\u6bcf\u96bb\u624b\u6307\u7cbe\u78ba\u7684 3D \u95dc\u9375\u9ede<\/em>\uff0cMediaPipe Hand \u9664\u4e86\u53ef\u4ee5\u5075\u6e2c\u6e05\u6670\u7684\u624b\u638c\u5f62\u72c0\u8207\u52d5\u4f5c\uff0c\u66f4\u53ef\u4ee5\u5224\u65b7\u51fa\u88ab\u5c11\u90e8\u5206\u88ab\u906e\u853d\u7684\u624b\u6307\u5f62\u72c0\u548c\u52d5\u4f5c\uff0c\u518d\u6e05\u6670\u7684\u756b\u9762\u4e0b\uff0c\u91dd\u5c0d\u624b\u638c\u5224\u65b7\u7684\u7cbe\u6e96\u5ea6\u53ef\u9054 95.7%\u3002<\/p>\n\n\n\n<p><em>Mediapipe \u5075\u6e2c\u624b\u638c\u5f8c\uff0c\u6703\u5728\u624b\u638c\u8207\u624b\u6307\u4e0a\u7522\u751f 21 \u500b\u5177\u6709 x\u3001y\u3001z \u5ea7\u6a19\u7684\u7bc0\u9ede<\/em>\uff0c\u900f\u904e\u5305\u542b\u7acb\u9ad4\u6df1\u5ea6\u7684\u7bc0\u9ede\uff0c\u5c31\u80fd\u5728 3D \u5834\u666f\u4e2d\u505a\u51fa\u591a\u7a2e\u4e0d\u540c\u7684\u61c9\u7528\uff0c\u4e0b\u5716\u6a19\u793a\u51fa\u6bcf\u500b\u7bc0\u9ede\u7684\u9806\u5e8f\u548c\u4f4d\u7f6e (&nbsp;<a href=\"https:\/\/google.github.io\/mediapipe\/solutions\/hands#static_image_mode\" target=\"_blank\" rel=\"noreferrer noopener\">\u5716\u7247\u4f86\u6e90<\/a>&nbsp;)\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default\"><p>\u5982\u679c\u540c\u6642\u51fa\u73fe\u5169\u96bb\u624b\uff0c\u63a1\u7528\u4ea4\u932f\u5075\u6e2c ( \u77ed\u6642\u9593\u5167\u5075\u6e2c\u5169\u6b21\uff0c\u4e00\u6b21\u5075\u6e2c\u4e00\u96bb\u624b )\uff0c\u6700\u5f8c\u4ecd\u7136\u7dad\u6301 21 \u500b\u9ede\u7684\u6578\u64da\uff0c\u5982\u679c\u53ea\u5e0c\u671b\u5075\u6e2c\u4e00\u96bb\u624b\uff0c\u53ef\u8a2d\u5b9a max_num_hands=1\u3002<\/p><\/blockquote>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/steam.oxxostudio.tw\/webp\/python\/ai\/ai-mediapipe-hand-01.webp\" alt=\"Python \u6559\u5b78 - Mediapipe \u624b\u638c\u5075\u6e2c ( hands )\" width=\"876\" height=\"313\"\/><\/figure><\/div>\n\n\n\n<p>\u4e0b\u65b9\u7684\u7a0b\u5f0f\u78bc\u5ef6\u4f38\u300c<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/opencv-read-video.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u8b80\u53d6\u4e26\u64ad\u653e\u5f71\u7247<\/a>\u300d\u6587\u7ae0\u7684\u7bc4\u4f8b\uff0c\u642d\u914d mediapipe \u624b\u638c\u5075\u6e2c\u7684\u65b9\u6cd5\uff0c\u900f\u904e\u651d\u5f71\u93e1\u982d\u7372\u53d6\u5f71\u50cf\u5f8c\uff0c\u5373\u6642\u6a19\u8a18\u51fa\u624b\u638c\u9aa8\u67b6\u548c\u52d5\u4f5c\u3002<\/p>\n\n\n\n<div style=\"overflow: auto; height: 500px; background-color: #0000;\"><script src=\"https:\/\/gist.github.com\/icchannel\/ce471b54ae786cbe4308d902b64a48da.js\"><\/script>\n<\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/steam.oxxostudio.tw\/webp\/python\/ai\/ai-mediapipe-hand-02.gif\" alt=\"Python \u6559\u5b78 - Mediapipe  \u624b\u638c\u5075\u6e2c ( hands )\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"a2\">\u9694\u7a7a\u89f8\u78b0\u7684\u5c0f\u904a\u6232&nbsp;<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/ai-mediapipe-hand.html#a3\"><\/a><\/h2>\n\n\n\n<p>\u5075\u6e2c\u5230\u624b\u638c\u5f8c\uff0c\u5c31\u53ef\u53d6\u5f97 21 \u500b\u7bc0\u9ede\u7684\u5ea7\u6a19\u4f4d\u7f6e\uff0c\u4e0b\u65b9\u7684\u7a0b\u5f0f\u78bc\u6703\u5728\u651d\u5f71\u6a5f\u53d6\u5f97\u756b\u9762\u6642\uff0c\u5728\u756b\u9762\u4e0a\u7e6a\u88fd\u4e00\u500b\u6b63\u65b9\u5f62\u5340\u57df\uff0c\u7576\u98df\u6307\u672b\u7aef ( \u7b2c 8 \u500b\u7bc0\u9ede ) \u89f8\u78b0\u5230\u9019\u500b\u5340\u57df ( \u5ea7\u6a19\u843d\u5728\u9019\u500b\u5340\u57df\u5167 )\uff0c\u5c31\u5c07\u6b63\u65b9\u5f62\u5340\u57df\u79fb\u52d5\u5230\u96a8\u6a5f\u7684\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<p>\u53c3\u8003\uff1a<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/opencv-drawing.html#a4\" target=\"_blank\" rel=\"noreferrer noopener\">rectangle() \u756b\u56db\u908a\u5f62<\/a>\u3001<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/library\/random.html#a4\" target=\"_blank\" rel=\"noreferrer noopener\">\u96a8\u6a5f\u6574\u6578<\/a><\/p>\n\n\n\n<div style=\"overflow: auto; height: 500px; background-color: #0000;\"><script src=\"https:\/\/gist.github.com\/icchannel\/6f14c950fe72104d6b21e50b338cedd1.js\"><\/script>\n<\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/steam.oxxostudio.tw\/webp\/python\/ai\/ai-mediapipe-hand-03.gif\" alt=\"Python \u6559\u5b78 - Mediapipe  \u624b\u638c\u5075\u6e2c ( hands )\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"end\">\u53c3\u8003\u8cc7\u6599&nbsp;<a href=\"https:\/\/steam.oxxostudio.tw\/category\/python\/ai\/ai-mediapipe-hand.html#end\"><\/a><\/h2>\n\n\n\n<ul><li><a href=\"https:\/\/google.github.io\/mediapipe\/solutions\/hands#python-solution-api\" target=\"_blank\" rel=\"noreferrer noopener\">MediaPipe Hands<\/a><\/li><\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-style-default\"><p>\u672c\u7bc7\u6587\u7ae0\u7d93\u539f\u4f5c\u8005(oxxo)\u6388\u6b0a\u8f49\u8f09\uff0c\u539f\u6587\u70ba\u300c<a href=\"https:\/\/user113160.psee.io\/4bzlb6\" target=\"_blank\" rel=\"noreferrer noopener\">Mediapipe \u624b\u638c\u5075\u6e2c ( hands )<\/a>\u300d\u520a\u767b\u65bc\u3010<strong><a href=\"https:\/\/pse.is\/4buh2q\" target=\"_blank\" rel=\"noreferrer noopener\">Steam\u6559\u80b2\u5b78\u7fd2\u7db2<\/a>\u3011<\/strong><\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u9019\u7bc7\u6559\u5b78\u6703\u4f7f\u7528 MediaPipe \u7684\u624b\u638c\u5075\u6e2c\u6a21\u578b ( hands ) \u5075\u6e2c\u96d9\u624b\u7684\u624b\u638c\uff0c\u518d\u900f\u904e OpenCV \u8b80\u53d6\u651d\u5f71\u93e1\u982d\u5f71\u50cf\u9032\u884c\u8fa8\u8b58\uff0c\u5728\u624b\u638c\u8207\u6bcf\u96bb\u624b\u6307\u6a19\u8a18\u9aa8\u67b6\uff0c\u6700\u5f8c\u9084\u6703\u7c21\u55ae\u8a2d\u8a08\u9694\u7a7a\u89f8\u78b0\u7684\u5c0f\u904a\u6232\u3002<\/p>\n","protected":false},"author":1,"featured_media":16941,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[191,238],"tags":[],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/16922"}],"collection":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=16922"}],"version-history":[{"count":3,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/16922\/revisions"}],"predecessor-version":[{"id":16942,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/16922\/revisions\/16942"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/16941"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=16922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=16922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=16922"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=16922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}