syedfaisalabrar commited on
Commit
c098b84
·
verified ·
1 Parent(s): b078d73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ def vision_ai_api(image, doc_type):
152
 
153
  def predict(image):
154
  """Pipeline: Preprocess -> Detect -> Crop -> Vision AI API."""
155
- processed_image = preprocessing(image)
156
  rotated_image = imageRotation(processed_image) # Placeholder for rotation
157
  detected_image, labels, bounding_boxes = detect_document(rotated_image)
158
 
 
152
 
153
  def predict(image):
154
  """Pipeline: Preprocess -> Detect -> Crop -> Vision AI API."""
155
+ processed_image = dynamic_preprocess(image)
156
  rotated_image = imageRotation(processed_image) # Placeholder for rotation
157
  detected_image, labels, bounding_boxes = detect_document(rotated_image)
158