Skip to content

Detection of the instantaneous position of the object shown to the camera in the browser #8125

@harundogan01

Description

@harundogan01

Hi dear friends,

I'm trying to detect ID cards using Tensorflow.js' Coco-Ssd model on a web page developed with Vue.js. I put an svg image in the middle of the page as an ID card template. I want the ID card shown manually to the camera to be placed exactly on the svg image, and when the card is hovered over the svg image, I want the user to click on the button to take a photo of the ID card in base64 format and then scan the back of the card. What I want to ask you here is, how can I get the correct coordinate information of the card in the user's hand?

https://i.stack.imgur.com/VTOA3.png --> Screenshot for this subject

I'm trying to reach the closest estimate using bbox information, but these coordinates do not include the current location information of the card on the page. If I can access the correct coordinates, I will try to reach the correct result by comparing it with the coordinates of the svg image. Anyone have experience with this issue before?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions