Log in or register to post comments

region of interest in camera input / crop camera input

May 5, 2017 - 5:25am #1

Hi,

 

I'm trying to enhance the detection results of vuforia on a windows tablet at a greater distance from the markers.

Therefore I tried to increase the resolution of the webcam profiles, which works as expected but obviously comes with a significant performance drop.

To use the same level of detail without losing so much performance I think it would be great to have the option to define vertical and horizontal borders on the captured imagestream.

As mentioned here: https://developer.vuforia.com/forum/android/crop-camera-image it is possible in c++ to pass a cropped image to the vuforia detector.

Is this also possible for the unity integration?

If not, is it possible to expose the tracker method that takes the camera image and handle the imagecapturing by myself?

Thanks!

region of interest in camera input / crop camera input

October 27, 2017 - 11:31am #6

Hello gualtierremalde,

This should be the updated link to the articles referenced by medabit https://library.vuforia.com/content/vuforia-library/en/articles/Solution/Working-with-the-Camera.html

Thanks,

-Vuforia Support

region of interest in camera input / crop camera input

October 27, 2017 - 5:06am #5

Hi medabit, I am quite interested in grabbing the frames as well, but the links you posted are dead. Any idea where to find the docs now?

region of interest in camera input / crop camera input

May 8, 2017 - 4:12pm #4

Hello,

At this time, Vuforia does not provide APIs to adjust the image that is submitted by the camera to the SDK. Here are some of the camera operations allowed:

https://library.vuforia.com/sites/default/api/unity/classVuforia_1_1CameraDevice.html#af6c196d8948b774c4d147cf9eab1a900

What is provided are APIs to grab copies of the camera frames at runtime:

https://library.vuforia.com/sites/default/api/unity/classVuforia_1_1CameraDevice.html#a85db04f8aa2ef1d12f2c2f06bded9c96

https://library.vuforia.com/articles/Solution/How-To-Access-the-Camera-Image-in-Unity

These can be manipulated/used by the app as you see fit.

This probably does not provide what you need, but I wanted to share with you anyways just in case.

Thanks.


region of interest in camera input / crop camera input

May 7, 2017 - 5:58am #3

You are right, apparently I misunderstood the post that I linked too!

My question remains though, even if the vuforia SDK takes charge of the video pipeline it should still be possible to supply some border parameters to the image retrieval as part of the webcam profiles...

Is there a technical reason why it cannot be implemented rather easily?

Thanks

region of interest in camera input / crop camera input

May 5, 2017 - 9:15am #2

Hello,

I believe you've misunderstood the post. It is not possible to modify the camera image before it is passed to Vuforia. The SDK takes control of the camera pipeline once the camera is initialized in the SDK, and the frames are passed directly to the detection/tracking algorithm.

Thanks.

Log in or register to post comments