rtmlib-ts 0.0.2 → 0.0.3

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.
Files changed (53) hide show
  1. package/package.json +4 -1
  2. package/.gitattributes +0 -1
  3. package/docs/ANIMAL_DETECTOR.md +0 -450
  4. package/docs/CUSTOM_DETECTOR.md +0 -568
  5. package/docs/OBJECT_DETECTOR.md +0 -373
  6. package/docs/POSE3D_DETECTOR.md +0 -458
  7. package/docs/POSE_DETECTOR.md +0 -442
  8. package/examples/README.md +0 -119
  9. package/examples/index.html +0 -746
  10. package/playground/README.md +0 -114
  11. package/playground/app/favicon.ico +0 -0
  12. package/playground/app/globals.css +0 -17
  13. package/playground/app/layout.tsx +0 -19
  14. package/playground/app/page.tsx +0 -1338
  15. package/playground/eslint.config.mjs +0 -18
  16. package/playground/next.config.ts +0 -34
  17. package/playground/package-lock.json +0 -6723
  18. package/playground/package.json +0 -27
  19. package/playground/postcss.config.mjs +0 -7
  20. package/playground/tsconfig.json +0 -34
  21. package/src/core/base.ts +0 -66
  22. package/src/core/file.ts +0 -141
  23. package/src/core/modelCache.ts +0 -189
  24. package/src/core/posePostprocessing.ts +0 -91
  25. package/src/core/postprocessing.ts +0 -93
  26. package/src/core/preprocessing.ts +0 -127
  27. package/src/index.ts +0 -69
  28. package/src/models/rtmpose.ts +0 -265
  29. package/src/models/rtmpose3d.ts +0 -289
  30. package/src/models/yolo12.ts +0 -220
  31. package/src/models/yolox.ts +0 -214
  32. package/src/solution/animalDetector.ts +0 -955
  33. package/src/solution/body.ts +0 -89
  34. package/src/solution/bodyWithFeet.ts +0 -89
  35. package/src/solution/customDetector.ts +0 -474
  36. package/src/solution/hand.ts +0 -52
  37. package/src/solution/index.ts +0 -10
  38. package/src/solution/objectDetector.ts +0 -816
  39. package/src/solution/pose3dDetector.ts +0 -890
  40. package/src/solution/poseDetector.ts +0 -892
  41. package/src/solution/poseTracker.ts +0 -172
  42. package/src/solution/wholebody.ts +0 -130
  43. package/src/solution/wholebody3d.ts +0 -125
  44. package/src/types/index.ts +0 -62
  45. package/src/visualization/draw.ts +0 -543
  46. package/src/visualization/skeleton/coco133.ts +0 -131
  47. package/src/visualization/skeleton/coco17.ts +0 -49
  48. package/src/visualization/skeleton/halpe26.ts +0 -71
  49. package/src/visualization/skeleton/hand21.ts +0 -52
  50. package/src/visualization/skeleton/index.ts +0 -10
  51. package/src/visualization/skeleton/openpose134.ts +0 -125
  52. package/src/visualization/skeleton/openpose18.ts +0 -48
  53. package/tsconfig.json +0 -32
@@ -1,18 +0,0 @@
1
- import { defineConfig, globalIgnores } from "eslint/config";
2
- import nextVitals from "eslint-config-next/core-web-vitals";
3
- import nextTs from "eslint-config-next/typescript";
4
-
5
- const eslintConfig = defineConfig([
6
- ...nextVitals,
7
- ...nextTs,
8
- // Override default ignores of eslint-config-next.
9
- globalIgnores([
10
- // Default ignores of eslint-config-next:
11
- ".next/**",
12
- "out/**",
13
- "build/**",
14
- "next-env.d.ts",
15
- ]),
16
- ]);
17
-
18
- export default eslintConfig;
@@ -1,34 +0,0 @@
1
- import type { NextConfig } from "next";
2
-
3
- const nextConfig: NextConfig = {
4
- cacheComponents: false,
5
- turbopack: {},
6
- async headers() {
7
- return [
8
- {
9
- source: '/:path*',
10
- headers: [
11
- {
12
- key: 'Cross-Origin-Opener-Policy',
13
- value: 'same-origin',
14
- },
15
- {
16
- key: 'Cross-Origin-Embedder-Policy',
17
- value: 'require-corp',
18
- },
19
- ],
20
- },
21
- ];
22
- },
23
- webpack: (config) => {
24
- config.experiments = { ...config.experiments, asyncWebAssembly: true };
25
- return config;
26
- },
27
- experimental: {
28
-
29
- }
30
-
31
-
32
- };
33
-
34
- export default nextConfig;