D
D
Dmitry Demidenko2018-06-02 01:08:56
JavaScript
Dmitry Demidenko, 2018-06-02 01:08:56

Why is the function called many times?

I have an elementary task in front of me, but for some reason I can’t solve it, although everything seems pretty simple. And so, you need to:
1. start the user's camera
2. find the person 's face
3. stop tracking and start another function
4. This function, upon completion, should cause tracking to work again
5. The algorithm continues from points 2 to 4 as much as necessary until the user presses button (there is no button in the code) Here is how my startTracking() code works; https://jsfiddle.net/ubxpb2ye/1/
See the console what is happening there, you will understand me. Any help would be helpful to me

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Demidenko, 2018-06-03
@detriat

https://jsfiddle.net/ubxpb2ye/2/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question