@camstack/types 1.1.50 → 1.1.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,6 +148,10 @@ export interface PoolModelConfig {
148
148
  readonly postprocessor: PostprocessorType;
149
149
  /** Confidence threshold for NMS / filtering */
150
150
  readonly confidence: number;
151
+ /** IoU threshold for the detector's non-max suppression (dedup). Read by the
152
+ * Python postprocessors (yolo / yolo-seg / scrfd); when absent they fall back
153
+ * to their 0.45 literal, so an unset value is byte-identical to today. */
154
+ readonly nmsIouThreshold?: number;
151
155
  /** Label names for softmax-based classifiers */
152
156
  readonly labels?: readonly string[];
153
157
  /** Character set for CTC-based recognizers */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.1.50",
3
+ "version": "1.1.52",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",
@@ -1,36 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const frameworkSwapPackageSchema: z.ZodObject<{
3
- name: z.ZodString;
4
- stagedPath: z.ZodString;
5
- backupPath: z.ZodString;
6
- toVersion: z.ZodString;
7
- fromVersion: z.ZodNullable<z.ZodString>;
8
- }, z.core.$strip>;
9
- export type FrameworkSwapPackage = z.infer<typeof frameworkSwapPackageSchema>;
10
- export declare const pendingFrameworkSwapSchema: z.ZodObject<{
11
- jobId: z.ZodString;
12
- taskId: z.ZodString;
13
- packages: z.ZodArray<z.ZodObject<{
14
- name: z.ZodString;
15
- stagedPath: z.ZodString;
16
- backupPath: z.ZodString;
17
- toVersion: z.ZodString;
18
- fromVersion: z.ZodNullable<z.ZodString>;
19
- }, z.core.$strip>>;
20
- requestedAtMs: z.ZodNumber;
21
- schemaVersion: z.ZodLiteral<1>;
22
- }, z.core.$strip>;
23
- export type PendingFrameworkSwap = z.infer<typeof pendingFrameworkSwapSchema>;
24
- export declare const frameworkSwapConfirmSchema: z.ZodObject<{
25
- jobId: z.ZodString;
26
- taskId: z.ZodString;
27
- backups: z.ZodArray<z.ZodObject<{
28
- name: z.ZodString;
29
- backupPath: z.ZodString;
30
- livePath: z.ZodString;
31
- }, z.core.$strip>>;
32
- appliedAtMs: z.ZodNumber;
33
- bootAttempts: z.ZodNumber;
34
- schemaVersion: z.ZodLiteral<1>;
35
- }, z.core.$strip>;
36
- export type FrameworkSwapConfirm = z.infer<typeof frameworkSwapConfirmSchema>;