Автоматический выбор (определенная область) в файлах JPG

215
user253579

У меня есть около 5000 страниц документа (в формате JPG или PDF), на каждой странице около 30 прямоугольных блоков (часть содержимого находится внутри блока), мне нужно автоматически захватить 30 прямоугольных блоков и присвоить им имя.

Заранее спасибо.

Bhaskar

2
Добро пожаловать в Супер пользователя. Пожалуйста, всегда включайте вашу ОС. Решения очень часто зависят от используемой операционной системы. Вы используете Windows, Linux, Unix, OSX, BSD? Какая версия? terdon 10 лет назад 1

2 ответа на вопрос

0
Sickest

Assuming it's win/mac: I highly recommend using http://puush.me/ It installs a piece of software on your computer and you simply press Ctrl Shift 4, it will create a mouse PLUS LOGO and you can highlight the area you want to take a screen shot of or screen capture.

It will then send that selection to there database and send you back a direct link to the image, then you just save the jpg on your computer.

It also automatically puts that link to your (Ctrl+V) spot for faster use. Puush also keeps a record of all the screenshots you've taken under "My Account" with a 200MB limit

Hope that helps, good luck

And obviously the normal way for windows is to press Prt Scr Button on your keyboard, it will take a screenshot of the entire screen, then you open up paint, Paste the results of the screenshot, and then you can edit whatever you want and save, but in your situation, i don't recommend this.

0
Ярослав Рахматуллин

Use The GNU Image Manipulation Program, it offers several selection tools that can automate your task. Considering the volume of the data, doing this manually would be rather painful. I'd Look into scripting something with Imagemagic.

GIMP selection tools: http://docs.gimp.org/en/gimp-tools-selection.html

Похожие вопросы