Skip to content

Commit f8f909c

Browse files
committed
chore: handle errors in lint after rebase
1 parent 58ba0a7 commit f8f909c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const VALID_CATEGORIES = [
99
'Models - Image Generation',
1010
'Models - LMM',
1111
'Models - Object Detection',
12+
'Models - Instance Segmentation',
1213
'Models - Semantic Segmentation',
1314
'Models - Speech To Text',
1415
'Models - Style Transfer',

apps/computer-vision/components/ImageWithMasks.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ export interface DisplayInstance {
3838
* Convert raw segmentation output into lightweight display instances.
3939
* Call this eagerly (in the forward callback) so raw Uint8Array masks
4040
* can be garbage-collected immediately.
41+
* @param rawInstances - Array of raw segmentation instances with mask buffers to convert.
42+
* @returns Array of lightweight {@link DisplayInstance} objects with pre-rendered Skia images.
4143
*/
4244
export function buildDisplayInstances(
4345
rawInstances: {

packages/react-native-executorch/src/constants/commonVision.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const IMAGENET1K_STD: Triple<number> = [0.229, 0.224, 0.225];
99
* This enum is **1-indexed** and contains **91 classes**, matching the original COCO
1010
* dataset category IDs. For **YOLO** models (object detection or instance segmentation),
1111
* use {@link CocoLabelYolo} instead — a 0-indexed, 80-class variant.
12-
*
1312
* @see {@link CocoLabelYolo} for the YOLO-specific variant
1413
* @category Types
1514
*/
@@ -116,7 +115,6 @@ export enum CocoLabel {
116115
*
117116
* Use this enum when working with YOLO models (e.g. `yolo26n-seg`).
118117
* For RF-DETR or SSDLite models, use {@link CocoLabel}.
119-
*
120118
* @see {@link CocoLabel} for the RF-DETR / SSDLite variant
121119
* @category Types
122120
*/

0 commit comments

Comments
 (0)