Perspec is a desktop app for straightening images that were taken at an angle, so that flat surfaces such as documents, signs or walls appear square. It is aimed at people who need to fix the perspective of photographed images without working in a full image editor.
The app is scriptable, and the source code is public under the AGPL-3.0 license. It runs on Mac, Linux and Windows. The project is written in Haskell and uses ImageMagick for image processing. A paid version is sold through the maker's Gumroad page, while the code itself is free to inspect and build.
Alternatives to Perspec
Products that do a similar job in Photo & Video.
GIMP
Free raster image editor for painting, retouching and batch processing
RawTherapee
Open-source RAW photo processor for developing digital camera images
XnConvert
Batch image converter and editor with drag and drop
RapidRAW
Lightweight open-source RAW photo editor with GPU rendering
Kdenlive
Non-linear video editor with multi-track timeline and colour scopes
Camera
Photo, video, timelapse and QR code capture app for Linux
HandBrake
Video transcoder for converting files to widely supported codecs
Cap
Open source screen recorder for sharing videos with a link