I create educational websites. and a system where when I register I save a picture of the registrant’s face. Then, when you want to do a system problem, you have to make sure that the person is actually doing it. However, on the verification page there is an error
Box.ts:35 Uncaught (in promise)
Error: Box.constructor – expected box to be IBoundingBox | IRect, instead have {“x”:null,”y”:null,”width”:null,”height”:null}`
this is my full code
and this is my directory
enter image description here“
i tried to debug it many times, i tried to resize canvas or video. but it still cant