Replies: 12 comments 9 replies
-
re: 1 - i'd like to fix that, can you give me more information? |
Beta Was this translation helpful? Give feedback.
-
I like the idea of |
Beta Was this translation helpful? Give feedback.
-
regarding no, its not about default how it works is that my build process creates but...
tfjs team is working on porting it to typescript 4.4, one option is to use what im currently working on is fully custom build of
if youre interested, i just pushed first one: |
Beta Was this translation helpful? Give feedback.
-
I'll try to recreate, give me a day.
Ah, the magic of |
Beta Was this translation helpful? Give feedback.
-
regarding for default importive fixed all
its a totally irrelevant piece of code (and not at all used by for named importissue is like simply that import { Human } from '@vladmandic/human/dist/human.custom.esm'; easiest thing is to create declare module '@vladmandic/human/dist/human.custom.esm' {
export * from '@vladmandic/human/types/src/human';
} and reference it in "typeRoots": ["src/"] // whereever human.d.ts resides best thing, with custom build there are no tsc issues reported at all! ive created enhancement issue #200 to track this |
Beta Was this translation helpful? Give feedback.
-
i've added generic typings that reference all individual human modules, /// <reference path='./node_modules/@vladmandic/human/dist/human.d.ts' /> |
Beta Was this translation helpful? Give feedback.
-
Could you elaborate a little bit more on how to consume I have tried it without any tensorflow import and the detections seem to be running but I get this error spammed in the console:
Isn't it strange? 😕 |
Beta Was this translation helpful? Give feedback.
-
Hey, I am @Nekronik I will use this account interchangeably from now on. I will try to stick to this one. I implemented a smoothed solution like it is explained in wiki/Caching#smoothing. The jumpiness issue is still present even after the smoothing. It mitigates it a little bit but it keeps jumping nonetheless. Thanks for your time. |
Beta Was this translation helpful? Give feedback.
-
interpolation only works if number of results is identical - if number changes, then it assumes a major change in the frame has occurred and used latest results as-is without smoothing. so if face flickers in-and-out, smoothing will not help. but it should not flicker to start with.
correct
create a free account on any of the cloud storage services or file sharing sites and send me the link once uploaded. |
Beta Was this translation helpful? Give feedback.
-
got it. definitely something wrong. i just pushed an update on github, issue was that box scale factor for detected boxes vs calculated boxes is never the same and should not be treated as such. so when box re-detection got triggered, boxes were scaled incorrectly for the first frame. which made me notice that each different module should have its own crop scale factor to optimize per-module - i've done preliminary rescaling for face |
Beta Was this translation helpful? Give feedback.
-
its in 2.5.x only |
Beta Was this translation helpful? Give feedback.
-
yes, thats the main difference so far between 2.4 and 2.5, custom has become a default :) |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've recently updated the library to the latest version (2.3.5) from an old one (1.5.1) and I noticed a few things to discuss.
compilerOptions.skipLibCheck = true
to make it not fail for typing.skipLibCheck
on my project?skipFrames
.skipFrames
?skipFrames
, you mentioned that you set it to X considering the detections are running at a speed of Y, in other words, calculating it based on the desired time interval.skipFrames
, does it make sense to introduce askipTime
?human.draw.face
, if I provide thedrawLabels: false
option, it is still rendering the "Face: 100%, Real NaN%, Roll Yaw and Pitch".Real-of-Fake
model, is it ok thatReal: NaN%
is rendering?drawLabels
is false, no labels would be drawn, am I correct?cacheSensitivity
config property which says "values 0..1 where 0.01 means reset cache if input changed more than 1%", and I find it hard to understand.I can provide more information or open issues related to the topics I just described if you require.
Thank you very much for your time.
Beta Was this translation helpful? Give feedback.
All reactions