Some checks failed
Publish to npm / publish (push) Has been cancelled
- Remove all Chinese characters from src/, example/, ios/, patches/, tests/ - Add esbuild-based build obfuscation (minify + identifier mangle + no sourcemaps) - Drop src/ from npm publish, only ship minified dist/ - Remove source maps and declaration maps from build output - Add README icons and visual polish throughout - Fix broken Table of Contents anchor links in README Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
526 B
TypeScript
9 lines
526 B
TypeScript
import type { SegmentMaskResult } from './maskSegmentation';
|
|
/** Placeholder value for non-wall pixels in wallSubLabels */
|
|
export declare const WALL_SUB_LABEL_NONE = 255;
|
|
/**
|
|
* After semantic segmentation, subdivide the wall region into wall-1, wall-2… by source image texture features
|
|
*/
|
|
export declare function splitWallRegionsByTexture(result: SegmentMaskResult, originBgr: Uint8Array, cols: number, rows: number, minArea: number): SegmentMaskResult;
|
|
export declare function isWallSubRegionName(name: string): boolean;
|