{"id":11678,"date":"2021-06-23T19:16:00","date_gmt":"2021-06-23T11:16:00","guid":{"rendered":"http:\/\/www.circuspi.com\/?p=11678"},"modified":"2022-08-26T15:58:48","modified_gmt":"2022-08-26T07:58:48","slug":"ai-mediapipe-unit3","status":"publish","type":"post","link":"https:\/\/www.circuspi.com\/index.php\/2021\/06\/23\/ai-mediapipe-unit3\/","title":{"rendered":"\u4e00\u8d77\u5b78AI ! MediaPipe\u61c9\u7528\u6559\u5b78-\u55ae\u5143(\u4e09)\u4eba\u81c9\u7db2\u683c"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"3001\" height=\"1581\" src=\"https:\/\/www.circuspi.com\/wp-content\/uploads\/2021\/06\/0622_01.jpg\" alt=\"\" class=\"wp-image-11881\"\/><\/figure>\n\n\n\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<h2 class=\"wp-block-heading\">\u4e00\u3001\u7c21\u4ecb<\/h2>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\"MediaPipe (opens in a new tab)\" href=\"https:\/\/mediapipe.dev\/\" target=\"_blank\">MediaPipe<\/a>\u61c9\u7528\u6559\u5b78\u7d42\u65bc\u4f86\u5230\u55ae\u5143(\u4e09)\u5566\uff01\u82e5\u60a8\u662f\u5f9e\u55ae\u5143(\u4e00)\u4e00\u8def\u770b\u904e\u4f86\u7684\u4eba\uff0c\u61c9\u8a72\u5c0d\u65bc\u865b\u64ec\u74b0\u5883\u64cd\u4f5c\u8207\u958b\u555fPython\u7a0b\u5f0f\u4e0d\u90a3\u9ebc\u964c\u751f\u3002\u82e5\u662f\u60a8\u9084\u6c92\u770b\u904e\u524d\u5169\u500b\u55ae\u5143\uff0c\u5efa\u8b70\u5148\u53bb\u88dc\u770b\u518d\u4f86\u9032\u884c\u9019\u500b\u55ae\u5143\uff0c\u524d\u5169\u500b\u55ae\u5143\u6703\u6559\u60a8\u5efa\u7f6e\u865b\u64ec\u74b0\u5883\u8207\u958b\u555f\u7b2c\u4e00\u500bPython\u7a0b\u5f0f\uff0c\u5f9e\u55ae\u5143(\u4e09)\u958b\u59cb\u6211\u5011\u5c07\u4e0d\u518d\u8457\u91cd\u65bc\u9019\u4e9b\u57fa\u790e\u7d30\u7bc0\uff0c\u800c\u662f\u8457\u91cd\u5728\u65bc\u529f\u80fd\u5982\u4f55\u5be6\u73fe\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/google.github.io\/mediapipe\/solutions\/face_mesh.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">MediaPipe Face Mesh<\/a>\u662f\u4e00\u7a2e\u80fd\u5c07\u4eba\u81c9\u5283\u5206\u6210\u8a31\u591a\u5340\u57df\u7684\u7b97\u6cd5\uff0c\u53ef\u5728\u81c9\u4e0a\u6a19\u8a3b468\u500b3D\u6a19\u8a3b\u9ede\u3002\u4e3b\u8981\u4f7f\u7528\u6a5f\u5668\u5b78\u7fd2(Machine Learning)\u4f86\u904b\u7b973D\u8868\u9762\u7684\u5e7e\u4f55\u5f62\u72c0\uff0c\u7121\u9700\u4f7f\u7528\u6df1\u5ea6\u76f8\u6a5f\uff0c\u53ea\u8981\u7c21\u55ae\u7684WebCam\u5373\u53ef\u5be6\u73fe\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/7138fI-oTYxjwpvDBa9fkeSpHBvFscKIlSm4pzr3y7OY6c9H0-ny8c0CQK1D0NacmYAamXf8M76jm6T2_DsrC6Ci0H5B8brTyT3NGPQ1cEcTcSCs1FKn-Mtb2ffTIPUaTbynq1Ik\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u57fa\u790e\u7a0b\u5f0f\u78bc\u4e0b\u8f09\u8207\u57f7\u884c<\/h2>\n\n\n\n<p>1. \u9996\u5148\u900f\u904e\u4e0b\u5217\u9023\u7d50\uff0c\u9032\u5230\u7a0b\u5f0f\u78bc\u6240\u5728\u7684\u9801\u9762\u3002<\/p>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" aria-label=\"\u7a0b\u5f0f\u78bc\u9023\u7d50\n (opens in a new tab)\" href=\"https:\/\/github.com\/iCShopMgr\/MediaPipe_Example\/blob\/main\/face_mesh.py\" target=\"_blank\">\u7a0b\u5f0f\u78bc\u9023\u7d50<\/a><\/strong><\/p>\n\n\n\n<p>2. \u63a5\u8457\u8907\u88fd\u7db2\u9801\u4e0a\u7684\u7a0b\u5f0f\u78bc\u81f3\u81ea\u5df1\u7684\u7a0b\u5f0f\u7de8\u8f2f\u5668\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/nL6W_48IrFoWWfIY5spwU-bGFuyY6L3FQpTRGvZKzvdXvPqGyiIYCSTzu1nxKPJ07q1Tnr1FCjA7hgcTaPg8tS7uoOwAQrDmdgE9xZWfu4BNAmAWQZl4zC6Jh_Z5DD867x02P1Mi\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>3. \u900f\u904e\u7a0b\u5f0f\u7de8\u8f2f\u5668\u66ff\u7a0b\u5f0f\u78bc\u547d\u540d\u4e26\u5b58\u6a94\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/IyZ94UzIdU6_BARbkIJOAaGrKiN7si78-Jv7u_BBXvYVQY4BDbsy5TVJ8wx2FDBeQf79tuVzKhrLjw3MnLpuznySc3-0jsGbx86yih_-p92Y_1fszyLxpOTd3Fqefe4oH50DkBjp\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>4. \u555f\u52d5\u865b\u64ec\u74b0\u5883\u4e26\u958b\u555f\u525b\u525b\u5132\u5b58\u7684Python\u7a0b\u5f0f\uff0c\u5373\u53ef\u770b\u5230\u7d50\u679c\u3002<\/p>\n\n\n\n<p>\u4eba\u81c9\u7e3d\u5171\u88ab\u6a19\u8a3b\u4e86468\u500b\u5ea7\u6a19\u9ede\uff0c\u53ef\u4ee5\u770b\u5230\u6211\u5011\u7684\u4eba\u81c9\u8f2a\u5ed3\u88ab\u5708\u8d77\u4f86\uff0c\u88ab\u91cd\u9ede\u6a19\u8a3b\u7684\u9084\u6709\u7709\u6bdb\u7684\u4e0a\u4e0b\u7de3\u3001\u773c\u775b\u7684\u8f2a\u5ed3\u3001\u8207\u5634\u5507\u7684\u5f62\u72c0\u3002\u8a66\u8457\u8f49\u8f49\u982d\u3001\u52d5\u52d5\u7709\u6bdb\u3001\u8aaa\u9ede\u8a71\uff0c\u53ef\u4ee5\u770b\u5230\u6a19\u8a3b\u7684\u7dda\u689d\u96a8\u8457\u6211\u5011\u52d5\u4f5c\u800c\u8ddf\u8457\u6539\u8b8a\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/BNu4I6rxxP_YzsFhW0Nkvvtk7shc4YimFmCrO7qmX_G4VnEQpcZAtn2COQCRVjiP-WgK9reHJtqsofhAiFi9IdLAnQCjq6mlLx-f25kMuDRpc8n3ma1wA8J3EHZw3qICnLaIkwn-\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u7a0b\u5f0f\u78bc\u7c21\u95b1<\/h2>\n\n\n\n<p>\u525b\u525b\u57f7\u884c\u7684\u4eba\u81c9\u6a19\u8a3b\u8207\u7e6a\u88fd\u529f\u80fd\u90fd\u662f\u900f\u904e\u7a0b\u5f0f\u78bc\u6240\u5be6\u73fe\u7684\uff0c\u8b93\u6211\u5011\u7c21\u55ae\u7684\u4f86\u770b\u4e00\u4e0b\uff0c\u7a0b\u5f0f\u78bc\u505a\u4e86\u4e9b\u4ec0\u9ebc\u5427\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u532f\u5165\u6a94\u6848<\/h3>\n\n\n\n<p>\u9996\u5148\u532f\u5165\u6211\u5011\u9700\u8981\u7684\u529f\u80fd\uff0c\u5f71\u50cf\u8655\u7406\u5957\u4ef6\u300c<strong>cv2(OpenCV)<\/strong>\u300d\u8207\u6211\u5011\u7684\u4e3b\u89d2\u300c<strong>mediapipe<\/strong>\u300d\uff0c\u4e26\u5728\u7a0b\u5f0f\u78bc\u88e1\u5c07\u5b83\u7c21\u7a31\u70ba\u300cmp\u300d\u3002<\/p>\n\n\n\n<p>\u63a5\u8457\u53d6\u51fa\u300c<strong>mediapipe<\/strong>\u300d\u529f\u80fd\u767e\u5bf6\u888b\u300c<strong>solutions<\/strong>\u300d\u88e1\u9762\u7684\u300c<strong>\u7e6a\u5716\/\u6a19\u8a3b\u65b9\u6cd5<\/strong>\u300d\u8207\u300c<strong>\u4eba\u81c9\u6a19\u8a3b\u7db2\u683c\u65b9\u6cd5<\/strong>\u300d\u3002\u4e26\u5c07\u9019\u4e9b\u65b9\u6cd5\u8ce6\u4e88\u65b0\u7684\u540d\u7a31\u5099\u7528\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/2Z-GsO-1r-HxRfisV9nXs7Pzzwcd238UUPZeCY2BtXRRMfIbrJZR-6y4oTHL8G_uWOlYBg2HhoSbY21GBGtOk_eQhh3GWnEnKPKjKE7SyHfLVczZviKn-RbzAGacKOGDMaACHPBp\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u8a2d\u5b9a\u6a19\u8a3b\u984f\u8272\u8207\u8a2d\u5b9a\u651d\u5f71\u6a5f<\/h3>\n\n\n\n<p>\u56e0\u70ba\u6a19\u8a3b\u7684\u9ede\u5f88\u591a\uff0c\u5c07\u6a19\u8a3b\u9ede\u8207\u6a19\u8a3b\u7dda\u7684\u984f\u8272\u5206\u958b\u6703\u6bd4\u8f03\u597d\u89c0\u5bdf\uff0c\u6240\u4ee5\u6211\u5011\u4f7f\u7528\u7e6a\u5716\/\u6a19\u8a3b\u65b9\u6cd5\u300c<strong>mp_drawing<\/strong>\u300d\u5e95\u4e0b\u7684\u300c<strong>DrawingSpec<\/strong>\u300d\u65b9\u6cd5\u4f86\u8a2d\u5b9a\u984f\u8272\uff0c\u300c<strong>drawing_spec1<\/strong>\u300d\u662f\u7528\u4f86\u8a2d\u5b9a\u6a19\u8a3b\u9ede\u7684\u984f\u8272\u3001\u5708\u7dda\u5bec\u5ea6\u8207\u6a19\u8a3b\u9ede\u7684\u534a\u5f91\uff0c\u9810\u8a2d\u662f2\u50cf\u7d20\u9ede\uff0c\u6211\u5011\u4e0d\u5e0c\u671b\u9019\u9ebc\u5927\u3002<\/p>\n\n\n\n<p>\u300c<strong>drawing_spec2<\/strong>\u300d\u662f\u7528\u4f86\u8a2d\u5b9a\u6a19\u8a3b\u7dda\u7684\u984f\u8272\uff0c\u70ba\u4e86\u4f7f\u52fe\u7dda\u6e05\u695a\uff0c\u9019\u908a\u7684\u7dda\u5bec\u63a1\u7528\u9810\u8a2d\u503c\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u900f\u904e\u7a0b\u5f0f\u8a2d\u5b9a\u651d\u5f71\u6a5f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/jIBjNRt3E5Yvhf44rJt2FkTt8i0Xf8UbrMkNtRfCVPV_U5cnXfALQnD4xp1cd2ES4Hj5firN-Awqd_-VU5Y9pHtA1dANBx3Cn2EZJMjPfA6ITVQQ9QKBDRE0Dn06AEUVbmb-cC-9\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u555f\u52d5\u6a19\u8a3b\u7db2\u683c\u529f\u80fd\u4e26\u958b\u555f\u651d\u5f71\u6a5f<\/h3>\n\n\n\n<p>\u555f\u52d5\u529f\u80fd\u6642\u9806\u4fbf\u8a2d\u5b9a\u300c<strong>min_detection_confidence=0.5<\/strong>\u300d\uff0c\u9019\u662f\u8a2d\u5b9a\u6aa2\u6e2c\u4eba\u81c9\u6642\u7684\u6e96\u78ba\u7a0b\u5ea6\uff0c\u53ea\u8981\u7b26\u5408\u7a0b\u5ea6\u9054\u523050%\u5373\u7b97\u4eba\u81c9\u3002\u300c<strong>min_tracking_confidence=0.5<\/strong>\u300d\u5247\u662f\u8a2d\u5b9a\u6293\u5230\u7684\u5f71\u50cf\u7b26\u5408\u4eba\u81c9\u7a0b\u5ea6\uff0c\u9019\u6703\u5f71\u97ff\u7b97\u6cd5\u662f\u5426\u91cd\u65b0\u555f\u52d5\u4eba\u81c9\u6aa2\u6e2c\u529f\u80fd\uff0c\u53ea\u8981\u7b26\u5408\u7a0b\u5ea6\u9054\u523050%\u5373\u5ffd\u7565\u4eba\u81c9\u6aa2\u6e2c\u529f\u80fd\u3002<\/p>\n\n\n\n<p>\u4e00\u5207\u8a2d\u5b9a\u5b8c\u6210\u5f8c\u6703\u958b\u555f\u651d\u5f71\u6a5f\uff0c\u4e26\u6aa2\u6e2c\u662f\u5426\u958b\u555f\u6210\u529f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/UJnn71BMDIreBFGPOqsPUdV4UM7WYjVSPg_JcN26p7HnI08NR8-Nt2wNv9irpEpWGDM_j3XH0zI4Bpb2ZrrCYgaTMX5M0pQRQGpVkt-dWEd2mPmSGsHO9wmHJjvKFknocOJVpFKm\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u8f49\u63db\u5f71\u50cf\u4e26\u958b\u59cb\u6aa2\u6e2c<\/h3>\n\n\n\n<p>\u56e0\u70ba\u6aa2\u6e2c\u7b97\u6cd5\u8f38\u5165\u5f71\u50cf\u7684\u984f\u8272\u683c\u5f0f\u9806\u5e8f\u9700\u8981RGB\uff0c\u800c\u900f\u904eOpenCV\u8b80\u53d6\u7684\u5f71\u50cf\u984f\u8272\u9806\u5e8f\u70baBGR\uff0c\u6240\u4ee5\u9700\u8981\u900f\u904e\u7a0b\u5f0f\u505a\u8f49\u63db\uff0c\u624d\u80fd\u5c07\u8f49\u63db\u5f8c\u7684\u5f71\u50cf\u4e1f\u5230\u6aa2\u6e2c\u7b97\u6cd5\u88e1\u53d6\u5f97\u7d50\u679c\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/Xl4D4uaIccM-f9CfHNrAbSN2vdk_mwpjM70zChp_4VDN-V95HOrx0J4qmbGtw7Z0OC3TPKnUkhqbaCD2-keNKWp88nIF_NV7rgy3xqIEDX2wBwTwW0bSdpAuaUWs3s-U4wQiBqLn\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u5c07\u6aa2\u6e2c\u7d50\u679c\u6a19\u8a3b\u65bc\u5f71\u50cf\u4e0a<\/h3>\n\n\n\n<p>\u900f\u904e\u300c<strong>mp_drawing.draw_landmarks<\/strong>\u300d\uff0c\u6211\u5011\u80fd\u5c07\u7d50\u679c\u6a19\u8a3b\u5728\u5f71\u50cf\u4e0a\uff0c\u586b\u5165\u8981\u6a19\u8a3b\u7684\u5f71\u50cf\u3001\u6bcf\u500b\u7d50\u679c\u9ede\u3001\u6a19\u8a3b\u65b9\u6cd5\u3002\u4f9d\u7167\u5c0d\u61c9\u7684\u662f\u7e6a\u88fd\u6a19\u8a3b\u9ede\u9084\u662f\u6a19\u8a3b\u7dda\uff0c\u586b\u5165\u4e00\u958b\u59cb\u8a2d\u5b9a\u7684\u984f\u8272\u300c<strong>drawing_spec1<\/strong>\u300d\u8207\u300c<strong>drawing_spec2<\/strong>\u300d\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/DLdhUsO4E95Yv8PXzTjTXm5ZOfwmT09J8EMfPQDMHxoVGGa-p9XSZub2SlliW5lHJ5jD3mHBZRKJeqhJwuzzsaWlWez5oVqkUkxbXuxpY0w5BRh_oVOiAtHTtdJRIWzzx3rMAUyc\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6. \u986f\u793a\u5f71\u50cf\u8207\u8a2d\u5b9a\u95dc\u9589\u689d\u4ef6<\/h3>\n\n\n\n<p>\u900f\u904e\u300c<strong>cv2.imshow<\/strong>\u300d\u5c07\u6a19\u8a3b\u597d\u7684\u5f71\u50cf\u986f\u793a\u51fa\u4f86\uff0c\u4e26\u8a2d\u5b9a\u6309\u4e0b\u9375\u76e4\u4e0a\u7684\u300c<strong>ESC<\/strong>\u300d\u6309\u9375\u5c31\u91cb\u653e\u651d\u5f71\u6a5f\u8207\u95dc\u9589\u8996\u7a97\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/k-M079Ih6Bngxc8tudTCWs9fxSZUA-tVQ7PWEDZvbHTwQA80p8qJJvlG9p6LtI-aRe5Lx0KnotelFa_G3G2PaIQtwau20GcBlO6lx_suU-yd-LGlCrVEDSJ_NOAcHBNayJUWCObP\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7. \u5c0f\u7d50<\/h3>\n\n\n\n<p>\u60a8\u6703\u767c\u73fe\u6574\u500b\u6d41\u7a0b\u8207\u4e0a\u4e00\u500b\u55ae\u5143\u7684\u4e00\u6a23\uff0c\u6c92\u932f\uff01\u5f71\u50cf\u8655\u7406\u6d41\u7a0b\u5176\u5be6\u90fd\u662f\u4e00\u6a23\u7684\uff0c\u7b2c\u4e00\u6b65\u8f09\u5165\u6703\u7528\u5230\u7684\u529f\u80fd\uff0c\u63a5\u8457\u91cd\u8907\u53d6\u5f97\u5f71\u50cf\uff1e\u6aa2\u6e2c\uff1e\u6a19\u8a3b\u6aa2\u6e2c\u7d50\u679c\uff1e\u986f\u793a\u3002\u904e\u7a0b\u4e2d\u4e5f\u53ef\u4ee5\u4f9d\u7167\u6aa2\u6e2c\u7684\u7d50\u679c\uff0c\u52a0\u5165\u4e00\u4e9b\u6211\u5011\u60f3\u8981\u5be6\u73fe\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u4eba\u81c9\u7db2\u683c\u9ede\u5ea7\u6a19<\/h2>\n\n\n\n<p>\u5728MediaPipe\u5c08\u6848\u88e1\u9762\uff0c\u53ef\u4ee5\u627e\u5230<a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/github.com\/google\/mediapipe\/blob\/master\/mediapipe\/modules\/face_geometry\/data\/canonical_face_model_uv_visualization.png\" target=\"_blank\">\u4eba\u81c9\u7db2\u683c\u6a19\u8a3b\u7684\u5716\u7247<\/a>\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/XOHYVas8Auwcd23F-0X1TE_AHkf36sw6MbjdDzm27rhFYUDRmDHrkPeouQv3REDoUJXr78bAyYoXBW7kxx5cnQcBdV9-MA2BKSTAX4pA4gBM28iiLfjzK-BHWIW1NsGrRWqN68UX\" alt=\"\" width=\"575\" height=\"575\"\/><\/figure><\/div>\n\n\n\n<p>\u5716\u7247\u5927\u5c0f\u70ba4096 x 4096\uff0c\u5c40\u90e8\u653e\u5927\u5f8c\uff0c\u53ef\u4ee5\u89c0\u5bdf\u5230\u5716\u7247\u4e0a\u91dd\u5c0d\u6bcf\u500b\u9ede\u6709\u6a19\u4e0a\u7de8\u865f\uff0c\u9019\u500b\u7de8\u865f\u70ba\u6bcf\u500b\u6a19\u8a3b\u9ede\u7684\u540d\u7a31\uff0c\u6211\u5011\u53ef\u4ee5\u900f\u904e\u5728\u7a0b\u5f0f\u4e2d\u8f38\u5165\u7de8\u865f\uff0c\u6293\u53d6\u5716\u7247\u4e0a\u5c0d\u61c9\u7684\u4f4d\u5b50\u5ea7\u6a19\uff0c\u9032\u800c\u505a\u4e00\u4e9b\u63a7\u5236\u6216\u662f\u52a0\u4e0a\u5716\u7247\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/hCfwnOHZfkZ5cR61-_wxtnjKYk8pQTJMw0z6ueAY0kFjkZlZ-MB0aIqdTFuaRj4saaTTUWiDbdLpE_i9_D5jEzdvcHN0zWx9Y6muIZV28z9Zgjbq0DoVChXOZYzxfBJuoOXNX_he\" alt=\"\" width=\"581\" height=\"303\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e94\u3001\u9032\u968e\u61c9\u7528<\/h2>\n\n\n\n<p>\u6211\u5011\u5df2\u7d93\u6210\u529f\u7684\u4f7f\u7528\u4e86Face Mesh\u7684\u529f\u80fd\uff0c\u63a5\u8457\u8a72\u662f\u52a0\u5165\u4e00\u4e9b\u60f3\u6cd5\u7684\u6642\u5019\u4e86\uff0c\u900f\u904e\u525b\u525b\u7db2\u683c\u9ede\u7684\u8aaa\u660e\uff0c\u6211\u5011\u53ef\u4ee5\u5f9e\u6aa2\u6e2c\u7684\u5f71\u50cf\u4e2d\u53d6\u5f97\u6211\u5011\u60f3\u8981\u7684\u9ede\u5ea7\u6a19\u3002\u4e5f\u5c31\u662f\u8aaa\uff0c\u6211\u5011\u53ef\u4ee5\u8f15\u6613\u53d6\u5f97\u773c\u775b\u7684\u5ea7\u6a19\u3001\u5634\u5df4\u7684\u5ea7\u6a19\u3001\u9f3b\u5b50\u7684\u5ea7\u6a19&#8230;&#8230;\u7b49\u3002<\/p>\n\n\n\n<p>\u4f55\u4e0d\u52a0\u4e0a\u4e00\u4e9b\u5716\u6848\u5230\u81ea\u5df1\u7684\u81c9\u4e0a\u5462\uff1f\u6211\u5011\u53ef\u4ee5\u6e96\u5099\u4e00\u4e9b\u5716\u6848\uff0c\u4e26\u5c07\u5b83\u8cbc\u5728\u6307\u5b9a\u7684\u4f4d\u5b50\uff0c\u5c31\u50cfAR\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u4f86\u6211\u5011\u5c07\u900f\u904e\u7a0b\u5f0f\u6539\u8b8a\u6211\u5011\u773c\u775b\u7684\u9020\u578b\uff0c\u6e96\u5099\u4e00\u5f35\u81ea\u5df1\u559c\u6b61\u7684\u773c\u7403\u5716\u6848\uff0c\u6216\u662f\u81ea\u5df1\u756b\u4e00\u500b\uff0c\u8acb\u8b93\u5713\u908a\u8cbc\u9f4a\u5716\u7247\u908a\u7de3\uff0c\u6e1b\u5c11\u591a\u9918\u80cc\u666f\uff0c\u5982<a href=\"https:\/\/github.com\/iCShopMgr\/MediaPipe_Example\/blob\/main\/path2880.png\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">\u4e0b\u5716<\/a>\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/r-wBAynz_MLwEpHqnPM-ZjyE7JH-mpBNZQjxFbhwr5N5sYhmbSenbBRTwkFJn543VeNPy8eaObHHjlvDnY8BbsT481jSB_rlp8PZxIGZ6nofMHh3xQka-iJIPZENMAK4mGpVqFaI\" alt=\"\" width=\"561\" height=\"562\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u516d\u3001\u9032\u968e\u7a0b\u5f0f\u78bc\u4e0b\u8f09\u8207\u57f7\u884c<\/h2>\n\n\n\n<p>1. \u9996\u5148\u900f\u904e\u4e0b\u5217\u9023\u7d50\uff0c\u9032\u5230\u7a0b\u5f0f\u78bc\u6240\u5728\u7684\u9801\u9762\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/iCShopMgr\/MediaPipe_Example\/blob\/main\/face_mesh2.py\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\"><strong>\u7a0b\u5f0f\u78bc\u9023\u7d50<\/strong><\/a><br><\/p>\n\n\n\n<p>2. \u63a5\u8457\u4e00\u6a23\u8907\u88fd\u7db2\u9801\u4e0a\u7684\u7a0b\u5f0f\u78bc\u81f3\u81ea\u5df1\u7684\u7a0b\u5f0f\u7de8\u8f2f\u5668\u3002<\/p>\n\n\n\n<p>3. \u900f\u904e\u7a0b\u5f0f\u7de8\u8f2f\u5668\u66ff\u7a0b\u5f0f\u78bc\u547d\u540d\u4e26\u5b58\u6a94\u3002<\/p>\n\n\n\n<p>4. \u4f7f\u7528\u865b\u64ec\u74b0\u5883\u958b\u555fPython\u7a0b\u5f0f\u5f8c\uff0c\u7a0b\u5f0f\u904b\u4f5c\u6b63\u5e38\u7684\u60c5\u6cc1\u4e0b\uff5e\u60a8\u5de6\u908a\u7684\u773c\u775b\u61c9\u8a72\u6703\u8ddf\u5c0f\u7de8\u7684\u4e00\u6a23\uff0c\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/OUv7B3zresWyMCa1yP0gX1rmEOgvxaUDXHvs1k9qK89Jq6Z39Zv3IJlm47757SfH1bD4IP5gTu28RcFYvrUifmDvjpVunDIsrONzHvQr8gWN8mD8tvIBMCQEpCAeA0pMQFqqGWKO\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>\u82e5\u662f\u8981\u63db\u4e0a\u81ea\u5df1\u7684\u5716\u7247\uff0c\u53ef\u5c07\u5716\u7247\u8207\u7a0b\u5f0f\u78bc\u653e\u5728\u540c\u4e00\u500b\u8def\u5f91\u4e0b\uff0c\u4e26\u65bc\u7a0b\u5f0f\u4e2d\u66f4\u6539\u70ba\u60a8\u5716\u7247\u7684\u6a94\u540d\uff0c\u4f4d\u5b50\u5982\u4e0b\u5716\u6240\u793a\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/sN5BdNYWxry0BaKyKuofSaixADU_Mi09ouK0-zPCqrxK9WC55BQGnvCpvqlwVTp11atlVLhGl-UeSXYzWuqTdtacsuftRwAj2wOlLEDAhawfIWUbYGNuFUobJ0Fqa8hzCY8Cl7yE\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e03\u3001\u9032\u968e\u7a0b\u5f0f\u78bc\u6aa2\u95b1<\/h2>\n\n\n\n<p>\u5230\u5e95\u662f\u600e\u9ebc\u628a\u5716\u6848\u8cbc\u5230\u773c\u775b\u4e0a\u7684\u5462\uff1f\u9664\u4e86\u77e5\u9053\u5ea7\u6a19\u4e4b\u5916\uff0c\u9084\u9700\u8981\u6ce8\u610f\u4ec0\u9ebc\u5462\uff1f\u8b93\u5c0f\u7de8\u4f86\u8ddf\u60a8\u89e3\u91cb\u89e3\u91cb\uff0c\u56e0\u70ba\u522a\u9664\u4e86\u4e00\u4e9b\u6c92\u6709\u5fc5\u8981\u986f\u793a\u7684\u9805\u76ee\uff0c\u6240\u4ee5\u5f9e\u982d\u958b\u59cb\u8b1b\u89e3\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u532f\u5165\u6a94\u6848<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/AhCebwHhAhl7Z9latN2j_5-FdT0AHuR0wQqZy48TF9EwLLwYGz3f4gMOoEbM-74KGqZoWeaNW5jBKNnpbMpk8Bk4sk24AN9kdjygHOL56SeDXN8JwBivpZa8-0txGm_JOWbhbXDU\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<p>\u9032\u968e\u7a0b\u5f0f\u591a\u532f\u5165\u4e86\u8207\u6578\u5b78\u904b\u7b97\u76f8\u95dc\u7684\u5957\u4ef6\uff0c\u5206\u5225\u662f\u300c<strong>numpy<\/strong>\u300d\u3001\u300c<strong>statistics<\/strong>\u300d\u8207\u300c<strong>math<\/strong>\u300d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u532f\u5165\u529f\u80fd\u4e26\u5efa\u7acb\u5de6\u773c\u7de8\u865f\u6e05\u55ae<\/h3>\n\n\n\n<p>\u53d6\u51fa\u300c<strong>mediapipe<\/strong>\u300d\u529f\u80fd\u767e\u5bf6\u888b\u300c<strong>solutions<\/strong>\u300d\u88e1\u9762\u7684\u300c<strong>\u7e6a\u5716\/\u6a19\u8a3b\u65b9\u6cd5<\/strong>\u300d\u8207\u300c<strong>\u4eba\u81c9\u6a19\u8a3b\u7db2\u683c\u65b9\u6cd5<\/strong>\u300d\u3002\u4e26\u5c07\u9019\u4e9b\u65b9\u6cd5\u8ce6\u4e88\u65b0\u7684\u540d\u7a31\u5099\u7528\u3002<\/p>\n\n\n\n<p>\u4f9d\u7167MediaPipe\u63d0\u4f9b\u7684\u300c<a href=\"https:\/\/github.com\/google\/mediapipe\/blob\/master\/mediapipe\/modules\/face_geometry\/data\/canonical_face_model_uv_visualization.png\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\"><strong>\u4eba\u81c9\u7db2\u683c\u6a19\u8a3b\u5716<\/strong><\/a>\u300d\u67e5\u627e\u5de6\u773c\u5468\u570d\u7684\u9ede\u7de8\u865f\uff0c\u4e26\u5efa\u7acb\u6e05\u55ae\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/GIMiXT252fAjq8vnr3gkMuX89dL6BTtSQwa2qYHD5EXYq2YHhcLmmE3N5AIOmEwmJdve0Tvsqn7BZJTLK6YKwMuxtucat4zYTTK-8gEgTIZMkADTAtqpKmoDOSnZJN48g5OLM_g8\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u8a2d\u5b9a\u9023\u63a5\u651d\u5f71\u6a5f\u8207\u8b80\u53d6\u773c\u775b\u5716\u7247<\/h3>\n\n\n\n<p>\u82e5\u662f\u8981\u63db\u4e0a\u81ea\u5df1\u7684\u5716\u7247\uff0c\u53ef\u5c07\u5716\u7247\u8207\u7a0b\u5f0f\u78bc\u653e\u5728\u540c\u4e00\u500b\u8def\u5f91\u4e0b\uff0c\u4e26\u65bc\u7a0b\u5f0f\u4e2d\u66f4\u6539\u70ba\u60a8\u5716\u7247\u7684\u6a94\u540d\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/Ec9uUU0H21TDqyYMJ5zjtWMtQZwgke-UatMemRpqy8SHAZdJfkihCNICt1v_qTADVuVoQM_WQ0s2yNfGjv8rOLkyFyNmc3HgU_TqMe6jxMLFtr4ZjbcRTVHBBkaDF56nwQKo044V\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u555f\u52d5\u6a19\u8a3b\u7db2\u683c\u529f\u80fd\u4e26\u958b\u555f\u651d\u5f71\u6a5f<\/h3>\n\n\n\n<p>\u8207\u57fa\u790e\u7a0b\u5f0f\u4e00\u6a23\uff0c\u555f\u52d5\u6aa2\u6e2c\u7db2\u683c\u529f\u80fd\u4e26\u8a2d\u5b9a\u5404\u6aa2\u6e2c\u7387\uff0c\u4e00\u5207\u8a2d\u5b9a\u5b8c\u6210\u5f8c\u6703\u958b\u555f\u651d\u5f71\u6a5f\uff0c\u4e26\u6aa2\u6e2c\u662f\u5426\u958b\u555f\u6210\u529f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/ZSpLfAWodGmT_fPPD_ZzAubZAyS7s-q1pyNZ6-x84i96QOb13bWGmgmWsG3Jtk-zan4opoyM6ePFBwtFkIhIOHGNWMJs3BZUw-m1YdI3l_qF7zDky4kd_3C9Nvhe7lt8_kiInXmK\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u8f49\u63db\u5f71\u50cf\u4e26\u958b\u59cb\u6aa2\u6e2c<\/h3>\n\n\n\n<p>\u9664\u4e86\u900f\u904e\u7a0b\u5f0f\u505aBGR\u5230RGB\u7684\u8f49\u63db\uff0c\u4e26\u5c07\u8f49\u63db\u5f8c\u7684\u5f71\u50cf\u4e1f\u5230\u6aa2\u6e2c\u7b97\u6cd5\u88e1\u53d6\u5f97\u7d50\u679c\u4e4b\u5916\uff0c\u70ba\u4e86\u5f8c\u7e8c\u904b\u7b97\uff0c\u6211\u5011\u4e5f\u5fc5\u9808\u53d6\u5f97\u5716\u7247\u7684\u9577\u3001\u5bec\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/upiCy5Sj1ljBGCiBj0rJvYe578uzRYAWV5RkA2F5GcEZVt-pj6MCj7ofBQxUraLXaUZacsqhuSxLcA43Feu10Gl5IHeJd5Epeh1t_tj4kZuLZDH9mIbHySgAQREV-D9Uw_DlETkw\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6. \u53d6\u5f97\u5f71\u50cf\u4e2d\u5de6\u773c\u7684\u9ad8\u5ea6\u8207\u6bcf\u500b\u9ede\u5ea7\u6a19<\/h3>\n\n\n\n<p>\u900f\u904e\u300c<strong>for\u8ff4\u5708<\/strong>\u300d\u5c07\u6211\u5011\u8a2d\u5b9a\u597d\u7684\u5de6\u773c\u5404\u9ede\u6e05\u55ae\u300c<strong>eye_list<\/strong>\u300d\uff0c\u8207\u6aa2\u6e2c\u5f8c\u7684\u5f71\u50cf\u8cc7\u6599\u5c0d\u7167\uff0c\u627e\u51fa\u5c0d\u61c9\u5ea7\u6a19(x, y)\u4e26\u5b58\u5165\u300c<strong>eye_point<\/strong>\u300d\u5099\u7528\u3002<\/p>\n\n\n\n<p>\u5728\u6293\u53d6\u5404\u9ede\u7684\u904e\u7a0b\u4e2d\uff0c\u7279\u5225\u91dd\u5c0d\u7de8\u865f<strong>153<\/strong>\u3001<strong>159<\/strong>\u5169\u500b\u9ede\u7684\u5ea7\u6a19\u900f\u904e\u904b\u7b97\u6c42\u51fa\u8ddd\u96e2\uff0c\u4f5c\u70ba\u6211\u5011\u773c\u775b\u7684\u5927\u5c0f\u4e26\u5b58\u653e\u5728\u300c<strong>eye_size<\/strong>\u300d\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/xJV_BhMhkjVM8bNmPR_glM77mED7yXTLnCoZpcccGz0IfGsV1zD16YneAkdRAiOQ6ZevX9b5qVbOLbV86oxVuK7d9KqIiBhfdnNc1a9B3p8vUKuC_MfUpgOVA6P7ws7KRiOCshYx\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7. \u53d6\u5f97\u5de6\u773c\u4e2d\u5fc3\u5ea7\u6a19\u4e26\u5c07\u5716\u7247\u8f49\u63db\u9069\u5408\u773c\u775b\u5927\u5c0f\u5f8c\u8cbc\u4e0a<\/h3>\n\n\n\n<p>\u5c07\u53d6\u5f97\u7684\u5404\u9ede\u5ea7\u6a19\u6e05\u55ae\u300c<strong>eye_point<\/strong>\u300d\u900f\u904e\u300c<strong>statistics<\/strong>\u300d\u8a08\u7b97\u51fa\u773c\u775b\u4e2d\u5fc3\u5ea7\u6a19\uff0c\u4e26\u4f9d\u7167\u300c<strong>eye_size<\/strong>\u300d\u5c07\u81ea\u8a02\u7684\u773c\u775b\u5716\u7247\u8f49\u63db\u6210\u7b26\u5408\u7684\u5927\u5c0f\u3002<\/p>\n\n\n\n<p>\u900f\u904e\u4e0b\u5716\u4e2d\u7a0b\u5f0f\u7684\u7b2c61\u884c\u81f368\u884c\uff0c\u9019\u4e00\u7cfb\u5217\u7684\u5716\u5f62\u88c1\u5207\u8207\u8f49\u63db\uff0c\u53ef\u5f97\u5230\u5716\u7247\u7121\u7e2b\u5408\u5728\u5f71\u50cf\u4e0a\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/RzraP_SyN_PVl1wnhHI7gleeFoco8LfJ4rDbBEG4m18wALuGVKuKSfb2m4fsSgJERr8DRm4RtmKeQG0d28_kb1XyxULBjR7o3Oxl5IYlNnJQnpKDsvJ_TaGGXCON_91vHfcb-Gq5\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">8. \u986f\u793a\u5f71\u50cf\u8207\u8a2d\u5b9a\u95dc\u9589\u689d\u4ef6<\/h3>\n\n\n\n<p>\u6700\u5f8c\u900f\u904e\u300c<strong>cv2.imshow<\/strong>\u300d\u5c07\u5408\u6210\u597d\u7684\u5f71\u50cf\u986f\u793a\u51fa\u4f86\uff0c\u4e26\u8a2d\u5b9a\u6309\u4e0b\u9375\u76e4\u4e0a\u7684\u300c<strong>ESC<\/strong>\u300d\u6309\u9375\u5c31\u91cb\u653e\u651d\u5f71\u6a5f\u8207\u95dc\u9589\u8996\u7a97\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/pkdQg1dkSnvLQyTUhixfaFGkWICtfc0fVxmjOg9c-rQK4Az47sh5TKk0kHpPj4nXpcGXsXoV8AcCx3u8TM771tHtdeV01aOEQy-X_x9EuhPk9lRoqYCLiPbUCTAkVXNUClmVafYW\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/eLVsXvyAEAHGMyGl3vMYIKwEo6E9x60eVlGI-xsXxglR805dFKlGj_7FelJUB-MyTl1fpl4cgfynf-kr-70ge5XXNnoKqYlHzLgSn5lxiszK-iH80tNa0Y9NvgjK5cIloSaAuF6M\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u516b\u3001\u7d50\u8a9e<\/h2>\n\n\n\n<p>\u9019\u4e00\u500b\u55ae\u5143\u6559\u5927\u5bb6\u4f7f\u7528MediaPipe Face Mesh\u7684\u529f\u80fd\uff0c\u4e5f\u5b78\u7fd2\u5982\u4f55\u5c07\u6293\u53d6\u7684\u5716\u7247\u5408\u6210\u5230\u67d0\u500b\u5ea7\u6a19\u4e0a\u3002\u6587\u7ae0\u4e2d\u793a\u7bc4\u7684\u662f\u773c\u775b\uff0c\u7576\u7136\u60a8\u4e5f\u53ef\u4ee5\u767c\u63ee\u5275\u610f\uff0c\u7e6a\u88fd\u4e00\u500b\u53ef\u611b\u7684\u96ea\u5bf6\u80e1\u863f\u8514\u9f3b\u5b50\u3001\u8c6c\u9f3b\u5b50\uff0c\u5c07\u5b83\u653e\u5728\u9f3b\u5b50\u7684\u5ea7\u6a19\u4e0a\uff0c\u6216\u662f\u5e6b\u81ea\u5df1\u8a2d\u8a08\u4e00\u500b\u5e3d\u5b50\u6216\u5996\u7cbe\u8033\u6735\u3002\u5c31\u7531\u60a8\u81ea\u5df1\u767c\u63ee\u5275\u610f\u5566\uff0c\u6211\u5011\u4e0b\u500b\u55ae\u5143\u898b\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7bc7\u6587\u7ae0\u8981\u6559\u5927\u5bb6\u4f7f\u7528MediaPipe Face Mesh\uff0c\u5b83\u662f\u4e00\u7a2e\u80fd\u5c07\u4eba\u81c9\u5283\u5206\u6210\u8a31\u591a\u5340\u57df\u7684\u7b97\u6cd5\uff0c\u53ef\u5728\u81c9\u4e0a\u6a19\u8a3b468\u500b3D\u6a19\u8a3b\u9ede\u3002\u4e3b\u8981\u4f7f\u7528\u6a5f\u5668\u5b78\u7fd2(Machine Learning)\u4f86\u904b\u7b973D\u8868\u9762\u7684\u5e7e\u4f55\u5f62\u72c0\uff0c\u7121\u9700\u4f7f\u7528\u6df1\u5ea6\u76f8\u6a5f\uff0c\u53ea\u8981\u7c21\u55ae\u7684WebCam\u5373\u53ef\u5be6\u73fe\u3002<\/p>\n","protected":false},"author":1,"featured_media":11881,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[191,238],"tags":[42,214,210,135],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/11678"}],"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=11678"}],"version-history":[{"count":11,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/11678\/revisions"}],"predecessor-version":[{"id":11882,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/11678\/revisions\/11882"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/11881"}],"wp:attachment":[{"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=11678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=11678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=11678"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=11678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}