ovi054 commited on
Commit
446fd2b
·
verified ·
1 Parent(s): a4e53a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def save_json(candidate, subset, json_file_path='./pose_data.json'):
20
  return json_file_path
21
 
22
  def pose_estimation(test_image):
23
- oriImg = cv2.cvtColor(oriImg, cv2.COLOR_RGB2BGR)
24
 
25
  # bgr_image_path = './test.png'
26
  # with open(bgr_image_path, 'wb') as bgr_file:
 
20
  return json_file_path
21
 
22
  def pose_estimation(test_image):
23
+ oriImg = cv2.cvtColor(test_image, cv2.COLOR_RGB2BGR)
24
 
25
  # bgr_image_path = './test.png'
26
  # with open(bgr_image_path, 'wb') as bgr_file: