1 | initial version |
I cannot comment on the augmented reality part, as this is entirely a different universe but your first aim should be
Detecting the paper (where the textures are draw on) is quite easy, given the fact that you have a static background that does not change. In that case you can use something to this example, where he detects the paper by using contours.
After you detect the paper, you can grabcut
it and get rid of the background.
Once you are left with only the paper, now you can get rid of the white part (paper background) and finally have only the textures. That of course, implies that your textures have no white color in them :) If they have white color as well, then this won't work.
2 | No.2 Revision |
I cannot comment on the augmented reality part, as this is entirely a different universe but your first aim should be
Detecting the paper (where the textures are draw on) is quite easy, given the fact that you have a static background that does not change. In that case you can use something to this example, where he detects the paper by using contours.
After you detect the paper, you can grabcut
it and get rid of the background. See this for more information.
Once you are left with only the paper, now you can get rid of the white part (paper background) and finally have only the textures. That of course, implies that your textures have no white color in them :) If they have white color as well, then this won't work.
3 | No.3 Revision |
I cannot comment on the augmented reality part, as this is entirely a different universe but your first aim should be
Detecting the paper (where the textures are draw drawn on) is quite easy, given the fact that you have a static background that does not change. In that case you can use something to this example, where he detects the paper by using contours.
After you detect the paper, you can grabcut
it and get rid of the background. See this for more information.
Once you are left with only the paper, now you can get rid of the white part (paper background) and finally have only the textures. That of course, implies that your textures have no white color in them :) If they have white color as well, then this won't work.