{"id":90466,"date":"2020-05-02T22:26:55","date_gmt":"2020-05-02T14:26:55","guid":{"rendered":"http:\/\/4563.org\/?p=90466"},"modified":"2020-05-19T13:32:01","modified_gmt":"2020-05-19T05:32:01","slug":"%e8%b6%85%e7%ba%a7%e9%bb%91%e7%a7%91%e6%8a%80%e4%bb%a3%e7%a0%81%ef%bc%81%e7%94%a8-python-%e6%89%93%e9%80%a0%e7%94%b5%e8%84%91%e4%ba%ba%e8%84%b8%e5%b1%8f%e5%b9%95%e8%a7%a3%e9%94%81%e7%a5%9e%e5%99%a8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=90466","title":{"rendered":"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Liulang007 <\/span>  <span><i><\/i> 22<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<h4>\u524d\u8a00<\/h4>\n<p>\u6700\u8fd1\u7a81\u7136\u6709\u4e2a\u5947\u5999\u7684\u60f3\u6cd5\uff0c\u5c31\u662f\u5f53\u6211\u5bf9\u7740\u7535\u8111\u5c4f\u5e55\u7684\u65f6\u5019\uff0c\u7535\u8111\u4f1a\u5148\u8bc6\u522b\u5c4f\u5e55\u4e0a\u7684\u4eba\u8138\u662f\u5426\u662f\u672c\u4eba\uff0c\u5982\u679c\u8bc6\u522b\u662f\u672c\u4eba\u7684\u8bdd\u9700\u8981\u56de\u7b54\u7535\u8111\u8bf4\u7684\u6697\u8bed\uff0c\u7b54\u5bf9\u4e86\u624d\u4f1a\u89e3\u9501\u5e76\u4e14\u6709\u4e09\u6b21\u673a\u4f1a\u3002\u5982\u679c\u90fd\u6ca1\u7b54\u5bf9\u5c31\u4f1a\u53d1\u9001\u90ae\u4ef6\u7ed9\u6211\uff0c\u901a\u77e5\u6709\u4eba\u5728\u52a8\u6211\u7684\u7535\u8111\u5e76\u4e0a\u4f20\u8be5\u4eba\u5934\u50cf\u3002<\/p>\n<h4>\u8fc7\u7a0b<\/h4>\n<p>\u73af\u5883\u662f<code>win10<\/code>\u4ee3\u7801\u6211\u4f7f\u7528\u7684\u662f<code>python3<\/code>\u6240\u4ee5\u5728\u5f00\u59cb\u4e4b\u524d\u9700\u8981\u5b89\u88c5\u4e00\u4e9b\u4f9d\u8d56\u5305\uff0c\u8bf7\u6309\u987a\u5e8f\u5b89\u88c5\u5426\u8005\u4f1a\u62a5\u9519<\/p>\n<pre><code>pip install cmake -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple pip install dlib -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple pip install face_recognition -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple pip install opencv-python -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple <\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\u662f\u6784\u5efa\u8bc6\u522b\u4eba\u8138\u4ee5\u53ca\u5bf9\u6bd4\u4eba\u8138\u7684\u4ee3\u7801<\/p>\n<pre><code>import face_recognition import cv2 import numpy as np  video_capture = cv2.VideoCapture(0) my_image = face_recognition.load_image_file(\"my.jpg\") my_face_encoding = face_recognition.face_encodings(my_image)[0] known_face_encodings = [     my_face_encoding ] known_face_names = [     \"Admin\" ]  face_names = [] face_locations = [] face_encodings = [] process_this_frame = True  while True:     ret, frame = video_capture.read()     small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)     rgb_small_frame = small_frame[:, :, ::-1]     if process_this_frame:         face_locations = face_recognition.face_locations(rgb_small_frame)         face_encodings = face_recognition.face_encodings(rgb_small_frame, face_locations)         face_names = []         for face_encoding in face_encodings:             matches = face_recognition.compare_faces(known_face_encodings, face_encoding)             name = \"Unknown\"             face_distances = face_recognition.face_distance(known_face_encodings, face_encoding)             best_match_index = np.argmin(face_distances)             if matches[best_match_index]:                 name = known_face_names[best_match_index]             face_names.append(name)      process_this_frame = not process_this_frame     for (top, right, bottom, left), name in zip(face_locations, face_names):         top *= 4         left *= 4         right *= 4         bottom *= 4         font = cv2.FONT_HERSHEY_DUPLEX         cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)         cv2.rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), cv2.FILLED)         cv2.putText(frame, name, (left + 6, bottom - 6), font, 1.0, (255, 255, 255), 1)      cv2.imshow('Video', frame)     if cv2.waitKey(1) &amp; 0xFF == ord('q'):         break  video_capture.release() cv2.destroyAllWindows() <\/code><\/pre>\n<p>\u5176\u4e2d<code>my.jpg<\/code>\u9700\u8981\u4f60\u81ea\u5df1\u62cd\u6444\u4e0a\u4f20\uff0c\u8fd0\u884c\u53ef\u4ee5\u53d1\u73b0\u5728\u4f60\u8138\u4e0a\u4f1a\u51fa\u73b0<code>Admin<\/code>\u7684\u6846\u6846\uff0c\u6211\u53bb\u7f51\u4e0a\u627e\u4e86\u5f20\u56fe\u7247\u7c7b\u4f3c\u8fd9\u6837\u5b50<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/552173997.png\" alt=\"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01\" \/> \u8bc6\u522b\u529f\u80fd\u5df2\u7ecf\u5b8c\u6210\u4e86\u63a5\u4e0b\u6765\u5c31\u662f\u8bed\u97f3\u8bc6\u522b\u548c\u8bed\u97f3\u5408\u6210\uff0c\u8fd9\u9700\u8981\u4f7f\u7528\u5230\u767e\u5ea6 AI \u6765\u5b9e\u73b0\u4e86\uff0c\u53bb\u767b\u5f55\u767e\u5ea6 AI \u7684\u5b98\u7f51\u5230\u63a7\u5236\u53f0\u9009\u62e9\u5de6\u8fb9\u7684\u8bed\u97f3\u6280\u672f\uff0c\u7136\u540e\u70b9\u51fb\u9762\u677f\u7684\u521b\u5efa\u5e94\u7528\u6309\u94ae\uff0c\u6765\u5230\u521b\u5efa\u5e94\u7528\u754c\u9762<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/1639830824.png\" alt=\"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01\" \/> \u521b\u5efa\u540e\u4f1a\u5f97\u5230 AppID \u3001API Key \u3001Secret Key \u8bb0\u4e0b\u6765\uff0c\u7136\u540e\u5f00\u59cb\u5199\u8bed\u97f3\u5408\u6210\u7684\u4ee3\u7801\u3002\u5b89\u88c5\u767e\u5ea6 AI \u63d0\u4f9b\u7684\u4f9d\u8d56\u5305<\/p>\n<pre><code>pip install baidu-aip -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple pip install playsound -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple <\/code><\/pre>\n<p>\u7136\u540e\u662f\u7b80\u5355\u7684\u8bed\u97f3\u64ad\u653e\u4ee3\u7801\uff0c\u8fd0\u884c\u4e0b\u9762\u4ee3\u7801\u53ef\u4ee5\u542c\u5230\u840c\u59b9\u5b50\u7684\u58f0\u97f3<\/p>\n<pre><code>import sys from aip import AipSpeech from playsound import playsound  APP_ID = '' API_KEY = '' SECRET_KEY = ''  client = AipSpeech(APP_ID, API_KEY, SECRET_KEY) result = client.synthesis('\u4f60\u597d\u5416', 'zh', 1, {'vol': 5, 'per': 4, 'spd': 5, })  if not isinstance(result, dict):     with open('auido.mp3', 'wb') as file:         file.write(result)  filepath = eval(repr(sys.path[0]).replace('', '\/')) + '\/\/auido.mp3' playsound(filepath) <\/code><\/pre>\n<p>\u6709\u4e86\u4e0a\u9762\u7684\u4ee3\u7801\u5c31\u5b8c\u6210\u4e86\u68c0\u6d4b\u662f\u5426\u5728\u7535\u8111\u524d\uff08\u4eba\u8138\u8bc6\u522b\uff09\u4ee5\u53ca\u7535\u8111\u5ff5\u51fa\u6697\u8bed\uff08\u8bed\u97f3\u5408\u6210\uff09\u7136\u540e\u6211\u4eec\u8fd8\u9700\u8981\u56de\u7b54\u6697\u53f7\u7ed9\u7535\u8111\uff0c\u6240\u4ee5\u8fd8\u9700\u8981\u5b8c\u6210\u8bed\u97f3\u8bc6\u522b\u3002<\/p>\n<pre><code>import wave import pyaudio from aip import AipSpeech  APP_ID = '' API_KEY = '' SECRET_KEY = ''  client = AipSpeech(APP_ID, API_KEY, SECRET_KEY) CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 8000 RECORD_SECONDS = 3 WAVE_OUTPUT_FILENAME = \"output.wav\"  p = pyaudio.PyAudio() stream = p.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK)  print(\"* recording\") frames = [] for i in range(0, int(RATE \/ CHUNK * RECORD_SECONDS)):     data = stream.read(CHUNK)     frames.append(data) print(\"* done recording\")  stream.stop_stream() stream.close() p.terminate() wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb') wf.setnchannels(CHANNELS) wf.setsampwidth(p.get_sample_size(FORMAT)) wf.setframerate(RATE) wf.writeframes(b''.join(frames))   def get_file_content():     with open(WAVE_OUTPUT_FILENAME, 'rb') as fp:         return fp.read()   result = client.asr(get_file_content(), 'wav', 8000, {'dev_pid': 1537, }) print(result) <\/code><\/pre>\n<p>\u8fd0\u884c\u6b64\u4ee3\u7801\u4e4b\u524d\u9700\u8981\u5b89\u88c5<code>pyaudio<\/code>\u4f9d\u8d56\u5305\uff0c\u7531\u4e8e\u5728 win10 \u7cfb\u7edf\u4e0a\u5b89\u88c5\u4f1a\u62a5\u9519\u6240\u4ee5\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u65b9\u5f0f\u5b89\u88c5\u3002\u5230\u8fd9\u4e2a\u94fe\u63a5 https:\/\/www.lfd.uci.edu\/~gohlke\/pythonlibs\/#pyaudio \u53bb\u4e0b\u8f7d\u5bf9\u5e94\u7684\u5b89\u88c5\u5305\u7136\u540e\u5b89\u88c5\u5373\u53ef\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/1260218870.png\" alt=\"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01\" \/> \u8fd0\u884c\u540e\u6211\u8bf4\u4e86\u4f60\u597d\uff0c\u53ef\u4ee5\u770b\u5230\u8bc6\u522b\u51fa\u6765\u4e86\u3002\u90a3\u4e48\u6211\u4eec\u7684\u5c0f\u6a21\u5757\u529f\u80fd\u5c31\u90fd\u505a\u597d\u4e86\u63a5\u4e0b\u6765\u5c31\u662f\u5982\u4f55\u53bb\u6574\u5408\u5b83\u4eec\u3002\u53ef\u4ee5\u53d1\u73b0\u5728\u4eba\u8138\u8bc6\u522b\u4ee3\u7801\u4e2d<code>if matches[best_match_index]<\/code>\u8fd9\u53e5\u5224\u65ad\u4ee3\u7801\u5c31\u662f\u5224\u65ad\u662f\u5426\u4e3a\u7535\u8111\u4e3b\u4eba\uff0c\u6240\u4ee5\u6211\u4eec\u628a\u8fd9\u4e2a\u5224\u65ad\u8bed\u53e5\u5f53\u4f5c main \u51fd\u6570\u7684\u5165\u53e3\u3002<\/p>\n<pre><code>if matches[best_match_index]:         # \u5728\u8fd9\u91cc\u5199\u8bc6\u522b\u5230\u4e4b\u540e\u7684\u529f\u80fd         name = known_face_names[best_match_index] <\/code><\/pre>\n<p>\u90a3\u4e48\u8bc6\u522b\u5230\u540e\u6211\u4eec\u5e94\u8be5\u8ba9\u7535\u8111\u53d1\u51fa\u8be2\u95ee\u6697\u53f7\uff0c\u4e5f\u5c31\u662f\u8bed\u97f3\u5408\u6210\u4ee3\u7801\uff0c\u7136\u6211\u4eec\u5c06\u5b83\u5c01\u88c5\u6210\u4e00\u4e2a\u51fd\u6570\uff0c\u987a\u4fbf\u91cd\u6784\u4e0b\u4eba\u8138\u8bc6\u522b\u7684\u4ee3\u7801\u3002<\/p>\n<pre><code>import cv2 import time import numpy as np import face_recognition  video_capture = cv2.VideoCapture(0) my_image = face_recognition.load_image_file(\"my.jpg\") my_face_encoding = face_recognition.face_encodings(my_image)[0] known_face_encodings = [     my_face_encoding ] known_face_names = [     \"Admin\" ]  face_names = [] face_locations = [] face_encodings = [] process_this_frame = True   def speak(content):     import sys     from aip import AipSpeech     from playsound import playsound     APP_ID = ''     API_KEY = ''     SECRET_KEY = ''     client = AipSpeech(APP_ID, API_KEY, SECRET_KEY)     result = client.synthesis(content, 'zh', 1, {'vol': 5, 'per': 0, 'spd': 5, })     if not isinstance(result, dict):         with open('auido.mp3', 'wb') as file:             file.write(result)     filepath = eval(repr(sys.path[0]).replace('', '\/')) + '\/\/auido.mp3'     playsound(filepath)   try:     while True:         ret, frame = video_capture.read()         small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)         rgb_small_frame = small_frame[:, :, ::-1]         if process_this_frame:             face_locations = face_recognition.face_locations(rgb_small_frame)             face_encodings = face_recognition.face_encodings(rgb_small_frame, face_locations)             face_names = []             for face_encoding in face_encodings:                 matches = face_recognition.compare_faces(known_face_encodings, face_encoding)                 name = \"Unknown\"                 face_distances = face_recognition.face_distance(known_face_encodings, face_encoding)                 best_match_index = np.argmin(face_distances)                 if matches[best_match_index]:                     speak(\"\u8bc6\u522b\u5230\u4eba\u8138\uff0c\u5f00\u59cb\u8be2\u95ee\u6697\u53f7\uff0c\u8bf7\u56de\u7b54\u63a5\u4e0b\u6765\u6211\u8bf4\u7684\u95ee\u9898\")                     time.sleep(1)                     speak(\"\u5929\u738b\u76d6\u5730\u864e\")                     error = 1 \/ 0                     name = known_face_names[best_match_index]                 face_names.append(name)         process_this_frame = not process_this_frame         for (top, right, bottom, left), name in zip(face_locations, face_names):             top *= 4             left *= 4             right *= 4             bottom *= 4             font = cv2.FONT_HERSHEY_DUPLEX             cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)             cv2.rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), cv2.FILLED)             cv2.putText(frame, name, (left + 6, bottom - 6), font, 1.0, (255, 255, 255), 1)          cv2.imshow('Video', frame)         if cv2.waitKey(1) &amp; 0xFF == ord('q'):             break except Exception as e:     print(e) finally:     video_capture.release()     cv2.destroyAllWindows() <\/code><\/pre>\n<p>\u8fd9\u91cc\u6709\u4e00\u70b9\u9700\u8981\u6ce8\u610f\uff0c\u7531\u4e8e<code>playsound<\/code>\u64ad\u653e\u97f3\u4e50\u7684\u65f6\u5019\u4f1a\u4e00\u76f4\u5360\u7528\u8fd9\u4e2a\u8d44\u6e90\uff0c\u6240\u4ee5\u64ad\u653e\u4e0b\u4e00\u6bb5\u97f3\u4e50\u7684\u65f6\u5019\u4f1a\u62a5\u9519\uff0c\u89e3\u51b3\u65b9\u6cd5\u662f\u4fee\u6539<code>~Python37Libsite-packages<\/code>\u4e0b\u7684<code>playsound.py<\/code>\u6587\u4ef6\uff0c\u627e\u5230\u5982\u4e0b\u4ee3\u7801<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/3641382310.png\" alt=\"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01\" \/> \u5728<code>sleep<\/code>\u51fd\u6570\u4e0b\u9762\u6dfb\u52a0<code>winCommand('close', alias)<\/code>\u8fd9\u53e5\u4ee3\u7801\uff0c\u4fdd\u5b58\u4e0b\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd0\u884c\u53d1\u73b0\u53ef\u4ee5\u6b63\u5e38\u5c06\u4e24\u53e5\u8bdd\u90fd\u8bf4\u51fa\u6765\u3002\u90a3\u4e48\u8bf4\u51fa\u6765\u4e4b\u540e\u5c31\u8981\u53bb\u76d1\u542c\u4e86\uff0c\u6211\u4eec\u8fd8\u8981\u6253\u5305\u4e00\u4e2a\u51fd\u6570\u3002<\/p>\n<pre><code>def record():     import wave     import json     import pyaudio     from aip import AipSpeech      APP_ID = ''     API_KEY = ''     SECRET_KEY = ''      client = AipSpeech(APP_ID, API_KEY, SECRET_KEY)     CHUNK = 1024     FORMAT = pyaudio.paInt16     CHANNELS = 1     RATE = 8000     RECORD_SECONDS = 3     WAVE_OUTPUT_FILENAME = \"output.wav\"      p = pyaudio.PyAudio()     stream = p.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK)      print(\"* recording\")     frames = []     for i in range(0, int(RATE \/ CHUNK * RECORD_SECONDS)):         data = stream.read(CHUNK)         frames.append(data)     print(\"* done recording\")      stream.stop_stream()     stream.close()     p.terminate()     wf = wave.open(WAVE_OUTPUT_FILENAME, 'wb')     wf.setnchannels(CHANNELS)     wf.setsampwidth(p.get_sample_size(FORMAT))     wf.setframerate(RATE)     wf.writeframes(b''.join(frames))      def get_file_content():         with open(WAVE_OUTPUT_FILENAME, 'rb') as fp:             return fp.read()      result = client.asr(get_file_content(), 'wav', 8000, {'dev_pid': 1537, })     result = json.loads(str(result).replace(\"'\", '\"'))     return result[\"result\"][0] <\/code><\/pre>\n<p>\u5c06\u8bc6\u522b\u5230\u4eba\u8138\u540e\u7684\u4ee3\u7801\u4fee\u6539\u6210\u5982\u4e0b<\/p>\n<pre><code>if matches[best_match_index]:         speak(\"\u8bc6\u522b\u5230\u4eba\u8138\uff0c\u5f00\u59cb\u8be2\u95ee\u6697\u53f7\uff0c\u8bf7\u56de\u7b54\u63a5\u4e0b\u6765\u6211\u8bf4\u7684\u95ee\u9898\")         time.sleep(1)         speak(\"\u5929\u738b\u76d6\u5730\u864e\")          flag = False         for times in range(0, 3):                 content = record()                 if \"\u5c0f\u9e21\u7096\u8611\u83c7\" in content:                         speak(\"\u6697\u53f7\u901a\u8fc7\")                         flag = True                         break                 else:                         speak(\"\u6697\u53f7\u4e0d\u901a\u8fc7\uff0c\u518d\u8bd5\u4e00\u6b21\")         if flag:                 print(\"\u89e3\u9501\")         else:                 print(\"\u53d1\u9001\u90ae\u4ef6\u5e76\u5c06\u574f\u4eba\u4eba\u8138\u56fe\u7247\u4e0a\u4f20\uff01\")         error = 1 \/ 0         name = known_face_names[best_match_index] <\/code><\/pre>\n<p>\u8fd0\u884c\u770b\u770b\u6548\u679c\uff0c\u56de\u7b54\u7535\u8111<code>\u5c0f\u9e21\u7096\u8611\u83c7<\/code>\uff0c\u7535\u8111\u56de\u7b54\u6697\u53f7\u901a\u8fc7\u3002\u8fd9\u6837\u529f\u80fd\u5c31\u57fa\u672c\u4e0a\u5b8c\u6210\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/844163071.png\" alt=\"\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python \u6253\u9020\u7535\u8111\u4eba\u8138\u5c4f\u5e55\u89e3\u9501\u795e\u5668\u9644\u5e26\u63a5\u5934\u6697\u53f7\uff01\" \/><\/p>\n<h4>\u7ed3\u8bed<\/h4>\n<p>\u81f3\u4e8e\u53d1\u9001\u90ae\u4ef6\u7684\u529f\u80fd\u548c\u9501\u5c4f\u89e3\u9501\u7684\u529f\u80fd\u6211\u5c31\u4e0d\u4e00\u4e00\u53bb\u5b9e\u73b0\u4e86\uff0c\u6211\u60f3\u8fd9\u5e94\u8be5\u96be\u4e0d\u5012\u5728\u5ea7\u7684\u5404\u4f4d\u5427\u3002\u5982\u679c\u5728\u4e0a\u9762\u7684\u6559\u7a0b\u4e2d\u6709\u4ec0\u4e48\u7591\u95ee\u53ef\u4ee5\u5728\u4e0b\u9762\u7559\u8a00\u6216\u8005\u5728\u6211\u7684\u535a\u5ba2\u4e0a\u7559\u8a00\u3002\u8fd8\u6709\u672c\u6587\u7eaf\u5c5e\u539f\u521b\uff0c\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904\uff01<\/p>\n<h4>\u6211\u7684\u535a\u5ba2\u5730\u5740<\/h4>\n<p>https:\/\/www.meitubk.com\/<\/p>\n<p>\u4e0a\u6587\u6709\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u53ef\u4ee5\u5230\u535a\u5ba2\u53bb\u7559\u8a00\uff0c\u6709\u90ae\u4ef6\u901a\u77e5\u6211\u4f1a\u53ca\u65f6\u53bb\u56de\u590d\u3002\u611f\u8c22 V2 \u76c6\u53cb\u4eec\u652f\u6301\uff01<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1294366\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuxyuan158 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4eba\u624d\u554a\uff0c\u5b66\u4e60\u4e86\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8d85\u7ea7\u9ed1\u79d1\u6280\u4ee3\u7801\uff01\u7528 Python &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/90466"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90466"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/90466\/revisions"}],"predecessor-version":[{"id":90472,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/90466\/revisions\/90472"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90466"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}