Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
357 views
in Technique[技术] by (71.8m points)

tensorflow - Custom Object Detection in Javascript or ML?

I am new to the Object Detection world. So don't mind my basic question.

I have an Identycard Image. That Image contains the portable IDCard and other information related to the Card Holder.

Currently, I just want to crop out the IDCard.

Before, I used to crop this programmatically as I never thought that the Position of IDCard could be changed.

The Image Looks like this:

enter image description here I want to crop out the IDCard area at the bottom.

As I stated earlier that the position, Width, and Height of IDCard are not fixed.

Now my main question is that Should I go for ML to make this work, Would it be overkill?

If it's not then what are the steps that I can follow to detect the IDCard at bottom starting from the cut from here part till bottom. I don't have any ML Knowledge right now.

If it's indeed a overkill than what could be the way to detect the card?

question from:https://stackoverflow.com/questions/66060711/custom-object-detection-in-javascript-or-ml

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

ML is an overkill here. If the position changes but the pixels that mark the line to cut stay the same, a search for these pixels is the way to go.

pixels


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...