Skip to content

kylin419/CVforge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVForge

CVForge

A lightweight Computer Vision CLI toolkit written in Go.

Go Version License

CVForge 是一個以 Go 開發的輕量級 Computer Vision CLI 工具。

透過模組化 Filter Pipeline 架構,讓使用者可以快速組合影像處理流程, 從基礎影像轉換到進階電腦視覺演算法皆可擴充。


核心特色

  • Modular Filter Pipeline

    每個影像處理功能皆為獨立 Filter,可自由組合:

Input Image
     |
     v
+-----------+
| Grayscale |
+-----------+
     |
     v
+-----------+
|   Blur    |
+-----------+
     |
     v
+-----------+
|  Resize   |
+-----------+
     |
     v
Output Image

已支援功能

Feature Command Description
Grayscale grayscale RGB 轉灰階
Blur blur Gaussian-like Blur
Resize resize 調整影像尺寸
Rotate rotate 旋轉影像
Crop crop 裁切影像

快速開始

安裝

Clone repository:

git clone https://github.com/kylin419/CVforge.git
cd CVforge

Build:

go build .

使用方式

GrayScale

cvforge grayscale input.jpg output.jpg

Resize

cvforge resize \
input.jpg \
output.jpg \
--w WIDTH \
--h  HEIGHT

Rotate

cvforge rotate \
input.jpg \
output.jpg \
--angle ANGLE

Crop

cvforge crop \
input.jpg \
output.jpg \
--x X \
--y Y \
--w W \
--h H

License

MIT License

Author

Kylin

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages