scanning

Automate AWS ECR scanning

Automate AWS ECR scanning Question: I have tried to automate ECR image scanning using AWS CLI. But I was stuck in the scanning step. When I call aws ecr start-image-scan, it starts the scanning. But how I know the scanning is finish. My images are large and it takes few minutes. Could someone help me …

Total answers: 2

Extract postcards from a scanned document using opencv?

Extract postcards from a scanned document using opencv? Question: I have 1000s of old postcards that I’d like to scan, and I think it might be a good idea to optimize my workflow using some kind of automatic crop/rotate tools, so I have started investigating OpenCV with Python. Below is a sample of picture I …

Total answers: 1

How to get PDF file metadata 'Page Size' using Python?

How to get PDF file metadata 'Page Size' using Python? Question: I try to use PyPDF2 module in Python 3 but I can’t display ‘Page Size’ property. I would like to know what the sheet of paper dimensions were before scanning to PDF file. Something like this: import PyPDF2 pdf=PdfFileReader(“sample.pdf”,”rb”) print(pdf.getNumPages()) But I’m looking for …

Total answers: 2

PIL: Create one-dimensional histogram of image color lightness?

PIL: Create one-dimensional histogram of image color lightness? Question: I’ve been working on a script, and I need it to basically: Make the image greyscale (or bitonal, I will play with both to see which one works better). Process each individual column and create a net intensity value for each column. Spit the results into …

Total answers: 2