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) # 인식된 얼굴 분류