Piarasingh85 commited on
Commit
4d47671
·
verified ·
1 Parent(s): 48b7a58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -4,8 +4,13 @@ import numpy as np
4
  import streamlit as st
5
 
6
  # Initialize MediaPipe Pose
 
7
  mp_pose = mp.solutions.pose
8
- pose = mp_pose.Pose(static_image_mode=False, model_complexity=1, enable_segmentation=False, min_detection_confidence=0.5)
 
 
 
 
9
  mp_drawing = mp.solutions.drawing_utils
10
 
11
  # Streamlit web interface
 
4
  import streamlit as st
5
 
6
  # Initialize MediaPipe Pose
7
+ # Initializing mediapipe pose class.
8
  mp_pose = mp.solutions.pose
9
+
10
+ # Setting up the Pose function.
11
+ pose = mp_pose.Pose(static_image_mode=True, min_detection_confidence=0.3, model_complexity=2)
12
+
13
+ # Initializing mediapipe drawing class, useful for annotation.
14
  mp_drawing = mp.solutions.drawing_utils
15
 
16
  # Streamlit web interface