react-native-mask-segment-c.../docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/notes.md
a1518 bea6de3767 Add Docusaurus documentation site with i18n support
- Docusaurus 3.7.0 with both English and Chinese (zh-CN) locales
- Full API reference split into structured pages
- Homepage with hero, feature cards, and quick start section
- GitHub Actions workflow for auto-deployment to GitHub Pages

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 23:25:56 -07:00

12 lines
588 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: notes
title: 注意事项
---
# 📝 注意事项
- 遮罩图像应为与原始图像同尺寸的语义色块图(黑色背景 + 纯色区域)。`max(B,G,R) < blackThreshold`默认 30的像素将被排除在分割之外
- OpenCV 分割在 JS 线程上运行非常大的图像可能导致掉帧使用 `pipelineConfig.maxImageLongSide` 限制处理分辨率
- iOS 相册访问需要照片权限仅在启用 `showDebugPickers` 时需要)。
- `semanticColors` 必须与后端/标注遮罩中使用的语义颜色匹配不匹配会导致识别偏差