Comments (6)
import { Human, type DrawOptions, type Result } from "@vladmandic/human";
from human.
import { Human, type DrawOptions, type Result } from "@vladmandic/human";
emmmmm, No difference, still reporting the same error
from human.
![image](https://private-user-images.githubusercontent.com/37316281/315065820-30d18b1e-b749-4aa9-a840-b704c49e544f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc3Njg3NDEsIm5iZiI6MTcxNzc2ODQ0MSwicGF0aCI6Ii8zNzMxNjI4MS8zMTUwNjU4MjAtMzBkMThiMWUtYjc0OS00YWE5LWE4NDAtYjcwNGM0OWU1NDRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA3VDEzNTQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlMTZjNjhlNjMxYWU3ODY3MzFiMGZhYzBkNzE1ZGY3ODMyMjExOGQ5YzlkN2ZiZjU3M2U2Zjc1ZTU0ZjA5MDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.jrvZF7cWT3V0DicaLXqwTRvL5KcPwFvYKUnPoWqhGXE)
https://stackblitz.com/edit/vitejs-vite-qu9jrg?file=src%2Fmain.ts
Is this what you want?
from human.
https://stackblitz.com/edit/vitejs-vite-qu9jrg?file=src%2Fmain.ts
Is this what you want?
Yes, thank you for your reply, through your code I figured out the reason why I encountered the problem:
Another dependency was introduced in my project
import * as FACE_API from '@vladmandic/face-api'
When I removed it, it seemed to run normally,BUT....
The console will report a lot of warning messages. Do you have any clues about this?
thx again
from human.
you cannot mix multiple libs that use tfjs such as human and face-api at the same time - that is the cause of the first error
and if you're using a lib that includes tfjs such as human default version, then you cannot import tfjs once again - that is the cause of your last error.
from human.
you cannot mix multiple libs that use tfjs such as human and face-api at the same time - that is the cause of the first error and if you're using a lib that includes tfjs such as human default version, then you cannot import tfjs once again - that is the cause of your last error.
totally,you are right
from human.
Related Issues (20)
- Wrong detection issue HOT 5
- Can not import ESM bundle for browser with NextJS 14 HOT 4
- Face IDs shift when a face disappears HOT 1
- About the gaze tracking HOT 1
- Webpack unable to handle @mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html HOT 3
- Human inferencing stops after ~5 mins on Chrome on Windows HOT 2
- Face recognition is not working HOT 8
- Questions on using the face meshes to make masks HOT 1
- camera images sometimes out of focus - adding focusMode? HOT 3
- Facing “Reference Error: tJ is not defined” error when trying to precompile using "npm run build" command. HOT 2
- Is it possible to detect pinch gesture with one hand 2 fingers or two hands each with 2 fingers HOT 2
- Blaze resized image normalization HOT 1
- Identification Failures near Glass Windows and Glasses HOT 2
- Is there any way to tell whether to wear a mask? HOT 3
- Recognizing the wrong person HOT 1
- TypeError: Human is not a constructor HOT 3
- error loading model: @vladmandic/human-models/models/blazeface.json TypeError: Failed to parse URL from @vladmandic/human-models/models/blazeface.json HOT 1
- Head Pose Estimation HOT 4
- Accessing leftEye/rightEye/mouth/nose face landmarks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from human.