2

I've searched all over the place but could not find anything. I'm wondering if it is possible to find a specific image inside another image or video frame using tensorflow.js

Using OpenCV I can do it using feature detection but I'm wondering if something similar is possible using tensorflow.

enter image description here

Find the yellow card in the picture. But the card could also be a greeting card or a photo.

Thanks

Thor_Bux
  • 1,137
  • 12
  • 26
  • What do you mean one image inside another image? Is it "object detection"? – stormzhou May 30 '19 at 13:38
  • @stormzhou I’ve added an example image. I’m looking for the position of the yellow card in the picture. – Thor_Bux May 30 '19 at 22:13
  • It looks like it is indeed object detection task. Then yes, of course, it is possible. However, you need to to provide a lot of annotated images to train such a model. – stormzhou May 31 '19 at 14:00
  • @stormzhou could you point me to a tutorial or starting point, please. – Thor_Bux May 31 '19 at 23:01
  • A quick search gives me the following results: https://github.com/tensorflow/models/tree/master/research/object_detection https://medium.com/@WuStangDan/step-by-step-tensorflow-object-detection-api-tutorial-part-1-selecting-a-model-a02b6aabe39e – stormzhou Jun 02 '19 at 00:09
  • Yes, I found that. But how do I tell tensorflow that the object I'm looking for is the yellow card or a specific photo? I don't want it to detect people or kites? That is the part I'm struggling with. – Thor_Bux Jun 05 '19 at 00:59
  • As I mentioned before, you need to actually train a model to detect any specific object you want. And to do that, you need to manually label a lot of images to "teach" the model. – stormzhou Jun 05 '19 at 15:06
  • @stormzhou I might be completely off but the link you shared does use existing models. Where would I start to train my own model, as you mentioned? And how can I take care that the model works with tensorflowjs and preferably runs on a mobile browser? – Thor_Bux Jun 17 '19 at 09:08

0 Answers0