Log in or register to post comments

Camera Device not found

April 30, 2018 - 4:45am #1

In Unity -> ARCamera -> Open Vuforia Configuration -> Camera Device -> Empty

I have tried two different web cams:

  • Microsoft LifeCam
  • Logitech Brio Stream

Both camera work on Windows (Drivers and Tools installed) but they are not recognized by Unity.

Device Manager looks as follows

Device Manager

(Image Link: https://ibb.co/k7LHMx)

If I uninstall the device and reinstall it with the driver: Browse my computer -> Lemme pick -> USB Video Device

The camera will be recognized as follows

Device Manager after manual driver installation

(Image Link: https://ibb.co/njQpZH)

Now the camera is detected by Unity and I can set it.

But, the image quality is now really bad. (No HD, even if it is an HD camera)

In addition, it doesn't focus or change the contracst. In other words, I can't use the camera with this default driver.

So, is there any workaround or am I missing something?

If those cameras are not supported, which cameras are?

Thanks in advance

AttachmentSize
Image icon asdf.png29.24 KB
Image icon asdf2.png7.2 KB

Camera Device not found

August 6, 2018 - 6:31am #4

i agree that this camera doesnt work very well (lifeCam).

something is not right.

 

it works only if i do not select a camera device from the list, but once i do, it stops working.

Camera Device not found

April 30, 2018 - 7:08am #3

It is located at: C:\Program Files\Unity\Editor\Data\PlaybackEngines\VuforiaSupport\VuforiaResources

I did change the file to following:

<?xml version="1.0"?>

<profiles>

<!-- this profile will be used if no specific profile could be found -->

    <default>

        <windows>

            <!-- size of the web cam texture requested from Unity -->

            <requestedTextureWidth>640</requestedTextureWidth>

            <requestedTextureHeight>480</requestedTextureHeight>

            <!-- size of the texture Unity's web cam texture will be rescaled to -->

            <resampledTextureWidth>640</resampledTextureWidth>

            <!-- <resampledTextureHeight>480</resampledTextureHeight> -->

        </windows>

        <osx>

            <!-- size of the web cam texture requested from Unity -->

            <requestedTextureWidth>640</requestedTextureWidth>

            <requestedTextureHeight>480</requestedTextureHeight>

            <!-- size of the texture Unity's web cam texture will be rescaled to -->

            <resampledTextureWidth>640</resampledTextureWidth>

            <!-- <resampledTextureHeight>480</resampledTextureHeight> -->

        </osx>

    </default>

<!-- these are examples of configured web cam profiles. -->

<!-- please enter the name of your camera as shown in the popup dialog. -->

<!-- Unity does not guarantee to deliver a webcam texture in the requested size,

  therefore it may need to be resampled to the required size.

  If no resampledTextureHeight is specified, the aspect ratio will be kept when resampling is done.

  Specifying a resampledTextureHeight will enforce a certain aspect ratio, even if it's different from the

  created web cam texture. This can be used to fixe cases where the webcam textue is distorted.

  Please note that in Unity 4.5 on Mac, different web cam models that deliver different aspect ratios

  identify themselves with the same name (e.g. Logitech C910 and C920 are both just 'Logitech Camera') -->

    <webcam deviceName="Microsoft LifeCam Studio">

        <windows>

            <!-- size of the web cam texture requested from Unity -->

            <requestedTextureWidth>1280</requestedTextureWidth>

            <requestedTextureHeight>720</requestedTextureHeight>

            <!-- size of the texture Unity's web cam texture will be rescaled to -->

            <resampledTextureWidth>720</resampledTextureWidth>

        </windows>

        <osx>

            <!-- size of the web cam texture requested from Unity -->

            <requestedTextureWidth>640</requestedTextureWidth>

            <requestedTextureHeight>480</requestedTextureHeight>

            <!-- size of the texture Unity's web cam texture will be rescaled to -->

            <resampledTextureWidth>640</resampledTextureWidth>

        </osx>

    </webcam>

</profiles>

 

But still camera to select. I did create file mentioned in the editor (same content as above) into the file ../Assets/Editor/QCAR/WebcamProfiles/profiles.xml

Camera Device not found

April 30, 2018 - 5:47am #2

Try editing the webcamprofiles.xml.  It's located with your Unity installation.  Not sure exact path on Windows you'll have to hunt around for it.

Log in or register to post comments