@eyepop.ai/eyepop-render-2d 3.14.1 → 3.14.4
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.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ const example_image_path = 'examples/example.jpg'
|
|
|
48
48
|
|
|
49
49
|
const endpoint = await EyePop.endpoint().connect()
|
|
50
50
|
try {
|
|
51
|
-
let results = await endpoint.process({ path: example_image_path })
|
|
51
|
+
let results = await endpoint.process({ source: { path: example_image_path } })
|
|
52
52
|
for await (let result of results) {
|
|
53
53
|
renderer.draw(result)
|
|
54
54
|
}
|
|
@@ -97,7 +97,7 @@ const example_image_path = 'examples/example.jpg'
|
|
|
97
97
|
model: 'eyepop.person:latest',
|
|
98
98
|
categoryName: 'person'
|
|
99
99
|
}]})
|
|
100
|
-
await endpoint.process({file: fileChooser.files[0]}).then(async (results) => {
|
|
100
|
+
await endpoint.process({ source: {file: fileChooser.files[0]} }).then(async (results) => {
|
|
101
101
|
for await (let result of results) {
|
|
102
102
|
renderer.draw(result);
|
|
103
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eyepop.ai/eyepop-render-2d",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.4",
|
|
4
4
|
"description": "The Node.js / Typescript library for 2d rendering of EyePop.ai's inference API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"AI",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dev": "tsup && webpack; npx chokidar '**/*.ts' -i 'dist' -c 'npx tsup && webpack'"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@eyepop.ai/eyepop": "3.14.
|
|
34
|
+
"@eyepop.ai/eyepop": "3.14.4",
|
|
35
35
|
"@juggle/resize-observer": "^3.4.0",
|
|
36
36
|
"@types/jsonpath": "^0.2.4",
|
|
37
37
|
"canvas": "3.2.0",
|