{"id":107345,"date":"2026-09-19T13:02:28","date_gmt":"2026-09-19T05:02:28","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107345.html"},"modified":"2026-09-19T13:02:28","modified_gmt":"2026-09-19T05:02:28","slug":"yolov8-pose-68-%e5%85%b3%e9%94%ae%e7%82%b9%e8%ae%ad%e7%bb%83%e5%ae%8c%e6%95%b4%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107345.html","title":{"rendered":"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b"},"content":{"rendered":"<h3>1. \u4e3a\u4ec0\u4e48\u9009\u62e9 YOLOv8-Pose \u8bad\u7ec3 68 \u5173\u952e\u70b9<\/h3>\n<p>YOLOv8-Pose \u662f Ultralytics \u63d0\u4f9b\u7684\u59ff\u6001\u4f30\u8ba1\u6a21\u578b&#xff0c;\u9ed8\u8ba4\u652f\u6301 COCO \u6570\u636e\u96c6\u7684 17 \u4e2a\u5173\u952e\u70b9\u3002\u5bf9\u4e8e\u4e00\u4e9b\u7cbe\u7ec6\u5316\u4efb\u52a1&#xff0c;\u4f8b\u5982\u4eba\u8138 68 \u5173\u952e\u70b9\u68c0\u6d4b\u3001\u624b\u90e8\u5173\u952e\u70b9\u68c0\u6d4b\u6216\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u5bc6\u96c6\u5173\u952e\u70b9\u56de\u5f52&#xff0c;17 \u4e2a\u70b9\u7684\u8868\u8fbe\u7c92\u5ea6\u5f80\u5f80\u4e0d\u591f\u3002\u901a\u8fc7\u4fee\u6539\u6a21\u578b\u7684 kpt_shape \u4ee5\u53ca\u51c6\u5907\u5bf9\u5e94\u683c\u5f0f\u7684\u6570\u636e\u96c6&#xff0c;\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u628a YOLOv8-Pose \u6269\u5c55\u5230 68 \u4e2a\u5173\u952e\u70b9&#xff0c;\u5728\u4fdd\u6301\u5b9e\u65f6\u6027\u80fd\u7684\u540c\u65f6\u83b7\u5f97\u66f4\u7cbe\u7ec6\u7684\u5750\u6807\u56de\u5f52\u80fd\u529b\u3002<\/p>\n<p>\u672c\u7bc7\u6559\u7a0b\u5c06\u5b8c\u6574\u8d70\u901a\u300c\u73af\u5883\u642d\u5efa\u300168 \u70b9\u6570\u636e\u51c6\u5907\u3001\u6a21\u578b\u914d\u7f6e\u4fee\u6539\u3001\u8bad\u7ec3\u3001\u9a8c\u8bc1\u3001\u63a8\u7406\u90e8\u7f72\u300d\u5168\u6d41\u7a0b&#xff0c;\u6240\u6709\u793a\u4f8b\u5747\u57fa\u4e8e Ultralytics YOLOv8 \u6846\u67b6\u3002<\/p>\n<p>\u672c\u7bc7\u6559\u7a0b\u8fd8\u9644\u5e26\u4fee\u6539\u5b66\u4e60\u6570\u636e\u96c6\u5df2\u7ecf\u8f6c\u5316\u5b8c\u6210\u5e76\u514d\u8d39\u5f00\u6e90\u4f7f\u7528&#xff0c;\u6ce8&#xff1a;<\/p>\n<p>\u3010\u6570\u636e\u96c6\u7b80\u4ecb\u3011 \u672c\u6570\u636e\u96c6\u7531 300W-LP \u6570\u636e\u96c6&#xff08;AFW \u5b50\u96c6&#xff09;\u8f6c\u6362\u800c\u6765&#xff0c;\u4e13\u95e8\u7528\u4e8e YOLOv8-Pose \u7684\u4eba\u813868\u5173\u952e\u70b9\u68c0\u6d4b\u8bad\u7ec3\u3002 \u539f\u59cb\u6570\u636e\u6765\u6e90&#xff1a;Face Alignment in Full Pose Range: A 3D Total Solution (TPAMI 2017)\u3002 \u3010\u9884\u5904\u7406\u8bf4\u660e\u3011 \u8f6c\u6362\u65f6\u653e\u5f03\u4e86\u539f\u6570\u636e\u96c6\u4e0e\u56fe\u50cf\u5c3a\u5bf8\u4e0d\u5339\u914d\u7684 roi \u8fb9\u754c\u6846&#xff0c;\u6539\u752868\u4e2a\u6709\u6548\u5173\u952e\u70b9\u6700\u5c0f\u5916\u63a5\u77e9\u5f62\u5e76\u5411\u5916\u6269\u5c5510%\u4f5c\u4e3a\u8fb9\u754c\u6846\u3002 \u5df2\u8f6c\u6362\u4e3a\u6807\u51c6\u7684 YOLO-Pose txt \u683c\u5f0f \u6570\u636e\u96c6\u5df2\u5168\u90e8\u6309 9:1 \u968f\u673a\u5212\u5206\u4e3a\u8bad\u7ec3\u96c6&#xff08;images\/train, labels\/train&#xff09;\u548c\u9a8c\u8bc1\u96c6&#xff08;images\/val, labels\/val&#xff09;\u3002 \u3010\u9002\u7528\u573a\u666f\u3011 \u4eba\u813868\u5173\u952e\u70b9\u68c0\u6d4b\u3001\u9a7e\u9a76\u5458\u75b2\u52b3\u68c0\u6d4b&#xff08;EAR\/MAR\u8ba1\u7b97&#xff09;\u3001YOLOv8-pose \u7b97\u6cd5\u590d\u73b0\u4e0e\u8bfe\u7a0b\u8bbe\u8ba1\/\u6bd5\u4e1a\u8bba\u6587\u5b9e\u9a8c\u3002<\/p>\n<p>\u3010\u514d\u8d23\u58f0\u660e\u3011 \u7248\u6743\u5f52\u5c5e&#xff1a;\u672c\u6570\u636e\u96c6\u7684\u539f\u59cb\u56fe\u50cf\u53ca\u6807\u6ce8\u7248\u6743\u5f52 300W-LP \u6570\u636e\u96c6\u539f\u4f5c\u8005&#xff08;Xiangyu Zhu \u7b49&#xff09;\u53ca\u5bf9\u5e94\u673a\u6784\u6240\u6709\u3002\u672c\u8d44\u6e90\u4ec5\u4e3a\u4e2a\u4eba\u5b66\u4e60\u3001\u79d1\u7814\u590d\u73b0\u800c\u8fdb\u884c\u7684\u4e8c\u6b21\u683c\u5f0f\u8f6c\u6362\u3002 \u975e\u5546\u4e1a\u7528\u9014&#xff1a;\u672c\u8d44\u6e90\u5b8c\u5168\u514d\u8d39\u5171\u4eab&#xff0c;\u4ec5\u9650\u4e8e\u4e2a\u4eba\u5b66\u4e60\u3001\u5b66\u672f\u7814\u7a76\u7b49\u975e\u5546\u4e1a\u7528\u9014\u3002\u4e25\u7981\u5c06\u672c\u6570\u636e\u96c6\u53ca\u5176\u884d\u751f\u6a21\u578b\u7528\u4e8e\u4efb\u4f55\u5546\u4e1a\u76c8\u5229\u884c\u4e3a\u3002 \u51c6\u786e\u6027\u58f0\u660e&#xff1a;\u8f6c\u6362\u811a\u672c\u5df2\u5c3d\u53ef\u80fd\u5904\u7406\u5f02\u5e38\u6570\u636e&#xff0c;\u4f46\u53d7\u9650\u4e8e\u539f\u59cb\u6570\u636e\u96c6\u8d28\u91cf&#xff0c;\u65e0\u6cd5\u4fdd\u8bc1\u6240\u670968\u4e2a\u5173\u952e\u70b9\u5747\u7edd\u5bf9\u7cbe\u51c6\u3002\u4f7f\u7528\u8005\u9700\u81ea\u884c\u5bf9\u6570\u636e\u8d28\u91cf\u8fdb\u884c\u6838\u9a8c\u4e0e\u53ef\u89c6\u5316\u62bd\u67e5&#xff0c;\u56e0\u6570\u636e\u7cbe\u5ea6\u5bfc\u81f4\u7684\u4e00\u5207\u540e\u679c\u7531\u4f7f\u7528\u8005\u81ea\u884c\u627f\u62c5\u3002 \u4fb5\u6743\u8054\u7cfb&#xff1a;\u82e5\u672c\u8d44\u6e90\u65e0\u610f\u4e2d\u4fb5\u72af\u4e86\u60a8\u7684\u6743\u76ca&#xff0c;\u8bf7\u901a\u8fc7\u5e73\u53f0\u79c1\u4fe1\u8054\u7cfb\u672c\u4eba&#xff0c;\u6211\u5c06\u5728\u7b2c\u4e00\u65f6\u95f4\u5220\u9664\u8d44\u6e90\u5e76\u81f4\u6b49\u3002 \u4f7f\u7528\u98ce\u9669&#xff1a;\u4e0b\u8f7d\u548c\u4f7f\u7528\u672c\u8d44\u6e90\u5373\u8868\u793a\u60a8\u5df2\u9605\u8bfb\u5e76\u540c\u610f\u672c\u58f0\u660e&#xff0c;\u56e0\u4f7f\u7528\u672c\u8d44\u6e90\u4ea7\u751f\u7684\u4efb\u4f55\u76f4\u63a5\u6216\u95f4\u63a5\u635f\u5931&#xff0c;\u4e0a\u4f20\u8005\u4e0d\u627f\u62c5\u4efb\u4f55\u6cd5\u5f8b\u8d23\u4efb\u3002<\/p>\n<h3 style=\"background-color:transparent\">2. \u73af\u5883\u51c6\u5907<\/h3>\n<p>\u5efa\u8bae\u4f7f\u7528 Python 3.9 \u53ca\u4ee5\u4e0a\u7248\u672c\u3002\u521b\u5efa\u4e00\u4e2a\u5e72\u51c0\u7684\u865a\u62df\u73af\u5883&#xff0c;\u5e76\u5b89\u88c5 PyTorch \u548c Ultralytics\u3002<\/p>\n<p># \u521b\u5efa\u865a\u62df\u73af\u5883<br \/>\npython -m venv yolov8_pose_env<br \/>\n# \u6fc0\u6d3b\u865a\u62df\u73af\u5883<br \/>\nLinux \/ macOS<br \/>\nsource yolov8_pose_env\/bin\/activate<br \/>\nWindows<br \/>\nyolov8_pose_env\\\\Scripts\\\\activate<br \/>\n# \u5b89\u88c5 PyTorch&#xff0c;CUDA \u7248\u672c\u6839\u636e\u5b9e\u9645\u663e\u5361\u73af\u5883\u9009\u62e9<br \/>\npip install torch torchvision &#8211;index-url https:\/\/download.pytorch.org\/whl\/cu121<br \/>\n# \u5b89\u88c5 Ultralytics<br \/>\npip install ultralytics <\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u786e\u8ba4\u73af\u5883\u6b63\u5e38\u3002<\/p>\n<p>from ultralytics import YOLO<br \/>\nimport torch<br \/>\nprint(&#034;Ultralytics \u7248\u672c&#xff1a;&#034;, import(&#034;ultralytics&#034;).version)<br \/>\nprint(&#034;CUDA \u662f\u5426\u53ef\u7528&#xff1a;&#034;, torch.cuda.is_available()) <\/p>\n<h3 style=\"background-color:transparent\">3. 68 \u5173\u952e\u70b9<\/h3>\n<h4 style=\"background-color:transparent\">3.1\u00a0 68 \u5173\u952e\u70b9\u5b9a\u4e49\u4e0e\u6570\u636e\u89c4\u8303<\/h4>\n<p style=\"text-align:center\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919050226-6aae176293d22.jpg\" \/><\/p>\n<ul>\n<li>\n<p>68 \u70b9\u6807\u51c6\u987a\u5e8f\u8bf4\u660e<\/p>\n<ul>\n<li>\n<p>0\u201316&#xff1a;\u4e0b\u5df4\u8f6e\u5ed3<\/p>\n<\/li>\n<li>\n<p>17\u201326&#xff1a;\u7709\u6bdb<\/p>\n<\/li>\n<li>\n<p>27\u201335&#xff1a;\u9f3b\u5b50<\/p>\n<\/li>\n<li>\n<p>36\u201347&#xff1a;\u773c\u775b<\/p>\n<\/li>\n<li>\n<p>48\u201367&#xff1a;\u5634\u5df4<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>68 \u70b9\u7d22\u5f15\u56fe&#xff1a;\u5728\u539f\u56fe\u4e0a\u6807\u51fa\u6bcf\u4e2a\u70b9\u7f16\u53f7\u3002<\/p>\n<\/li>\n<li>\n<p>\u5de6\u53f3\u5bf9\u79f0\u70b9\u4ea4\u6362\u8868&#xff1a;\u505a\u00a0fliplr\u00a0\u65f6\u5fc5\u987b\u4ea4\u6362\u54ea\u4e9b\u7d22\u5f15\u3002<\/p>\n<\/li>\n<li>\n<p>\u5173\u952e\u70b9\u5750\u6807\u662f\u201c\u76f8\u5bf9\u6574\u56fe\u5f52\u4e00\u5316\u201d&#xff0c;\u4e0d\u662f\u76f8\u5bf9 bbox \u5c40\u90e8\u5f52\u4e00\u5316\u3002<\/p>\n<\/li>\n<li>\n<p>\u53ef\u89c1\u6027\u00a0v\u00a0\u7684\u8bed\u4e49&#xff1a;0\u00a0\u4e0d\u53ef\u89c1\u30011\u00a0\u906e\u6321\u30012\u00a0\u53ef\u89c1&#xff1b;\u7f3a\u5931\u70b9\u5982\u4f55\u5904\u7406\u3002<\/p>\n<\/li>\n<li>\n<p>\u5355\u8138\/\u591a\u8138\u6807\u7b7e\u5199\u6cd5&#xff1a;\u4e00\u5f20\u56fe\u591a\u4e2a\u4eba\u8138\u65f6&#xff0c;\u6bcf\u884c\u4e00\u4e2a\u76ee\u6807\u3002<\/p>\n<\/li>\n<li>\n<p>bbox \u5982\u4f55\u751f\u6210&#xff1a;\u4eba\u8138\u68c0\u6d4b\u5668\u9884\u6807\u6ce8\u3001\u624b\u5de5\u6846\u3001\u6269\u5c55\u6846&#xff0c;\u907f\u514d\u88c1\u6389\u4e0b\u5df4\u6216\u989d\u5934\u3002<\/p>\n<\/li>\n<li>\n<p>\u6807\u7b7e\u6821\u9a8c\u811a\u672c&#xff1a;\u68c0\u67e5\u5b57\u6bb5\u6570\u662f\u5426\u4e3a\u00a05 &#043; 68*3\u3001\u5750\u6807\u662f\u5426\u8d8a\u754c\u3001\u53ef\u89c1\u6027\u662f\u5426\u5408\u6cd5\u3001bbox \u662f\u5426\u6709\u6548\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>3.2\u00a0 \u51c6\u5907 68 \u5173\u952e\u70b9\u6570\u636e\u96c6<\/h4>\n<p>YOLOv8-Pose \u4f7f\u7528 YOLO \u683c\u5f0f\u7684\u6587\u672c\u6807\u7b7e&#xff0c;\u6bcf\u5f20\u56fe\u7247\u5bf9\u5e94\u4e00\u4e2a\u540c\u540d .txt \u6587\u4ef6\u300268 \u5173\u952e\u70b9\u6807\u7b7e\u7684\u6bcf\u4e00\u884c\u683c\u5f0f\u5982\u4e0b&#xff1a;<\/p>\n<p>class_id cx cy w h x1 y1 v1 x2 y2 v2 &#8230; x68 y68 v68 <\/p>\n<p>\u5176\u4e2d&#xff1a;<\/p>\n<ul>\n<li>class_id&#xff1a;\u7c7b\u522b\u7f16\u53f7&#xff0c;\u4ece 0 \u5f00\u59cb\u3002<\/li>\n<li>cx\u3001cy\u3001w\u3001h&#xff1a;\u76ee\u6807\u6846\u4e2d\u5fc3\u5750\u6807\u548c\u5bbd\u9ad8&#xff0c;\u5747\u5f52\u4e00\u5316\u5230 0 \u5230 1\u3002<\/li>\n<li>x1\u3001y1 \u5230 x68\u3001y68&#xff1a;68 \u4e2a\u5173\u952e\u70b9\u7684\u5750\u6807&#xff0c;\u4e5f\u5f52\u4e00\u5316\u5230 0 \u5230 1\u3002<\/li>\n<li>v1 \u5230 v68&#xff1a;\u5173\u952e\u70b9\u53ef\u89c1\u6027&#xff0c;\u901a\u5e38 0 \u8868\u793a\u4e0d\u53ef\u89c1&#xff0c;1 \u8868\u793a\u88ab\u906e\u6321&#xff0c;2 \u8868\u793a\u53ef\u89c1\u3002<\/li>\n<\/ul>\n<p>\u6570\u636e\u96c6\u76ee\u5f55\u5efa\u8bae\u6309\u7167\u4ee5\u4e0b\u7ed3\u6784\u7ec4\u7ec7&#xff1a;<\/p>\n<p>face68_dataset\/<br \/>\n\u251c\u2500\u2500 images\/<br \/>\n\u2502   \u251c\u2500\u2500 train\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 img_001.jpg<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 img_002.jpg<br \/>\n\u2502   \u2514\u2500\u2500 val\/<br \/>\n\u2502       \u251c\u2500\u2500 img_101.jpg<br \/>\n\u2502       \u2514\u2500\u2500 img_102.jpg<br \/>\n\u2514\u2500\u2500 labels\/<br \/>\n    \u251c\u2500\u2500 train\/<br \/>\n    \u2502   \u251c\u2500\u2500 img_001.txt<br \/>\n    \u2502   \u2514\u2500\u2500 img_002.txt<br \/>\n    \u2514\u2500\u2500 val\/<br \/>\n        \u251c\u2500\u2500 img_101.txt<br \/>\n        \u2514\u2500\u2500 img_102.txt <\/p>\n<p>\u5982\u679c\u539f\u59cb\u6807\u6ce8\u6765\u81ea\u5e38\u89c1\u7684 68 \u70b9\u6570\u636e\u96c6&#xff0c;\u4f8b\u5982\u4eba\u8138 landmark \u6570\u636e\u96c6&#xff0c;\u901a\u5e38\u9700\u8981\u5148\u628a\u5173\u952e\u70b9\u5750\u6807\u5f52\u4e00\u5316&#xff0c;\u5e76\u8865\u9f50\u53ef\u89c1\u6027\u6807\u7b7e\u3002\u4e0b\u9762\u7684\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u628a\u4e00\u7ec4\u5173\u952e\u70b9\u5199\u5165 YOLOv8-Pose \u6807\u7b7e\u6587\u4ef6&#xff1a;<\/p>\n<p>import os<br \/>\nimport cv2<br \/>\nimage_dir &#061; &#034;face68_dataset\/images\/train&#034;<br \/>\nlabel_dir &#061; &#034;face68_dataset\/labels\/train&#034;<br \/>\nos.makedirs(label_dir, exist_ok&#061;True)<br \/>\ndef write_yolo_label(image_path, bbox, landmarks68, visibility&#061;None):<br \/>\n&#034;&#034;&#034;<br \/>\nbbox: (x1, y1, x2, y2) \u50cf\u7d20\u5750\u6807<br \/>\nlandmarks68: [(x, y), &#8230;] \u50cf\u7d20\u5750\u6807&#xff0c;\u5171 68 \u4e2a\u70b9<br \/>\nvisibility: \u957f\u5ea6 68 \u7684\u53ef\u89c1\u6027\u5217\u8868&#xff0c;\u9ed8\u8ba4\u5168\u90e8\u4e3a 2<br \/>\n&#034;&#034;&#034;<br \/>\nimg &#061; cv2.imread(image_path)<br \/>\nh, w &#061; img.shape[:2]<br \/>\nx1, y1, x2, y2 &#061; bbox<br \/>\ncx &#061; (x1 &#043; x2) \/ 2 \/ w<br \/>\ncy &#061; (y1 &#043; y2) \/ 2 \/ h<br \/>\nbw &#061; (x2 &#8211; x1) \/ w<br \/>\nbh &#061; (y2 &#8211; y1) \/ h<br \/>\nif visibility is None:<br \/>\nvisibility &#061; [2] * 68<br \/>\nline_parts &#061; [0, f&#034;{cx:.6f}&#034;, f&#034;{cy:.6f}&#034;, f&#034;{bw:.6f}&#034;, f&#034;{bh:.6f}&#034;]<br \/>\nfor (lx, ly), vis in zip(landmarks68, visibility):<br \/>\nline_parts.append(f&#034;{lx \/ w:.6f}&#034;)<br \/>\nline_parts.append(f&#034;{ly \/ h:.6f}&#034;)<br \/>\nline_parts.append(str(vis))<br \/>\nlabel_path &#061; os.path.join(label_dir, os.path.splitext(os.path.basename(image_path))[0] &#043; &#034;.txt&#034;)<br \/>\nwith open(label_path, &#034;w&#034;) as f:<br \/>\nf.write(&#034; &#034;.join(line_parts))&lt;\/code&gt;&lt;\/pre&gt; <\/p>\n<p>\u6570\u636e\u51c6\u5907\u597d\u4e4b\u540e&#xff0c;\u8fd8\u9700\u8981\u7f16\u5199\u5bf9\u5e94\u7684\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6 face68.yaml&#xff1a;<\/p>\n<p>path: \/absolute\/path\/to\/face68_dataset<br \/>\ntrain: images\/train<br \/>\nval: images\/val<br \/>\nnames:<br \/>\n0: face<br \/>\nkpt_shape: [68, 3] <\/p>\n<h3 style=\"background-color:transparent\">4. \u4fee\u6539\u6a21\u578b\u914d\u7f6e<\/h3>\n<p>Ultralytics \u4ece yolov8n-pose.yaml \u5230 yolov8x-pose.yaml \u63d0\u4f9b\u4e86\u4e0d\u540c\u5c3a\u5bf8\u7684 pose \u6a21\u578b\u914d\u7f6e\u3002\u9ed8\u8ba4\u914d\u7f6e\u4e2d\u7684\u5173\u952e\u70b9\u6570\u91cf\u662f 17&#xff0c;\u6211\u4eec\u9700\u8981\u628a\u5b83\u6539\u6210 68\u3002\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u5b98\u65b9\u914d\u7f6e\u5e76\u4fee\u6539\u5173\u952e\u70b9\u53c2\u6570\u3002 \u53c2\u8003\u5b98\u65b9 yolov8n-pose.yaml&#xff0c;\u4fee\u6539\u5173\u952e\u70b9\u6570\u91cf\u548c\u5206\u7c7b\u6570<\/p>\n<p># yolov8n-face68-pose.yaml<br \/>\nnc: 1<br \/>\nscales:<br \/>\nn: [0.33, 0.25, 1024]<br \/>\nbackbone:<br \/>\n[-1, 1, Conv, [64, 3, 2]]<br \/>\n[-1, 1, Conv, [128, 3, 2]]<br \/>\n[-1, 3, C2f, [128, True]]<br \/>\n[-1, 1, Conv, [256, 3, 2]]<br \/>\n[-1, 6, C2f, [256, True]]<br \/>\n[-1, 1, Conv, [512, 3, 2]]<br \/>\n[-1, 6, C2f, [512, True]]<br \/>\n[-1, 1, Conv, [1024, 3, 2]]<br \/>\n[-1, 3, C2f, [1024, True]]<br \/>\n[-1, 1, SPPF, [1024, 5]]<br \/>\nhead:<br \/>\n[-1, 1, nn.Upsample, [None, 2, &#039;nearest&#039;]]<br \/>\n[[-1, 6], 1, Concat, [1]]<br \/>\n[-1, 3, C2f, [512]]<br \/>\n[-1, 1, nn.Upsample, [None, 2, &#039;nearest&#039;]]<br \/>\n[[-1, 4], 1, Concat, [1]]<br \/>\n[-1, 3, C2f, [256]]<br \/>\n[-1, 1, Conv, [256, 3, 2]]<br \/>\n[[-1, 15], 1, Concat, [1]]<br \/>\n[-1, 3, C2f, [512]]<br \/>\n[-1, 1, Conv, [512, 3, 2]]<br \/>\n[[-1, 12], 1, Concat, [1]]<br \/>\n[-1, 3, C2f, [1024]]<br \/>\n[[17, 20, 23], 1, Pose, [nc, kpt_shape]] <\/p>\n<p>\u6ce8\u610f\u6700\u540e\u4e00\u884c\u4f7f\u7528\u7684\u662f kpt_shape \u53d8\u91cf&#xff0c;\u56e0\u6b64\u53ea\u8981\u5728\u8bad\u7ec3\u65f6\u901a\u8fc7\u53c2\u6570\u628a kpt_shape \u6307\u5b9a\u4e3a [68, 3]&#xff0c;\u6a21\u578b\u8f93\u51fa\u5c42\u7684\u901a\u9053\u6570\u5c31\u4f1a\u81ea\u52a8\u9002\u914d\u4e3a 68 \u4e2a\u5173\u952e\u70b9\u3002<\/p>\n<h3>5. \u5f00\u59cb\u8bad\u7ec3<\/h3>\n<p>\u8bad\u7ec3\u811a\u672c\u5f88\u7b80\u5355&#xff0c;\u6838\u5fc3\u662f\u6570\u636e\u96c6\u914d\u7f6e\u548c\u5173\u952e\u70b9\u5f62\u72b6\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u5b8c\u6574\u8bad\u7ec3\u793a\u4f8b&#xff1a; \u4ece\u5b98\u65b9 pose \u6a21\u578b\u6743\u91cd\u5f00\u59cb\u8bad\u7ec3&#xff0c;\u4e5f\u53ef\u4ee5\u4ece\u81ea\u5b9a\u4e49 yaml \u8bad\u7ec3<\/p>\n<p>from ultralytics import YOLO<\/p>\n<p>if __name__ &#061;&#061; &#039;__main__&#039;:<br \/>\n    model &#061; YOLO(&#039;weights\/yolov8n-pose.pt&#039;)<\/p>\n<p>    model.train(data&#061;&#039;face.yaml&#039;,<br \/>\n                epochs&#061;300,<br \/>\n                imgsz&#061;640,<br \/>\n                batch&#061;2,<br \/>\n                nbs&#061;16,<br \/>\n                lr0&#061;0.001,<br \/>\n                lrf&#061;0.001,<br \/>\n                warmup_epochs&#061;10,<br \/>\n                cos_lr&#061;True,<br \/>\n                optimizer&#061;&#039;AdamW&#039;,<br \/>\n                weight_decay&#061;0.0005,<br \/>\n                mosaic&#061;0.0,<br \/>\n                mixup&#061;0.0,<br \/>\n                copy_paste&#061;0.0,<br \/>\n                fliplr&#061;0.5,<br \/>\n                flipud&#061;0.0,<br \/>\n                degrees&#061;10.0,<br \/>\n                translate&#061;0.05,<br \/>\n                scale&#061;0.3,<br \/>\n                shear&#061;0.0,<br \/>\n                perspective&#061;0.0,<br \/>\n                hsv_h&#061;0.015,<br \/>\n                hsv_s&#061;0.5,<br \/>\n                hsv_v&#061;0.3,<br \/>\n                pose&#061;8.0,<br \/>\n                kobj&#061;1.0,<br \/>\n                cls&#061;0.5,<br \/>\n                box&#061;7.5,<br \/>\n                dfl&#061;1.5,<br \/>\n                workers&#061;0,<br \/>\n                amp&#061;True,<br \/>\n                patience&#061;100,<br \/>\n                save_period&#061;10,<br \/>\n                project&#061;&#039;runs\/pose&#039;,<br \/>\n                name&#061;&#039;face68_nano&#039;,<br \/>\n                cache&#061;False,<br \/>\n                ) <\/p>\n<p>\u8fd9\u91cc\u6709\u51e0\u4e2a\u9700\u8981\u7279\u522b\u6ce8\u610f\u7684\u53c2\u6570&#xff1a;<\/p>\n<p>mosaic&#061;0.0&#xff1a;\u5173\u95edMosaic \u589e\u5f3a\u8fd9\u662f\u5bf9 68 \u70b9\u4eba\u8138\u5173\u952e\u70b9\u6700\u6709\u5bb3\u7684\u589e\u5f3a\u3002\u62fc\u56fe\u4f1a\u628a\u4eba\u8138\u5207\u788e\u3001\u7f29\u653e\u3001\u9519\u4f4d&#xff0c;\u5173\u952e\u70b9\u5750\u6807\u968f\u4e4b\u88ab\u6253\u4e71\u3002\u6a21\u578b\u8981\u82b1\u5927\u91cf\u7cbe\u529b\u201c\u89e3\u62fc\u56fe\u201d&#xff0c;\u800c\u4e0d\u662f\u5b66\u4eba\u8138\u7ed3\u6784\u3002 kpt_shape&#061;[68, 3]&#xff1a;\u5fc5\u987b\u662f\u4e09\u7ef4\u5217\u8868\u3002\u7b2c\u4e09\u7ef4\u901a\u5e38\u662f\u5173\u952e\u70b9\u7684\u53ef\u89c1\u6027\u6807\u5fd7&#xff1b;\u5982\u679c\u6807\u6ce8\u53ea\u6709 x\u3001y \u800c\u6ca1\u6709\u53ef\u89c1\u6027&#xff0c;\u53ef\u4ee5\u5199 [68, 2]\u3002 imgsz&#xff1a;\u4eba\u8138\u6216\u5c0f\u76ee\u6807\u573a\u666f\u53ef\u4ee5\u9002\u5f53\u589e\u5927\u5230 640 \u6216 1024&#xff0c;\u4f46\u663e\u5b58\u5360\u7528\u4e5f\u4f1a\u589e\u52a0\u3002 batch&#xff1a;\u6839\u636e\u663e\u5b58\u8c03\u6574&#xff0c;\u663e\u5b58\u4e0d\u8db3\u65f6\u51cf\u5c0f batch \u5e76\u9002\u5f53\u964d\u4f4e\u5b66\u4e60\u7387\u3002 patience&#xff1a;\u65e9\u505c\u8f6e\u6570&#xff0c;\u5efa\u8bae\u6839\u636e\u6570\u636e\u96c6\u89c4\u6a21\u8bbe\u5b9a\u3002 \u8bad\u7ec3\u8fc7\u7a0b\u4e2d Ultralytics \u4f1a\u81ea\u52a8\u8bb0\u5f55 loss\u3001mAP \u548c\u5404\u7c7b\u53ef\u89c6\u5316\u56fe\u50cf&#xff0c;\u7ed3\u679c\u9ed8\u8ba4\u4fdd\u5b58\u5728 runs\/pose\/yolov8n_face68 \u76ee\u5f55\u4e0b\u3002<\/p>\n<h3>6. \u9a8c\u8bc1\u4e0e\u63a8\u7406<\/h3>\n<p>\u8bad\u7ec3\u5b8c\u6210\u540e&#xff0c;\u4f7f\u7528\u9a8c\u8bc1\u96c6\u8bc4\u4f30\u6a21\u578b\u6548\u679c&#xff1a;<\/p>\n<p>from ultralytics import YOLO<br \/>\nmodel &#061; YOLO(&#034;runs\/pose\/yolov8n_face68\/weights\/best.pt&#034;)y <\/p>\n<p>\u5728\u9a8c\u8bc1\u96c6\u4e0a\u8bc4\u4f30<\/p>\n<p>metrics &#061; model.val(data&#061;&#034;face68.yaml&#034;, kpt_shape&#061;[68, 3])<br \/>\nprint(metrics.box.map)<br \/>\nprint(metrics.box.map50)<br \/>\nprint(metrics.box.map75) <\/p>\n<p>\u5bf9\u5355\u5f20\u56fe\u7247\u6216\u89c6\u9891\u505a\u63a8\u7406\u65f6&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u6cd5&#xff1a;<\/p>\n<p>from ultralytics import YOLO<br \/>\nmodel &#061; YOLO(&#034;runs\/pose\/yolov8n_face68\/weights\/best.pt&#034;)<br \/>\nresults &#061; model.predict(<br \/>\nsource&#061;&#034;test_faces.jpg&#034;,<br \/>\nkpt_shape&#061;[68, 3],<br \/>\nconf&#061;0.25,<br \/>\nsave&#061;True,<br \/>\nshow&#061;True,<br \/>\n)<br \/>\nfor result in results:<br \/>\nkeypoints &#061; result.keypoints<br \/>\nboxes &#061; result.boxes<br \/>\nif keypoints is not None:<br \/>\nkeypoints.xy&#xff1a;\u5173\u952e\u70b9\u5750\u6807&#xff0c;\u5f62\u72b6\u4e3a (\u76ee\u6807\u6570, 68, 2)<br \/>\nkeypoints.conf&#xff1a;\u5173\u952e\u70b9\u7f6e\u4fe1\u5ea6&#xff0c;\u5f62\u72b6\u4e3a (\u76ee\u6807\u6570, 68)<br \/>\nprint(&#034;\u5173\u952e\u70b9\u5750\u6807&#xff1a;&#034;, keypoints.xy)<br \/>\nprint(&#034;\u5173\u952e\u70b9\u7f6e\u4fe1\u5ea6&#xff1a;&#034;, keypoints.conf) <\/p>\n<p>\u5982\u679c\u9700\u8981\u628a\u5173\u952e\u70b9\u7ed3\u679c\u5bfc\u51fa\u4e3a JSON&#xff0c;\u53ef\u4ee5\u7ed3\u5408 result.keypoints \u624b\u52a8\u7ec4\u7ec7\u6570\u636e\u7ed3\u6784\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;result.keypoints.xy \u662f 68 \u4e2a\u5f52\u4e00\u5316\u6216\u50cf\u7d20\u683c\u5f0f\u7684\u5750\u6807&#xff0c;\u5177\u4f53\u53d6\u51b3\u4e8e\u63a8\u7406\u8bbe\u7f6e\u3002<\/p>\n<h4>6.1 \u6a21\u578b\u5bfc\u51fa\u4e0e\u90e8\u7f72<\/h4>\n<p>\u8bad\u7ec3\u5b8c\u6210\u540e&#xff0c;\u53ef\u4ee5\u628a best.pt \u5bfc\u51fa\u4e3a ONNX\u3001TensorRT \u7b49\u683c\u5f0f\u3002\u65e0\u8bba\u5bfc\u51fa\u54ea\u79cd\u683c\u5f0f&#xff0c;\u90fd\u8981\u4f20\u5165\u4e0e\u8bad\u7ec3\u65f6\u4e00\u81f4\u7684 kpt_shape&#061;[68, 3]&#xff0c;\u5426\u5219 Ultralytics \u65e0\u6cd5\u6b63\u786e\u786e\u5b9a\u5173\u952e\u70b9\u8f93\u51fa\u901a\u9053\u6570&#xff0c;\u5bfc\u51fa\u7684\u6a21\u578b\u53ef\u80fd\u4ecd\u6309\u9ed8\u8ba4 17 \u70b9\u89e3\u6790\u3002<\/p>\n<p>\u4e0b\u9762\u5148\u5bfc\u51fa ONNX&#xff1a;<\/p>\n<p>from ultralytics import YOLO<br \/>\nmodel &#061; YOLO(&#034;runs\/pose\/yolov8n_face68\/weights\/best.pt&#034;)<br \/>\nmodel.export(<br \/>\nformat&#061;&#034;onnx&#034;,      # \u5bfc\u51fa ONNX \u683c\u5f0f<br \/>\nimgsz&#061;640,          # \u4f7f\u7528\u4e0e\u8bad\u7ec3\u65f6\u4e00\u81f4\u7684\u8f93\u5165\u5c3a\u5bf8<br \/>\nkpt_shape&#061;[68, 3],  # \u5173\u952e\u70b9\u6570\u91cf\u548c\u53ef\u89c1\u6027\u7ef4\u5ea6<br \/>\nopset&#061;12,           # ONNX opset \u7248\u672c<br \/>\nsimplify&#061;True,      # \u7b80\u5316\u6a21\u578b\u56fe&#xff0c;\u4fbf\u4e8e\u90e8\u7f72<br \/>\n) <\/p>\n<p>\u5bfc\u51fa TensorRT engine \u65f6\u540c\u7406&#xff0c;\u901a\u5e38\u5728 NVIDIA GPU \u4e0a\u4f7f\u7528 FP16 \u52a0\u901f&#xff1a;<\/p>\n<p>model.export(<br \/>\n    format&#061;&#034;engine&#034;,    # \u5bfc\u51fa TensorRT \u683c\u5f0f<br \/>\n    imgsz&#061;640,<br \/>\n    kpt_shape&#061;[68, 3],<br \/>\n    half&#061;True,          # \u5f00\u542f\u534a\u7cbe\u5ea6\u63a8\u7406&#xff0c;\u9700 GPU \u652f\u6301<br \/>\n    device&#061;0,<br \/>\n) <\/p>\n<p>\u5bfc\u51fa\u7684 ONNX \u8f93\u51fa\u5f20\u91cf\u53ef\u4ee5\u7406\u89e3\u4e3a [1, 4 &#043; nc &#043; 68 * 3, num_anchors]\u3002\u524d 4 \u4e2a\u901a\u9053\u662f\u76ee\u6807\u6846\u56de\u5f52\u503c&#xff0c;\u63a5\u7740\u662f nc \u4e2a\u7c7b\u522b\u901a\u9053&#xff0c;\u6700\u540e 204 \u4e2a\u901a\u9053\u6309 68 \u7ec4\u3001\u6bcf\u7ec4 3 \u4e2a\u503c\u7ec4\u7ec7\u4e3a x\u3001y\u3001\u53ef\u89c1\u6027\u3002\u4e0b\u9762\u7528 ONNX Runtime \u8bfb\u53d6\u8f93\u51fa\u5e76\u62c6\u5206\u5173\u952e\u70b9\u901a\u9053&#xff1a;<\/p>\n<p>import numpy as np<br \/>\nimport onnxruntime as ort<br \/>\nsession &#061; ort.InferenceSession(&#034;runs\/pose\/yolov8n_face68\/weights\/best.onnx&#034;)<br \/>\ninput_name &#061; session.get_inputs()[0].name<br \/>\ninput_tensor \u9700\u8981\u9884\u5148\u5b8c\u6210\u7f29\u653e\u3001\u5f52\u4e00\u5316\u548c BGR \u5230 RGB \u7684\u8f6c\u6362<br \/>\noutput &#061; session.run(None, {input_name: input_tensor})[0]<br \/>\nprint(&#034;\u539f\u59cb\u8f93\u51fa\u5f62\u72b6&#xff1a;&#034;, output.shape)  # [1, 4 &#043; nc &#043; 68*3, num_anchors]<br \/>\nnc &#061; 1<br \/>\nnum_anchors &#061; output.shape[2]<br \/>\npred &#061; output[0].transpose(1, 0)           # [num_anchors, 4 &#043; nc &#043; 68*3]<br \/>\nboxes_raw &#061; pred[:, :4]                     # \u76ee\u6807\u6846\u56de\u5f52\u539f\u59cb\u503c<br \/>\ncls_raw &#061; pred[:, 4:4 &#043; nc]                 # \u7c7b\u522b\u539f\u59cb\u503c<br \/>\nkpts_raw &#061; pred[:, 4 &#043; nc:].reshape(num_anchors, 68, 3)<br \/>\nkpts_xy &#061; kpts_raw[&#8230;, :2]                 # 68 \u4e2a\u5173\u952e\u70b9\u7684 x\u3001y \u539f\u59cb\u503c<br \/>\nkpts_conf &#061; kpts_raw[&#8230;, 2]                # \u5173\u952e\u70b9\u53ef\u89c1\u6027\u6216\u7f6e\u4fe1\u5ea6<br \/>\nprint(&#034;boxes_raw \u5f62\u72b6&#xff1a;&#034;, boxes_raw.shape)<br \/>\nprint(&#034;kpts_xy \u5f62\u72b6&#xff1a;&#034;, kpts_xy.shape)<br \/>\nprint(&#034;kpts_conf \u5f62\u72b6&#xff1a;&#034;, kpts_conf.shape) <\/p>\n<p>\u9700\u8981\u7279\u522b\u6ce8\u610f&#xff0c;kpts_xy \u548c boxes_raw \u4ecd\u662f\u6a21\u578b\u8f93\u51fa\u7684\u539f\u59cb\u56de\u5f52\u503c&#xff0c;\u4e0d\u662f\u6700\u7ec8\u50cf\u7d20\u5750\u6807\u3002\u5b9e\u9645\u90e8\u7f72\u65f6\u8fd8\u9700\u8981\u7ed3\u5408 anchor\u3001stride \u5b8c\u6210\u89e3\u7801&#xff0c;\u5e76\u8fdb\u884c NMS\u3002\u5bf9\u4e8e\u5927\u591a\u6570\u9879\u76ee&#xff0c;\u63a8\u8350\u76f4\u63a5\u901a\u8fc7 Ultralytics \u52a0\u8f7d ONNX \u6a21\u578b\u63a8\u7406&#xff0c;\u5b83\u80fd\u81ea\u52a8\u5b8c\u6210\u89e3\u7801\u548c\u540e\u5904\u7406&#xff0c;\u5e76\u76f4\u63a5\u8fd4\u56de 68 \u70b9\u5750\u6807&#xff1a;<\/p>\n<p>from ultralytics import YOLO<br \/>\nmodel &#061; YOLO(&#034;runs\/pose\/yolov8n_face68\/weights\/best.onnx&#034;)<br \/>\nresults &#061; model.predict(<br \/>\nsource&#061;&#034;test_faces.jpg&#034;,<br \/>\nkpt_shape&#061;[68, 3],<br \/>\nconf&#061;0.25,<br \/>\n)<br \/>\nfor result in results:<br \/>\nif result.keypoints is not None:<br \/>\nxy &#061; result.keypoints.xy       # \u5f62\u72b6\u4e3a [\u76ee\u6807\u6570, 68, 2]<br \/>\nconf &#061; result.keypoints.conf   # \u5f62\u72b6\u4e3a [\u76ee\u6807\u6570, 68]<br \/>\nprint(&#034;68 \u5173\u952e\u70b9\u5750\u6807&#xff1a;&#034;, xy)<br \/>\nprint(&#034;\u5173\u952e\u70b9\u7f6e\u4fe1\u5ea6&#xff1a;&#034;, conf) <\/p>\n<h3>7. \u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>7.1 \u5173\u952e\u70b9\u6570\u91cf\u4e0e\u6570\u636e\u96c6\u914d\u7f6e\u4e0d\u4e00\u81f4<\/h4>\n<p>\u5982\u679c kpt_shape \u4e0e\u6807\u7b7e\u6587\u4ef6\u4e2d\u7684\u5173\u952e\u70b9\u6570\u91cf\u4e0d\u4e00\u81f4&#xff0c;\u8bad\u7ec3\u542f\u52a8\u65f6\u901a\u5e38\u4f1a\u51fa\u73b0\u7ef4\u5ea6\u9519\u8bef\u3002\u8bf7\u68c0\u67e5\u6570\u636e\u96c6\u914d\u7f6e\u4e2d\u7684 kpt_shape: [68, 3] \u4ee5\u53ca\u8bad\u7ec3\u547d\u4ee4\u4e2d\u662f\u5426\u4e5f\u90fd\u4f20\u5165\u4e86 kpt_shape&#061;[68, 3]\u3002<\/p>\n<h4>7.2 \u663e\u5b58\u4e0d\u8db3<\/h4>\n<p>68 \u4e2a\u5173\u952e\u70b9\u6bd4 17 \u4e2a\u5173\u952e\u70b9\u7684\u8f93\u51fa\u901a\u9053\u591a&#xff0c;\u4f46\u5bf9\u9aa8\u5e72\u7f51\u7edc\u7684\u663e\u5b58\u5f71\u54cd\u8fdc\u5c0f\u4e8e\u8f93\u5165\u5206\u8fa8\u7387\u548c batch \u5e26\u6765\u7684\u5f71\u54cd\u3002\u663e\u5b58\u4e0d\u8db3\u65f6\u4f18\u5148\u51cf\u5c0f imgsz \u6216 batch&#xff0c;\u5176\u6b21\u662f\u6362\u66f4\u8f7b\u91cf\u7684 yolov8n-pose \u4e3b\u5e72\u3002<\/p>\n<h4>7.3 \u8bad\u7ec3 loss \u6b63\u5e38\u4f46\u5173\u952e\u70b9\u53d1\u6563<\/h4>\n<p>\u901a\u5e38\u4e0e\u5173\u952e\u70b9\u5750\u6807\u5f52\u4e00\u5316\u9519\u8bef\u6709\u5173\u3002\u8bf7\u786e\u8ba4\u6240\u6709 x\u3001y \u5750\u6807\u90fd\u9664\u4ee5\u4e86\u56fe\u7247\u5bbd\u9ad8&#xff0c;\u4e14\u4e0d\u662f\u9664\u4ee5 1 \u5230 68 \u7684\u7d22\u5f15\u3002\u53e6\u5916\u68c0\u67e5\u53ef\u89c1\u6027\u5b57\u6bb5\u662f\u5426\u88ab\u8bef\u5f53\u4f5c\u5750\u6807\u5199\u5165\u3002<\/p>\n<h4>7.4 \u4f7f\u7528 68 \u70b9\u6a21\u578b\u505a 17 \u70b9\u4efb\u52a1<\/h4>\n<p>\u4e0d\u5efa\u8bae\u76f4\u63a5\u6df7\u7528\u300268 \u70b9\u6a21\u578b\u548c 17 \u70b9\u6a21\u578b\u8f93\u51fa\u5c42\u7ed3\u6784\u4e0d\u540c&#xff0c;\u4e0d\u80fd\u76f4\u63a5\u52a0\u8f7d\u5f7c\u6b64\u7684\u5173\u952e\u70b9\u5934\u90e8\u6743\u91cd\u3002\u5982\u679c\u5fc5\u987b\u590d\u7528&#xff0c;\u53ef\u4ee5\u5c06\u9aa8\u5e72\u7f51\u7edc\u6743\u91cd\u8fc1\u79fb\u540e\u91cd\u65b0\u8bad\u7ec3\u5173\u952e\u70b9\u5934\u90e8\u3002<\/p>\n<h4>7.5 \u5173\u952e\u70b9\u5750\u6807\u504f\u79fb\u6216\u955c\u50cf\u7ffb\u8f6c<\/h4>\n<p>\u5f53\u6807\u6ce8\u89e3\u6790\u6216\u6570\u636e\u589e\u5f3a\u8fc7\u7a0b\u4e2d\u5750\u6807\u53d8\u6362\u4e0d\u4e00\u81f4\u65f6&#xff0c;68 \u5173\u952e\u70b9\u7ecf\u5e38\u4f1a\u51fa\u73b0\u6574\u4f53\u504f\u79fb\u3001\u5de6\u53f3\u955c\u50cf\u6216\u5c3a\u5ea6\u5f02\u5e38\u3002\u4e0b\u8868\u6c47\u603b\u4e86\u4e09\u79cd\u5178\u578b\u75c7\u72b6\u7684\u6392\u67e5\u65b9\u5411\u3002<\/p>\n<table border=\"1\" cellpadding=\"6\">\n<tr>\u5178\u578b\u75c7\u72b6\u5e38\u89c1\u539f\u56e0\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>\u5750\u6807\u6574\u4f53\u504f\u79fb<\/td>\n<td>\u88c1\u526a\u3001\u4eff\u5c04\u53d8\u6362\u6216\u7f29\u653e\u540e\u6ca1\u6709\u540c\u6b65\u8c03\u6574\u5173\u952e\u70b9&#xff1b;\u5173\u952e\u70b9\u76f8\u5bf9\u6574\u56fe\u548c\u76f8\u5bf9 bbox \u4f7f\u7528\u4e86\u4e0d\u540c\u7684\u539f\u70b9\u3002<\/td>\n<td>\u786e\u4fdd\u6240\u6709\u70b9\u5728\u540c\u4e00\u4e2a\u53d8\u6362\u77e9\u9635\u4e0b\u5904\u7406&#xff1b;\u68c0\u67e5\u5173\u952e\u70b9\u5750\u6807\u662f\u76f8\u5bf9\u6574\u5f20\u56fe\u5f52\u4e00\u5316&#xff0c;\u800c\u4e0d\u662f\u76f8\u5bf9 bbox \u5c40\u90e8\u533a\u57df\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5de6\u53f3\u955c\u50cf<\/td>\n<td>\u6c34\u5e73\u7ffb\u8f6c\u56fe\u50cf\u540e\u6ca1\u6709\u540c\u6b65\u7ffb\u8f6c\u5173\u952e\u70b9&#xff1b;\u6216\u8005\u53ea\u7ffb\u8f6c\u4e86\u56fe\u7247&#xff0c;\u6ca1\u6709\u4ea4\u6362 68 \u70b9\u4e2d\u5de6\u53f3\u5bf9\u79f0\u7684\u7d22\u5f15\u3002<\/td>\n<td>\u5bf9\u56fe\u50cf\u505a\u6c34\u5e73\u7ffb\u8f6c\u65f6&#xff0c;\u540c\u6b65\u628a\u5173\u952e\u70b9 x \u5750\u6807\u6539\u4e3a 1-x&#xff0c;\u5e76\u6309 68 \u70b9\u5bf9\u79f0\u5173\u7cfb\u4ea4\u6362\u5de6\u53f3\u70b9\u7d22\u5f15&#xff0c;\u540c\u65f6\u66f4\u65b0\u53ef\u89c1\u6027\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u5c3a\u5ea6\u5f02\u5e38<\/td>\n<td>\u7f29\u653e\u524d\u540e\u6ca1\u6709\u4f7f\u7528\u540c\u4e00\u7ec4\u56fe\u7247\u5bbd\u9ad8\u8fdb\u884c\u5f52\u4e00\u5316&#xff0c;\u6216\u628a\u50cf\u7d20\u5750\u6807\u4e0e\u5f52\u4e00\u5316\u5750\u6807\u6df7\u7528\u3002<\/td>\n<td>\u7edf\u4e00\u9664\u4ee5\u539f\u56fe\u5bbd\u9ad8&#xff1b;\u5bf9\u7f29\u653e\u540e\u7684\u5750\u6807\u5148\u8fd8\u539f\u5230\u539f\u56fe\u518d\u9a8c\u8bc1&#xff1b;\u589e\u5f3a\u65f6\u8bb0\u5f55\u5e76\u590d\u7528\u5b9e\u9645\u7684\u7f29\u653e\u548c padding \u53c2\u6570\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e0b\u9762\u8fd9\u6bb5\u8c03\u8bd5\u4ee3\u7801\u53ef\u4ee5\u8bfb\u53d6\u4e00\u5f20\u56fe\u7247\u53ca\u5176 YOLO \u683c\u5f0f\u7684 68 \u70b9\u6807\u7b7e&#xff0c;\u5c06\u5173\u952e\u70b9\u7ed8\u5236\u56de\u539f\u56fe&#xff0c;\u4fbf\u4e8e\u4eba\u5de5\u68c0\u67e5\u5750\u6807\u504f\u79fb\u3001\u955c\u50cf\u5173\u7cfb\u548c\u5c3a\u5ea6\u662f\u5426\u6b63\u5e38\u3002<\/p>\n<p>import cv2<br \/>\ndef visualize_yolo_68(image_path, label_path, save_path&#061;&#034;debug_keypoints.jpg&#034;):<br \/>\nimg &#061; cv2.imread(image_path)<br \/>\nh, w &#061; img.shape[:2]<br \/>\nwith open(label_path, &#034;r&#034;) as f:<br \/>\n    parts &#061; f.readline().strip().split()<br \/>\n\u8df3\u8fc7\u524d 5 \u4e2a\u5b57\u6bb5&#xff1a;class_id, cx, cy, bw, bh<br \/>\nkpts &#061; []<br \/>\nfor i in range(5, len(parts), 3):<br \/>\nx &#061; float(parts[i]) * w<br \/>\ny &#061; float(parts[i &#043; 1]) * h<br \/>\nv &#061; int(parts[i &#043; 2])<br \/>\nkpts.append((int(x), int(y), v))<br \/>\n\u53ea\u7ed8\u5236\u53ef\u89c1\u6216\u5b58\u5728\u6807\u6ce8\u7684\u70b9<br \/>\nfor idx, (x, y, v) in enumerate(kpts):<br \/>\nif v &amp;gt; 0:<br \/>\ncv2.circle(img, (x, y), 3, (0, 255, 0), -1)<br \/>\ncv2.putText(img, str(idx), (x &#043; 3, y &#8211; 3),<br \/>\ncv2.FONT_HERSHEY_SIMPLEX, 0.4, (0, 0, 255), 1)<br \/>\ncv2.imwrite(save_path, img)<br \/>\nprint(&#034;\u8c03\u8bd5\u56fe\u5df2\u4fdd\u5b58\u5230&#034;, save_path)<br \/>\nvisualize_yolo_68(&#034;face68_dataset\/images\/train\/img_001.jpg&#034;,<br \/>\n&#034;face68_dataset\/labels\/train\/img_001.txt&#034;) <\/p>\n<p>\u8fd0\u884c\u540e\u91cd\u70b9\u68c0\u67e5\u5173\u952e\u70b9\u662f\u5426\u843d\u5728\u4eba\u8138\u3001\u624b\u90e8\u6216\u5176\u4ed6\u76ee\u6807\u7ed3\u6784\u4e0a&#xff0c;\u5c24\u5176\u5173\u6ce8\u5de6\u53f3\u5bf9\u79f0\u70b9\u548c\u6574\u4f53\u8f6e\u5ed3\u5c3a\u5ea6\u3002\u82e5\u53d1\u73b0\u6574\u4f53\u504f\u79fb\u3001\u955c\u50cf\u6216\u7f29\u653e\u5f02\u5e38&#xff0c;\u5e94\u56de\u5230\u6807\u6ce8\u89e3\u6790\u548c\u6570\u636e\u589e\u5f3a\u73af\u8282\u8fdb\u884c\u4fee\u6b63\u3002<\/p>\n<h3 style=\"background-color:transparent\">8. \u603b\u7ed3<\/h3>\n<p>\u5c06 YOLOv8-Pose \u6269\u5c55\u5230 68 \u5173\u952e\u70b9\u7684\u5173\u952e\u6b65\u9aa4\u53ef\u4ee5\u5f52\u7eb3\u4e3a&#xff1a;\u51c6\u5907 68 \u70b9 YOLO \u683c\u5f0f\u6807\u7b7e\u3001\u5728\u6570\u636e\u914d\u7f6e\u4e2d\u58f0\u660e kpt_shape: [68, 3]\u3001\u5728\u8bad\u7ec3\u548c\u63a8\u7406\u65f6\u663e\u5f0f\u4f20\u5165\u76f8\u540c\u7684 kpt_shape&#xff0c;\u5e76\u901a\u8fc7\u5c0f\u89c4\u6a21\u6570\u636e\u5148\u8dd1\u901a\u6d41\u7a0b\u518d\u6269\u91cf\u8bad\u7ec3\u3002\u638c\u63e1\u8fd9\u4e00\u5957\u6d41\u7a0b\u540e&#xff0c;\u53ef\u4ee5\u8fdb\u4e00\u6b65\u8fc1\u79fb\u5230\u66f4\u591a\u70b9\u7684\u624b\u90e8\u3001\u59ff\u6001\u6216\u5b9a\u5236\u5316\u5173\u952e\u70b9\u4efb\u52a1\u3002 \u5efa\u8bae\u5728\u6b63\u5f0f\u8bad\u7ec3\u524d&#xff0c;\u5148\u7528\u51e0\u767e\u5f20\u6837\u672c\u9a8c\u8bc1\u6570\u636e\u683c\u5f0f\u548c\u6a21\u578b\u8f93\u51fa\u7ef4\u5ea6\u662f\u5426\u6b63\u786e&#xff0c;\u518d\u9010\u6b65\u589e\u52a0\u6570\u636e\u89c4\u6a21\u548c\u8bad\u7ec3\u8f6e\u6570&#xff0c;\u8fd9\u6837\u80fd\u66f4\u9ad8\u6548\u5730\u6392\u67e5\u5173\u952e\u70b9\u56de\u5f52\u4e0d\u7a33\u5b9a\u7684\u95ee\u9898\u3002<\/p>\n<p>\u52a0\u6570\u636e\u89c4\u6a21\u548c\u8bad\u7ec3\u8f6e\u6570&#xff0c;\u8fd9\u6837\u80fd\u66f4\u9ad8\u6548\u5730\u6392\u67e5\u5173\u952e\u70b9\u56de\u5f52\u4e0d\u7a33\u5b9a\u7684\u95ee\u9898\u3002<\/p>\n<h3>\u53c2\u8003\u8d44\u6599<\/h3>\n<p>Ultralytics YOLOv8 \u5b98\u65b9\u6587\u6863&#xff1a;https:\/\/docs.ultralytics.com\/models\/yolov8\/ Ultralytics YOLOv8 Pose \u4efb\u52a1\u6587\u6863&#xff1a;https:\/\/docs.ultralytics.com\/tasks\/pose\/ 300W-LP \u6570\u636e\u96c6\u539f\u59cb\u8bba\u6587&#xff1a;Xiangyu Zhu, Zhen Lei, Xiaoming Liu, Hailin Shi, Stan Z. Li. Face Alignment in Full Pose Range: A 3D Total Solution. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017. YOLOv8-Pose \u76f8\u5173 GitHub \u4ed3\u5e93&#xff1a;https:\/\/github.com\/ultralytics\/ultralytics ONNX Runtime \u90e8\u7f72\u6587\u6863&#xff1a;https:\/\/onnxruntime.ai\/docs\/ TensorRT \u90e8\u7f72\u6587\u6863&#xff1a;https:\/\/docs.nvidia.com\/deeplearning\/tensorrt\/<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u4e3a\u4ec0\u4e48\u9009\u62e9 YOLOv8-Pose \u8bad\u7ec3 68 \u5173\u952e\u70b9<br \/>\nYOLOv8-Pose \u662f Ultralytics \u63d0\u4f9b\u7684\u59ff\u6001\u4f30\u8ba1\u6a21\u578b&#xff0c;\u9ed8\u8ba4\u652f\u6301 COCO \u6570\u636e\u96c6\u7684 17 \u4e2a\u5173\u952e\u70b9\u3002\u5bf9\u4e8e\u4e00\u4e9b\u7cbe\u7ec6\u5316\u4efb\u52a1&#xff0c;\u4f8b\u5982\u4eba\u8138 68 \u5173\u952e\u70b9\u68c0\u6d4b\u3001\u624b\u90e8\u5173\u952e\u70b9\u68c0\u6d4b\u6216\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u5bc6\u96c6\u5173\u952e\u70b9\u56de\u5f52&#xff0c;17 \u4e2a\u70b9\u7684\u8868\u8fbe\u7c92\u5ea6\u5f80\u5f80\u4e0d\u591f\u3002\u901a\u8fc7\u4fee\u6539\u6a21\u578b\u7684 kpt_shape \u4ee5\u53ca\u51c6\u5907\u5bf9\u5e94\u683c\u5f0f\u7684\u6570\u636e\u96c6&#xff0c;\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u628a YOLOv8-Pose \u6269\u5c55\u5230 68 \u4e2a\u5173<\/p>\n","protected":false},"author":2,"featured_media":107344,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,156,227,427],"topic":[],"class_list":["post-107345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-yolo","tag-227","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/107345.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"1. \u4e3a\u4ec0\u4e48\u9009\u62e9 YOLOv8-Pose \u8bad\u7ec3 68 \u5173\u952e\u70b9 YOLOv8-Pose \u662f Ultralytics \u63d0\u4f9b\u7684\u59ff\u6001\u4f30\u8ba1\u6a21\u578b&#xff0c;\u9ed8\u8ba4\u652f\u6301 COCO \u6570\u636e\u96c6\u7684 17 \u4e2a\u5173\u952e\u70b9\u3002\u5bf9\u4e8e\u4e00\u4e9b\u7cbe\u7ec6\u5316\u4efb\u52a1&#xff0c;\u4f8b\u5982\u4eba\u8138 68 \u5173\u952e\u70b9\u68c0\u6d4b\u3001\u624b\u90e8\u5173\u952e\u70b9\u68c0\u6d4b\u6216\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u5bc6\u96c6\u5173\u952e\u70b9\u56de\u5f52&#xff0c;17 \u4e2a\u70b9\u7684\u8868\u8fbe\u7c92\u5ea6\u5f80\u5f80\u4e0d\u591f\u3002\u901a\u8fc7\u4fee\u6539\u6a21\u578b\u7684 kpt_shape \u4ee5\u53ca\u51c6\u5907\u5bf9\u5e94\u683c\u5f0f\u7684\u6570\u636e\u96c6&#xff0c;\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u628a YOLOv8-Pose \u6269\u5c55\u5230 68 \u4e2a\u5173\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107345.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-19T05:02:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919050226-6aae176293d22.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107345.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107345.html\",\"name\":\"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-19T05:02:28+00:00\",\"dateModified\":\"2026-09-19T05:02:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107345.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107345.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107345.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/107345.html","og_locale":"zh_CN","og_type":"article","og_title":"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"1. \u4e3a\u4ec0\u4e48\u9009\u62e9 YOLOv8-Pose \u8bad\u7ec3 68 \u5173\u952e\u70b9 YOLOv8-Pose \u662f Ultralytics \u63d0\u4f9b\u7684\u59ff\u6001\u4f30\u8ba1\u6a21\u578b&#xff0c;\u9ed8\u8ba4\u652f\u6301 COCO \u6570\u636e\u96c6\u7684 17 \u4e2a\u5173\u952e\u70b9\u3002\u5bf9\u4e8e\u4e00\u4e9b\u7cbe\u7ec6\u5316\u4efb\u52a1&#xff0c;\u4f8b\u5982\u4eba\u8138 68 \u5173\u952e\u70b9\u68c0\u6d4b\u3001\u624b\u90e8\u5173\u952e\u70b9\u68c0\u6d4b\u6216\u5de5\u4e1a\u573a\u666f\u4e2d\u7684\u5bc6\u96c6\u5173\u952e\u70b9\u56de\u5f52&#xff0c;17 \u4e2a\u70b9\u7684\u8868\u8fbe\u7c92\u5ea6\u5f80\u5f80\u4e0d\u591f\u3002\u901a\u8fc7\u4fee\u6539\u6a21\u578b\u7684 kpt_shape \u4ee5\u53ca\u51c6\u5907\u5bf9\u5e94\u683c\u5f0f\u7684\u6570\u636e\u96c6&#xff0c;\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u628a YOLOv8-Pose \u6269\u5c55\u5230 68 \u4e2a\u5173","og_url":"https:\/\/www.wsisp.com\/helps\/107345.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-19T05:02:28+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919050226-6aae176293d22.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/107345.html","url":"https:\/\/www.wsisp.com\/helps\/107345.html","name":"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-19T05:02:28+00:00","dateModified":"2026-09-19T05:02:28+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107345.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107345.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107345.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"YOLOv8-Pose 68 \u5173\u952e\u70b9\u8bad\u7ec3\u5b8c\u6574\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=107345"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/107344"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107345"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}