Skip to content

Commit

Permalink
Create image_processing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored May 11, 2024
1 parent 1771c53 commit f89a3b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions computer_vision/image_processing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import cv2

def process_image(image, config):
# Perform image processing using the specified configuration
# For example, apply a filter or transform the image

# Apply a filter
filtered_image = cv2.GaussianBlur(image, (config['filter_size'], config['filter_size']), config['filter_sigma'])

return filtered_image

0 comments on commit f89a3b1

Please sign in to comment.