I'm new to Python.
Operating System - Windows XP SP3
Python 2.7 installed.
I got a script that tries to improve the image?
I created a bat file using the command line.
C:\python27\python.exe d:\temp\teste.py
But even though it runs, it displays an error:
"... no encoding declare..."
Can anyone
My code
from PIL import Image, ImageEnhance
import matplotlib.pyplot as plt
import numpy as np
import cv2
# Original image path
image_path = "D:\temp\STC.jpg" # Altere se estiver em outro local
original_image = Image.open(image_path)
# Convert to OpenCV to apply enhancements
cv_image = cv2.cvtC