Files
AnyImage/docs/internals/operators/index.md
nan f5aff50b13 Refactor and clean up codebase by removing unused functions and reorganizing imports
- Removed unused model keys and functions from properties.py.
- Deleted projection.py as its functions were no longer needed.
- Cleaned up model_catalog.py by removing unused model directory function.
- Updated imports in various test files to reflect new module structure.
- Removed deprecated test cases related to image editing tools.
- Added new tests for ONNX runtime provider selection logic.
2026-09-09 10:31:56 +08:00

1.0 KiB
Raw Blame History

Operator 实现索引

源码(相对 src/anyimage/) 功能
operators/ai_setup.py AI 环境管理
operators/clipboard_image/ 剪贴板图片
operators/convert_to_plane/ Plane 与 Depth Plane
operators/cutout_tool/ Cutout
operators/frame_tool.py Frame 多图合成
operators/mask_tool.py Mask Alpha 编辑
operators/rectify_tool.py Rectify 透视校正
operators/remove_background.py Remove Background
operators/upscale.py Upscale

单文件功能按业务命名;复杂功能包在 operators.py 定义 Operator、对应 WorkSpaceTool 和入口协调逻辑,其余模块承载具体实现。包的 __init__.py 汇总导出,类型在 operators/__init__.py 和扩展 __init__.py 汇总注册。AI Operator 使用普通字典提交任务,并在主线程响应中读取文件和修改 Blender 数据。