SkillAgentSearch skills...

GraphCut

GraphCut分割实例

Install / Use

/learn @cm-jsw/GraphCut
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GraphCut

本项目参考了https://github.com/NathanZabriskie/GraphCut
GUI界面将在后续时间进行实现

运行环境

python3.6
所需库函数:numpy,opencv-python,PyMaxflow

代码运行步骤

1.python -i [输入文件名] -o [输出文件名]
2.使用鼠标进行前后背景标注
3.功能:
(1)‘esc’:退出;
(2)‘c’:清除所有标注;
(3)‘g’:进行图片分割;
(4)‘t’:前后背景标准的切换;
(5)‘s’:将分割后的图片保存到输出文件。

View on GitHub
GitHub Stars53
CategoryDevelopment
Updated3mo ago
Forks19

Languages

Python

Security Score

72/100

Audited on Dec 8, 2025

No findings