Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
1aa71fc
chore(card-capture): add browser ONNX runtime dependency
BosuBose132 Jun 17, 2026
15a5348
feat(card-capture): add browser ONNX model loader
BosuBose132 Jun 18, 2026
0bca995
feat(card-capture): add YOLO frame preprocessing
BosuBose132 Jun 18, 2026
2b860af
feat(card-capture): add YOLO prediction post-processing
BosuBose132 Jun 19, 2026
1c336d0
feat(card-capture): run ID-card inference in the browser
BosuBose132 Jun 19, 2026
c984bd2
feat(card-capture): add stable live card detection
BosuBose132 Jun 19, 2026
0e8bf47
feat(card-capture): add model-assisted camera capture UI
BosuBose132 Jun 19, 2026
e252343
docs(card-capture): add live browser inference story
BosuBose132 Jun 19, 2026
093e6eb
fix(card-capture): make frame stability configurable and relax CardCa…
BosuBose132 Jun 19, 2026
6711c1e
test(card-capture): cover camera startup, capture flows, retake, perm…
BosuBose132 Jun 19, 2026
3ef0a50
build(card-capture): expose a tree-shakeable component entry and exte…
BosuBose132 Jun 19, 2026
203fd91
docs(card-capture): document the model contract, runtime assets, dete…
BosuBose132 Jun 20, 2026
0d4b834
chore(card-capture): include a versioned ONNX model for zero-setup St…
BosuBose132 Jun 20, 2026
0948304
fix(card-capture): make the camera and preview fit within the visible…
BosuBose132 Jun 20, 2026
74e77d7
fix(card-capture): address review feedback with lazy model loading, r…
BosuBose132 Jun 20, 2026
c20283d
chore: merge upstream main and resolve dependency conflicts
BosuBose132 Jun 20, 2026
b1c0f25
Potential fix for pull request finding
BosuBose132 Jun 20, 2026
a3358f0
fix(card-capture): address review feedback and dependency cleanup
BosuBose132 Jun 20, 2026
9571ea6
fix(card-capture): respect disabled detection state and avoid unneces…
BosuBose132 Jun 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ const config: StorybookConfig = {
typescript: {
reactDocgen: 'react-docgen-typescript',
},
staticDirs: ['./public', { from: '../node_modules/@kerebron/wasm/assets', to: '/kerebron-wasm' }],
staticDirs: ['./public', { from: '../node_modules/@kerebron/wasm/assets', to: '/kerebron-wasm' },{
from: '../node_modules/onnxruntime-web/dist',
to: '/ort-wasm',
},],
async viteFinal(config) {
const optimizeDepNames = [
...datavisDependencyNames,
Expand Down
Binary file added .storybook/public/models/id-card-detector-v1.onnx
Binary file not shown.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export default [
HTMLFormElement: 'readonly',
HTMLSelectElement: 'readonly',
HTMLAnchorElement: 'readonly',
CanvasRenderingContext2D: 'readonly',
CanvasImageSource: 'readonly',
SVGSVGElement: 'readonly',
Node: 'readonly',
// Events
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
"datavis-ace": "=4.0.0-PRE.2",
"js-yaml": ">=4.0.0",
"mermaid": ">=10.0.0",
"onnxruntime-web": ">=1.26.0",
"papaparse": ">=5.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
Expand All @@ -214,6 +215,9 @@
"@kerebron/wasm": {
"optional": true
},
"onnxruntime-web": {
"optional": true
},
"@mieweb/datavis": {
"optional": true
},
Expand Down Expand Up @@ -272,6 +276,7 @@
"@kerebron/editor": "0.7.9",
"@kerebron/editor-kits": "0.7.9",
"@kerebron/wasm": "0.7.9",
"@mieweb/datavis": "=0.0.0-PRE.4",
"@monaco-editor/react": "^4.7.0",
"@playwright/test": "^1.58.2",
"@storybook/addon-a11y": "^10.2.11",
Expand Down Expand Up @@ -309,7 +314,6 @@
"d3-selection": "^3.0.0",
"d3-shape": "^3.2.0",
"d3-zoom": "^3.0.0",
"@mieweb/datavis": "=0.0.0-PRE.4",
"eslint": "^9.39.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
Expand All @@ -318,6 +322,7 @@
"js-yaml": "^4.1.1",
"jsdom": "^26.1.0",
"mermaid": "^11.12.3",
"onnxruntime-web": "1.26.0",
"papaparse": "^5.5.3",
"postcss": "^8.5.10",
"prettier": "^3.8.1",
Expand Down
105 changes: 105 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading