Open qimingyudaowenti opened 5 years ago
Hi, TreB1eN! When I run take_pic.py to crop face, I find two little problems:
q
I think the code could be better like:
while cap.isOpened(): isSuccess, frame = cap.read() press_key = cv2.waitKey(1) & 0xFF if press_key == ord('t'): ... elif press_key == ord('q'): break if isSuccess: frame_text = cv2.putText(...) ... cap.release()
Hmm... please push a PR, I/m quite busy recently
Hi, TreB1eN! When I run take_pic.py to crop face, I find two little problems:
q
for quitting).I think the code could be better like: