Re: Image enhance

2025-09-03 Thread MRAB
On 2025-09-03 13:06, AM CR via Python-list wrote: Good morning everyone. First of all, thank you in advance for your advice and suggestions. After a few attempts, I've come to the conclusion that working on Windows XP isn't very reasonable, given the many advances available. I'll try this on a

Re: Image enhance

2025-09-03 Thread AM CR via Python-list
Good morning everyone. First of all, thank you in advance for your advice and suggestions. After a few attempts, I've come to the conclusion that working on Windows XP isn't very reasonable, given the many advances available. I'll try this on a Windows 7 Home machine. I'd appreciate it if someo

Re: Image enhance

2025-09-03 Thread Joel Goldstick via Python-list
On Tue, Sep 2, 2025 at 1:46 PM amrodi--- via Python-list wrote: > > 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 > >

Re: Image enhance

2025-09-02 Thread Thomas Passin
On 9/2/2025 11:29 AM, amrodi--- via Python-list wrote: 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

Re: Image enhance

2025-09-02 Thread amrodi9999--- via Python-list
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