vladmandic / human

Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gaze Tracking, Gesture Recognition
https://vladmandic.github.io/human/demo/index.html
MIT License
2.16k stars 308 forks source link

the same photo,human.esm.js human.js both Inconsistent detection results #387

Closed catherchen closed 9 months ago

catherchen commented 9 months ago

i use the same photo when i use human.js in worker,every time the test results are different image but wheni use human.esm.js in main js thread,detection result is stable image

vladmandic commented 9 months ago

whats your input? (e.g. is it image, whats the resolution, etc.)

note that when working in main thread, input can be processed nearly-directly if data is available.

but when working in worker thread, input has to be copied to canvas and then transferred to worker thread as worker thread does not have direct access to input. so question is how are you transferring input to worker thread?

vladmandic commented 9 months ago

closing due to idle.