Perspec
796
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Haskell
语言
—
创建时间
最近更新
项目能做什么
Perspec 是一款基于 Haskell 开发的桌面工具,用于矫正文档、白板、收据或建筑立面等照片的透视畸变。它能自动识别图像边角,也支持手动拖动微调或缩放,并支持脚本化操作与批量处理,一键导出校正后的平面图像。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<h1 style="
display: inline-block !important;
font-size: 3rem;
">
<img
src="./images/icon.svg"
alt="Icon"
height="56px"
style="
display: inline-block !important;
height: 3.5rem;
margin-right: 1rem;
"
/>
<span style="position: relative; bottom: 0.7rem;">
Perspec
</span>
</h1>
App and workflow to perspectively correct images.
For example whiteboards, document scans, or facades.

---
<!-- toc -->
- [App Workflow](#app-workflow)
* [1. Take photos](#1-take-photos)
* [2. Open Perspec app](#2-open-perspec-app)
* [3. Select photos to correct](#3-select-photos-to-correct)
* [4. Save the corrected image](#4-save-the-corrected-image)
* [Combine several photos into PDFs](#combine-several-photos-into-pdfs)
- [Installation](#installation)
* [Prebuilt](#prebuilt)
* [From Source](#from-source)
- [Usage via CLI](#usage-via-cli)
- [Interface Scaling](#interface-scaling)
- [Photo Digitization Workflow](#photo-digitization-workflow)
* [Additional Steps](#additional-steps)
- [Technologies](#technologies)
- [Related](#related)
- [License](#license)
<!-- tocstop -->
## App Workflow
### 1. Take photos
Perspec is great for correcting photos of documents, receipts,
whiteboards, facades, or any other planar objects.
<img src="images/examples/package_slip.png" alt="Photo of a document on a table" style="max-width: 30rem;" />
### 2. Open Perspec app
<img src="images/screenshots/2026-04-23t1006_select_files.png" alt="Opened Perspec App" style="max-width: 35rem;" />
### 3. Select photos to correct
Either use the "Select Files" button or simply drag & drop the photos onto the window.
Perspec's integrated computer vision algorithms will automatically detect
the corners of the document and mark them with circles.
```text
Red o----------------o Green
| |
| Document |
| |
Magenta o----------------o Blue
```
If the corners are not detected correctly,
you can manually drag the circles or the edges to the correct position.
To place corners outside of the photo
or to position them more precisely,
zoom with the − and + buttons in the bottom right corner
(or the − and + keys).
Click the zoom level (or hit 0) to show the whole photo again.
Drag the photo with the right or middle mouse button
or move it with the arrow keys.
<img src="images/screenshots/2026-04-23t1756_detected_corners.png" alt="Dropped image" style="max-width: 40rem;" />
### 4. Save the corrected image
Either click one of the save buttons or hit Enter to save the corrected image.
This will save the image in the same directory
as the original photo with `-fixed` appended to the filename.
If you selected multiple photos, they will be opened one after another,
sorted naturally by their path (e.g. `IMG_9.jpeg` before `IMG_10.jpeg`).
<table>
<thead>
<tr>
<th>Button</th>
阅读完整原文
项目深度分析 AI 生成
跨平台桌面高级批处理版(带OCR与PDF合并)
| 产品构想 | 针对原生 Haskell GUI 安装门槛高的问题,打包为更易用的跨平台桌面工具,补充完整的 OCR 和 PDF 归档工作流,实行买断制授权。 |
| 核心功能 | 拖拽批量透视矫正、文本区域OCR自动识别、多图一键转多页双层PDF、自定义色阶与边缘滤波预设 |
| 目标用户 | 法律工作者、学者、自由职业者、无纸化办公重度用户 |
| 难度/周期 | 中等 · 1-2个月 · 成本:代码重构/打包维护成本、代码签名证书费用 |
| 收费模式 | 独立站直接销售(9.99-29.99美元终身买断制或年订阅) |
| 竞争风险 | 开源版本采用AGPL-3.0协议,商业化衍生代码须注意开源合规或完全重写GUI层;移动端扫描软件(如CamScanner)竞争激烈 |
| 依据 | 已验证事实 |
单据与立面透视矫正 Cloud/On-Prem API
| 产品构想 | 将校正算法与 ImageMagick 管道封装为无状态 Web API,服务于财务报销系统或地产图像清洗流程。 |
| 核心功能 | RESTful API、四角自动检测与纠偏、图像灰度/二值化清洗、高并发批量处理容器 |
| 目标用户 | 中小企业开发者、财务SaaS提供商、房产/建筑影像平台 |
| 难度/周期 | 中等 · 3-4周 · 成本:云服务器成本、API网关运维 |
| 收费模式 | 按调用量计费(例如前100张免费,后续 $0.005/张)或私有化部署授权费 |
| 竞争风险 | Haskell生态在云原生中维护成本略高;云厂商(如AWS/阿里云)通用文档矫正API降价竞争 |
| 依据 | 尚需验证的假设 |
建筑立面与纹理贴图校正专业插件/工具
| 产品构想 | 面向3D建模师与游戏美术人员,针对建筑立面拍摄照片进行精准四点透视去除,输出正交贴图。 |
| 核心功能 | 贴图比例锁定、镜头畸变矫正联动、导出无缝纹理、支持法线贴图前置生成 |
| 目标用户 | 游戏资产美术师、建筑设计效果图制作人员、3D场景建模师 |
| 难度/周期 | 较高 · 2-3个月 · 成本:设计软件集成研发时间、特定领域测试样本收集 |
| 收费模式 | 在Gumroad/ArtStation/Blender Market上架付费销售 |
| 竞争风险 | 细分市场受众较窄,专业软件(如Photoshop)已有基础透视裁剪功能 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 8 个 Release |
| 社区活跃 | Star 796 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。