{"id":20177,"date":"2024-04-12T12:14:00","date_gmt":"2024-04-12T04:14:00","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=20177"},"modified":"2024-04-12T12:14:00","modified_gmt":"2024-04-12T04:14:00","slug":"js-%e7%9a%84-ai-%e6%97%b6%e4%bb%a3%e6%9d%a5%e4%ba%86%ef%bc%8c%e6%90%ba%e6%89%8b%e8%bf%8e%e6%8e%a5-js-%e7%9a%84-ai-%e6%97%b6%e4%bb%a3%e5%90%a7%ef%bc%81","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2024\/04\/12\/20177\/","title":{"rendered":"JS \u7684 AI \u65f6\u4ee3\u6765\u4e86\uff0c\u643a\u624b\u8fce\u63a5 JS \u7684 AI \u65f6\u4ee3\u5427\uff01"},"content":{"rendered":"<div class=\"article-desc\">\u672c\u6587\u5c06\u5206\u4eab\u51e0\u4e2a\u5f15\u9886 JS \u8fc8\u5411 AI \u65f6\u4ee3\u7684\u673a\u5668\u5b66\u4e60\u5e93\uff0c\u63a2\u7d22\u8fd9\u4e9b\u5e93\u7684\u9b45\u529b\uff0c\u643a\u624b\u8fce\u63a5 JS \u7684 AI \u65f6\u4ee3\u5427\uff01<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-1d7a5742=\"\" data-element=\"root\">\n<p><img data-dominant-color=\"398aab\" data-has-transparency=\"false\" style=\"--dominant-color: #398aab;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-20178\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/04\/75e01f4751014ed8aff652cd0e3a1fe079e97d.png\" width=\"1014\" height=\"668\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/04\/75e01f4751014ed8aff652cd0e3a1fe079e97d.png 1014w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/04\/75e01f4751014ed8aff652cd0e3a1fe079e97d-300x198.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/04\/75e01f4751014ed8aff652cd0e3a1fe079e97d-150x99.png 150w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/04\/75e01f4751014ed8aff652cd0e3a1fe079e97d-768x506.png 768w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/p>\n<p>\u8fd1\u51e0\u5e74\uff0c\u6280\u672f\u98de\u901f\u53d1\u5c55\uff0cAI \u6b63\u4ee5\u524d\u6240\u672a\u6709\u7684\u901f\u5ea6\u6539\u53d8\u7740\u6211\u4eec\u7684\u751f\u6d3b\u3002\u800c\u5728\u8fd9\u4e00\u6d6a\u6f6e\u4e2d\uff0cJS \u4f5c\u4e3a\u524d\u7aef\u5f00\u53d1\u7684\u57fa\u77f3\uff0c\u4e5f\u6b63\u5728\u8fce\u6765\u5176 AI \u65f6\u4ee3\u7684\u65b0\u7bc7\u7ae0\u3002\u672c\u6587\u5c06\u5206\u4eab\u51e0\u4e2a\u5f15\u9886 JS \u8fc8\u5411 AI \u65f6\u4ee3\u7684\u673a\u5668\u5b66\u4e60\u5e93\uff0c\u63a2\u7d22\u8fd9\u4e9b\u5e93\u7684\u9b45\u529b\uff0c\u643a\u624b\u8fce\u63a5 JS \u7684 AI \u65f6\u4ee3\u5427\uff01<\/p>\n<h3>TensorFlow.js<\/h3>\n<p>TensorFlow.js \u662f\u7531 Google TensorFlow \u56e2\u961f\u5f00\u53d1\u7684\u5f00\u6e90\u5ba2\u6237\u7aef JavaScript \u673a\u5668\u5b66\u4e60\u5e93\u3002\u5b83\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u5c06\u673a\u5668\u5b66\u4e60\u529f\u80fd\u5f15\u5165 Web \u6d4f\u89c8\u5668\u548c\u57fa\u4e8e JavaScript \u7684\u5e94\u7528\uff0c\u4ece\u800c\u6d88\u9664\u4e86\u5bf9\u670d\u52a1\u5668\u7aef\u8ba1\u7b97\u7684\u9700\u6c42\uff0c\u51cf\u5c11\u4e86\u5ef6\u8fdf\uff0c\u5e76\u63d0\u9ad8\u4e86\u5e94\u7528\u7684\u54cd\u5e94\u80fd\u529b\u3002<\/p>\n<p>TensorFlow.js \u662f\u4e00\u4e2a\u7efc\u5408\u5e93\uff0c\u4f7f\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u76f4\u63a5\u5728 JavaScript \u4e2d\u521b\u5efa\u548c\u8bad\u7ec3\u673a\u5668\u5b66\u4e60\u6a21\u578b\uff0c\u652f\u6301\u4f20\u7edf\u7684\u673a\u5668\u5b66\u4e60\u7b97\u6cd5\u548c\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u5e94\u7528\u3002\u6b64\u5916\uff0c\u5b83\u5229\u7528\u7528\u6237\u8bbe\u5907\u7684\u5e95\u5c42\u786c\u4ef6\u52a0\u901f\u529f\u80fd\uff08\u5982 GPU\uff09\u6765\u9ad8\u6548\u6267\u884c\u8ba1\u7b97\uff0c\u4ece\u800c\u7f29\u77ed\u63a8\u7406\u65f6\u95f4\uff0c\u5141\u8bb8\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5b9e\u65f6\u9884\u6d4b\u548c\u5904\u7406\u6570\u636e\u3002\u65e0\u8bba\u662f\u5728\u6d4f\u89c8\u5668\u8fd8\u662f Node.js \u73af\u5883\u4e2d\uff0cTensorFlow.js \u90fd\u80fd\u53d1\u6325\u51fa\u8272\u7684\u6027\u80fd\uff0c\u5e76\u63d0\u4f9b\u591a\u79cd\u540e\u7aef\u9009\u9879\u4ee5\u9002\u5e94\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s9.51cto.com\/oss\/202404\/12\/36fb62e89241f7f790a87777cffe55110b78eb.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/tensorflow\/tfjs<\/p>\n<h3>brain.js<\/h3>\n<p>Brain.js \u662f\u4e00\u4e2a\u7528\u4e8e\u795e\u7ecf\u7f51\u7edc\u7684JavaScript\u5e93\uff0c\u5b83\u80fd\u591f\u5728Node.js\u4e2d\u8fd0\u884c\u6216\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u3002\u8be5\u5e93\u901a\u8fc7\u63d0\u4f9b\u6613\u4e8e\u4f7f\u7528\u7684API\u7b80\u5316\u4e86\u5c06ML\u6a21\u578b\u96c6\u6210\u5230\u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u8fc7\u7a0b\uff0c\u5141\u8bb8\u5728AI\u9886\u57df\u51e0\u4e4e\u6ca1\u6709\u7ecf\u9a8c\u7684\u5f00\u53d1\u4eba\u5458\u521b\u5efa\u667a\u80fd\u7cfb\u7edf\u3002<\/p>\n<p>\u6b64\u5916\uff0cBrain.js\u652f\u6301\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u4efb\u52a1\uff0c\u6d89\u53ca\u8ba1\u7b97\u673a\u548c\u4eba\u7c7b\u8bed\u8a00\u4e4b\u95f4\u7684\u4ea4\u4e92\uff0c\u53ef\u4ee5\u6784\u5efa\u804a\u5929\u673a\u5668\u4eba\u3001\u81ea\u52a8\u7ffb\u8bd1\u5668\u3001\u60c5\u7eea\u5206\u6790\u5de5\u5177\u7b49\u3002\u5b83\u8fd8\u53ef\u4ee5\u7528\u4e8e\u56fe\u50cf\u8bc6\u522b\u4efb\u52a1\uff0c\u5982\u9762\u90e8\u8bc6\u522b\u3001\u7f3a\u9677\u68c0\u6d4b\u6216\u8bca\u65ad\u8f85\u52a9\u7b49\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s5.51cto.com\/oss\/202404\/12\/a3b3c47843aca904ef416905541856d5ddd309.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/BrainJS\/brain.js<\/p>\n<h3>JS-Torch<\/h3>\n<p>JS-Torch \u662f\u4e00\u4e2a\u4e13\u4e3a JavaScript \u8bbe\u8ba1\u7684\u5168\u65b0\u6df1\u5ea6\u5b66\u4e60\u5e93\u3002\u5b83\u7684\u8bed\u6cd5\u4e60\u60ef\u4e0e\u5e7f\u53d7\u6b22\u8fce\u7684PyTorch\u6846\u67b6\u9ad8\u5ea6\u76f8\u4f3c\uff0c\u63d0\u4f9b\u4e86\u4e00\u4e2a\u529f\u80fd\u9f50\u5168\u7684\u5f20\u91cf\u5bf9\u8c61\uff08\u53ef\u8ddf\u8e2a\u68af\u5ea6\uff09\u3001\u6df1\u5ea6\u5b66\u4e60\u5c42\u548c\u51fd\u6570\uff0c\u4ee5\u53ca\u4e00\u4e2a\u81ea\u52a8\u5fae\u5206\u5f15\u64ce\u3002\u8fd9\u4e2a\u5e93\u5141\u8bb8\u7528\u6237\u4ece\u5934\u5f00\u59cb\u6784\u5efa\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b\uff0c\u5e76\u5177\u6709\u6a21\u5757\u5316\u7ed3\u6784\uff0c\u5305\u542b\u7528\u4e8e\u6838\u5fc3\u6846\u67b6\u3001\u5c42\u3001\u4f18\u5316\u5668\u548c\u6d4b\u8bd5\u7684\u4e0d\u540c\u6587\u4ef6\u5939\u548c\u6587\u4ef6\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s2.51cto.com\/oss\/202404\/12\/8471f3b07377759dc82886744e3f98f8b0b3a8.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/eduardoleao052\/js-pytorch<\/p>\n<h3>NLP.js<\/h3>\n<p>NLP.js \u662f\u4e00\u4e2a\u57fa\u4e8e Node.js \u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406\uff08NLP\uff09\u5e93\uff0c\u5177\u6709\u60c5\u611f\u5206\u6790\u3001\u81ea\u52a8\u8bed\u8a00\u8bc6\u522b\u7b49\u529f\u80fd\u3002\u5b83\u5b8c\u5168\u7528JavaScript\u7f16\u5199\uff0c\u652f\u6301\u6d4f\u89c8\u5668\u548cNode.js\u73af\u5883\uff0c\u65e8\u5728\u7b80\u5316Web\u5e94\u7528\u548c\u670d\u52a1\u5668\u7aef\u5e94\u7528\u4e2d\u7684NLP\u4efb\u52a1\u3002NLP.js\u57fa\u4e8e\u6700\u65b0\u7684\u4eba\u5de5\u667a\u80fd\u7b97\u6cd5\uff0c\u5982\u8bcd\u5d4c\u5165\uff08Word Embeddings\uff09\u3001\u6761\u4ef6\u968f\u673a\u573a\uff08Conditional Random Fields\uff09\u548cLSTM\u795e\u7ecf\u7f51\u7edc\u6a21\u578b\uff0c\u8fd9\u4f7f\u5f97\u5b83\u5728\u6267\u884c\u8bf8\u5982\u5b9e\u4f53\u8bc6\u522b\u3001\u60c5\u611f\u5206\u6790\u3001\u5173\u952e\u8bcd\u63d0\u53d6\u7b49\u4efb\u52a1\u65f6\u8868\u73b0\u51fa\u8272\u3002\u6b64\u5916\uff0cNLP.js\u4e0d\u4ec5\u652f\u6301\u9884\u8bad\u7ec3\u6a21\u578b\uff0c\u8fd8\u5141\u8bb8\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u6a21\u578b\u4ee5\u9002\u5e94\u7279\u5b9a\u4e1a\u52a1\u573a\u666f\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s2.51cto.com\/oss\/202404\/12\/d700cf239aebce8642f7681bfb342564bc0c0c.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/axa-group\/nlp.js<\/p>\n<h3>Transformers.js<\/h3>\n<p>Transformers.js\u662f\u4e00\u4e2aJavaScript\u5e93\u6216\u6846\u67b6\uff0c\u8bbe\u8ba1\u7528\u4e8e\u5728Web\u6d4f\u89c8\u5668\u4e2d\u76f4\u63a5\u8fd0\u884cTransformer\u6a21\u578b\uff0c\u800c\u4e0d\u518d\u9700\u8981\u5916\u90e8\u670d\u52a1\u5668\u53c2\u4e0e\u5904\u7406\u3002\u5b83\u63d0\u4f9b\u4e86\u9884\u8bad\u7ec3\u6a21\u578b\u548c\u719f\u6089\u7684API\uff0c\u652f\u6301\u81ea\u7136\u8bed\u8a00\u5904\u7406\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\u3001\u97f3\u9891\u548c\u591a\u6a21\u6001\u9886\u57df\u7684\u4efb\u52a1\u3002\u501f\u52a9Transformers.js\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\u6587\u672c\u5206\u7c7b\u3001\u56fe\u50cf\u5206\u7c7b\u3001\u8bed\u97f3\u8bc6\u522b\u7b49\u4efb\u52a1\uff0c\u8fd9\u4f7f\u5176\u6210\u4e3aML\u4ece\u4e1a\u8005\u548c\u7814\u7a76\u4eba\u5458\u7684\u5f3a\u5927\u5de5\u5177\u3002<\/p>\n<p>\u6b64\u5916\uff0cTransformers.js \u5c06\u6700\u5148\u8fdb\u7684\u673a\u5668\u5b66\u4e60\u6280\u672f\u5f15\u5165\u5230Web\u4e2d\uff0c\u6d88\u9664\u4e86\u5bf9\u670d\u52a1\u5668\u7684\u9700\u6c42\uff0c\u5b9e\u73b0\u4e86\u6700\u5927\u7a0b\u5ea6\u4e0a\u7684\u9690\u79c1\u4fdd\u62a4\u3002\u5728\u6700\u65b0\u7684\u7248\u672c\u4e2d\uff0cTransformers.js\u8fd8\u5f15\u5165\u4e86\u589e\u5f3a\u529f\u80fd\uff0c\u5305\u62ec\u6587\u672c\u8f6c\u8bed\u97f3\uff08TTS\uff09\u652f\u6301\uff0c\u6269\u5c55\u4e86\u5e93\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s8.51cto.com\/oss\/202404\/12\/e35219f2146353b6f3288060d7102780238ee7.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/xenova\/transformers.js<\/p>\n<h4>Natural<\/h4>\n<p>Natural \u662f Node.js \u7684\u4e00\u4e2a\u901a\u7528\u81ea\u7136\u8bed\u8a00\u5904\u7406\u5de5\u5177\u3002\u5b83\u4e3a\u81ea\u7136\u8bed\u8a00\u5904\u7406\u63d0\u4f9b\u4e86\u5e7f\u6cdb\u7684\u529f\u80fd\uff0c\u5305\u62ec\u6807\u8bb0\u5316\u3001\u8bcd\u5e72\u63d0\u53d6\u3001\u5206\u7c7b\u3001\u8bed\u97f3\u5b66\u3001tf-idf\u3001WordNet\u3001\u5b57\u7b26\u4e32\u76f8\u4f3c\u6027\u548c\u4e00\u4e9b\u5c48\u6298\u53d8\u5316\u7b49\u3002\u8fd9\u4e2a\u5e93\u7684\u8bbe\u8ba1\u4f7f\u5f97\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u89e3\u6790\u3001\u89e3\u91ca\u3001\u64cd\u4f5c\u548c\u7406\u89e3\u6765\u81ea\u7528\u6237\u8f93\u5165\u7684\u81ea\u7136\u8bed\u8a00\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s9.51cto.com\/oss\/202404\/12\/51aa1134102c59942ad763885a4af949c79300.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/NaturalNode\/natural<\/p>\n<h3>Tesseract.js<\/h3>\n<p>Tesseract.js \u662f\u4e00\u4e2a\u57fa\u4e8e Tesseract OCR \u5f15\u64ce\u7684JavaScript\u7248\u672c\u3002\u5b83\u53ef\u4ee5\u4ece\u56fe\u50cf\u4e2d\u83b7\u53d6\u51e0\u4e4e\u4efb\u4f55\u8bed\u8a00\u7684\u6587\u5b57\u3002Tesseract OCR \u5f15\u64ce\u672c\u8eab\u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u5f00\u6e90 OCR \u5f15\u64ce\uff0c\u80fd\u591f\u8bc6\u522b\u591a\u79cd\u8bed\u8a00\u548c\u5b57\u4f53\u3002\u800c Tesseract.js \u5c06\u539f\u59cb\u7684 Tesseract \u4ece C \u7f16\u8bd1\u4e3a JavaScript WebAssembly\uff0c\u4ece\u800c\u4f7f OCR \u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u3002\u5b83\u652f\u6301100\u591a\u79cd\u8bed\u8a00\uff0c\u5177\u6709\u81ea\u52a8\u6587\u672c\u65b9\u5411\u548c\u811a\u672c\u68c0\u6d4b\u529f\u80fd\uff0c\u5e76\u63d0\u4f9b\u4e86\u9605\u8bfb\u6bb5\u843d\u3001\u5355\u8bcd\u548c\u5b57\u7b26\u8fb9\u754c\u6846\u7684\u7b80\u5355\u754c\u9762\u3002Tesseract.js \u65e2\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\uff0c\u4e5f\u53ef\u4ee5\u5728\u5e26\u6709 NodeJS \u7684\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u3002<\/p>\n<p>\u6b64\u5916\uff0cTesseract.js \u8fd8\u5177\u6709\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\uff0c\u53ef\u4ee5\u5728\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u5305\u62ecWindows\u3001Linux \u548c macOS\u3002\u540c\u65f6\uff0c\u7531\u4e8e\u5b83\u57fa\u4e8e\u539f\u7248 Tesseract OCR \u5f15\u64ce\uff0c\u56e0\u6b64\u4e5f\u5177\u6709\u76f8\u4f3c\u7684\u9ad8\u8bc6\u522b\u51c6\u786e\u6027\u3002<\/p>\n<p><img decoding=\"async\" title=\"\u56fe\u7247\" src=\"https:\/\/s7.51cto.com\/oss\/202404\/12\/373fc1a17321181184e4161370c6677f133ff4.webp\" alt=\"\" data-type=\"block\" \/><\/p>\n<p><strong>Github\uff1a<\/strong>https:\/\/github.com\/naptha\/tesseract.js\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_20177\" class=\"pvc_stats total_only  \" data-element-id=\"20177\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5c06\u5206\u4eab\u51e0\u4e2a\u5f15\u9886 JS \u8fc8\u5411 AI \u65f6\u4ee3\u7684\u673a\u5668\u5b66\u4e60\u5e93\uff0c\u63a2\u7d22\u8fd9\u4e9b\u5e93\u7684\u9b45\u529b\uff0c\u643a\u624b\u8fce\u63a5 JS \u7684 AI \u65f6\u4ee3\u5427\uff01  [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_20177\" class=\"pvc_stats total_only  \" data-element-id=\"20177\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":20178,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,80],"tags":[124,1108,842],"class_list":["post-20177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23","category-80","tag-ai","tag-js","tag-842"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/20177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=20177"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/20177\/revisions"}],"predecessor-version":[{"id":20179,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/20177\/revisions\/20179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/20178"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=20177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=20177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=20177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}