Manvikk commited on
Commit
a135e88
·
verified ·
1 Parent(s): dece34c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ def process_image(job_id, image_path, object_type, multiplier):
129
  jobs[job_id]['progress'] = 60
130
 
131
  # (Optional) Detect ArUco marker for measurement
132
- marker_real_width_cm = 10.0
133
  try:
134
  gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
135
  aruco_dict = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_6X6_250)
 
129
  jobs[job_id]['progress'] = 60
130
 
131
  # (Optional) Detect ArUco marker for measurement
132
+ marker_real_width_cm = 5.0
133
  try:
134
  gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
135
  aruco_dict = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_6X6_250)