Log in or register to post comments

Picture Detection and UVs

January 10, 2014 - 7:27am #1


first of all congratulations for your plugin, it works incredibly fine.

I'd like to know if there's an easy way to do the following, with unity sdk : 

- detect a picture --> easy with plugin

- pop a 3D model according to the picture --> done easily too

- take a picture of a drawing (let's say on a table) and apply it as an UV Texture on the instantiated 3D model : the printed drawing is already matching the UV texture applied on the model, the puprose would be to detect color variation with the AR plugin and applied them on the model. It's for a drawing application, I'd like to take a picture from a camera and apply it on my model.

Is there a way to achieve this with your technology ? I know we can get camera pictures with your plugin, but I have doubts about precision, considering camera angle, picture borders, and everything that doesn't concern the picture (table, useless details, ...)


Thanks !

Picture Detection and UVs

January 10, 2014 - 7:57am #2

What you are describing is possible using Vuforia, but it will require some advanced techniques.

Here is an article describing how to de-warp the target image from within the camera image - https://developer.vuforia.com/resources/dev-guide/camera-target-patch

And this article demonstrates how you can access the pixels of the image and render them to a texture - https://developer.vuforia.com/resources/dev-guide/unity-camera-image-access

The approaches that you need to use will differ somewhat between SDK versions.

Log in or register to post comments