S
S
Sergey2016-11-12 19:05:38
linux
Sergey, 2016-11-12 19:05:38

Linux: Crop and align a set of pictures with an anchor to something?

We decided to make a cartoon with my daughter :)
it turned out like this https://youtu.be/wlarSqp2rSE
The source material is a set of photographs.
Now the question is: Is it possible to somehow crop and align (rotate) the pictures (in batches) so that the picture does not move in the process. Is there a console tool for this? of course free.
Original Linux system (ubuntu), used ffmpeg.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-11-16
@begemot_sun

I post my solution to the problem:
https://gist.github.com/loguntsov/92f07b6c8303f92e...
Run:
pyhton stab.py
The script will read all *.jpg files and put the results in the ./result directory. Of course, it must be created in advance.

D
Dmitry, 2016-11-12
@plin2s

Experience tells me that with the help of imagemagick you can do anything, but the automatic rotation and cropping has not yet been googled.

E
elcanner, 2016-11-14
@elcanner

something seems to me that, according to the subject, you need to show unhealthy masochism and patience in order to fix it all ... it seems to me easier to redraw the drawing :) but to prevent this from happening in the future, you can at least:
fix the camera on a tripod, mark the place for the drawing with marks so that the drawing itself "did not move"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question