@glodon-aiot/dataset-annotation 3.19.0 → 3.19.2-alpha.0

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.
@@ -10,9 +10,9 @@ var m = (p, e, g) => e in p ? j(p, e, { enumerable: !0, configurable: !0, writab
10
10
  b.call(e, g) && m(p, g, e[g]);
11
11
  return p;
12
12
  }, n = (p, e) => d(p, r(e));
13
- import { GB as a, MB as l } from "../../constant.mjs";
13
+ import { GB as a, MB as s } from "../../constant.mjs";
14
14
  const o = {
15
- maxImageSize: 14 * l,
15
+ maxImageSize: 14 * s,
16
16
  maxZipSize: 2 * a,
17
17
  imageMimeTypes: ["image/jpeg", "image/jpg", "image/png", "image/bmp"],
18
18
  imageAccept: "image/png, image/jpeg, image/jpg, image/bmp",
@@ -26,8 +26,8 @@ const o = {
26
26
  description: ["压缩包内图片格式要求为:图片类型为jpg/png/bmp/jpeg,单张图片不超过14M;"]
27
27
  }
28
28
  }
29
- }, s = {
30
- maxImageSize: 10 * l,
29
+ }, l = {
30
+ maxImageSize: 10 * s,
31
31
  // VLM 可能是 10M(可根据实际需求调整)
32
32
  maxZipSize: 2 * a,
33
33
  imageMimeTypes: ["image/jpeg", "image/jpg", "image/png"],
@@ -69,7 +69,17 @@ const o = {
69
69
  description: ["压缩包内图片格式要求为:图片类型为jpg/png/jpeg/bmp,单张图片不超过14M;"]
70
70
  }
71
71
  }
72
- }), u = n(i({}, s), {
72
+ }), u = n(i({}, l), {
73
+ showExampleImage: !1,
74
+ zipUploadTexts: {
75
+ labeled: {
76
+ description: ["压缩包内全部图片(png 、jpeg、jpg 格式,单张图不超过10M)对应一个jsonl;jsonl中图片路径为该图片相对于jsonl文件的相对路径"]
77
+ },
78
+ unlabeled: {
79
+ description: ["压缩包内图片格式要求为:图片类型为png/jpeg/jpg,单张图片不超过10M;"]
80
+ }
81
+ }
82
+ }), z = n(i({}, l), {
73
83
  maxZipSize: 1 * a,
74
84
  labelFormat: "dwg-json",
75
85
  zipUploadTexts: {
@@ -80,7 +90,7 @@ const o = {
80
90
  description: []
81
91
  }
82
92
  }
83
- }), F = (p, e) => p === "vlm" ? e === "dwg-json" ? u : s : p === "detection" ? f : p === "classification" ? x : o;
93
+ }), C = (p, e, g) => p === "vlm" ? e === "dwg-json" ? z : g === "VQA" ? u : l : p === "detection" ? f : p === "classification" ? x : o;
84
94
  export {
85
- F as getImportConfig
95
+ C as getImportConfig
86
96
  };