Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,14 +19,6 @@ pose = mp_pose.Pose(static_image_mode=False, min_detection_confidence=0.5, min_t
|
|
19 |
def index():
|
20 |
return render_template('index.html')
|
21 |
|
22 |
-
@app.route('/web_app')
|
23 |
-
def web_app():
|
24 |
-
return render_template('holistic.html')
|
25 |
-
|
26 |
-
@app.route('/video_app')
|
27 |
-
def video_app():
|
28 |
-
return render_template('video_app.html')
|
29 |
-
|
30 |
def process_video(video_path):
|
31 |
cap = cv2.VideoCapture(video_path)
|
32 |
frame_count = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|
|
|
19 |
def index():
|
20 |
return render_template('index.html')
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
def process_video(video_path):
|
23 |
cap = cv2.VideoCapture(video_path)
|
24 |
frame_count = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|