From cc28518691b6f01f3837d84eadaa61d317f6f488 Mon Sep 17 00:00:00 2001 From: sycuuui <102959791+sycuuui@users.noreply.github.com> Date: Fri, 10 May 2024 20:00:51 +0900 Subject: [PATCH] =?UTF-8?q?docs=20:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20=EB=B6=80=EB=B6=84=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 10 ---------- createTarget.py | 4 ---- 2 files changed, 14 deletions(-) diff --git a/app.py b/app.py index 3accda3..00aab39 100644 --- a/app.py +++ b/app.py @@ -8,16 +8,6 @@ app = Flask(__name__) - -@app.route('/') -def hello_world(): # put application's code here - return 'Hello World!' - - -@app.route('/test', methods=['POST']) -def test(): # put application's code here - return 'post test' - @app.route('/target', methods=['POST']) def process_video(): video_file = request.files['video'] diff --git a/createTarget.py b/createTarget.py index 8a83809..8297d2a 100644 --- a/createTarget.py +++ b/createTarget.py @@ -26,10 +26,6 @@ def extract_and_identify_faces_from_video(video_path): # 얼굴 이미지 추출 face_image = frame[top:bottom, left:right] face_images.append(face_image) - - - - face_encodings.append(encoding) # 인식된 얼굴 분류