Relative Content

Tag Archive for opencv

Pillow Image.fromarray method setting background to black

I am trying to draw boxes on an image and saving it back to google bucket. I’m running into an issue when an image has highlighting on it (it works fine when images do not) where it is turning the image background black thus drowning out the text that is in black. I’ve tried a lot of solutions but cannot get it to save correctly. Any help greatly appreciated.

Unable to detect if a image is blurred in few cases

I have used OpenCvSharp for the first time. I’m using it to find out if an image is blurred or not. Some of the images are blurred but my code is returning that the image is not blurred. Attached images for reference. Please review my code and let me know if I have used OpenCvSharp correctly