By rtr989
on Mon, 06/10/2019 - 14:06
Unity 2019.1.5f1 with Vuforia
Trying To Access the Camera Image in Unity using
CameraDevice.Instance.SetFrameFormat(Image.PIXEL_FORMAT.RGB888, true);
but have error "error CS0426: The type name 'PIXEL_FORMAT' does not exist in the type 'Image'"
i try Vuforia.Image.PIXEL_FORMAT mPixelFormat = Vuforia.Image.PIXEL_FORMAT.RGB888;
but have same error.
what i am doing wrong?
Hello,
Hello,
Here's an article that may help: https://library.vuforia.com/articles/Solution/Working-with-the-Camera#How-To-Obtain-HD-Camera-Frames
Thanks,
Vuforia Engine Support
HELLO, i HAVE THE SAME
HELLO, i HAVE THE SAME PROBLEM.
Instead of Image.PIXEL_FORMAT
Instead of Image.PIXEL_FORMAT, delete Image or something like this: PIXEL_FORMAT
using UnityEngine;
using System.Collections;
using Vuforia;
public class CameraImageAccess : MonoBehaviour
{
I encoutered the same and it
I encoutered the same problem after upgrading a Vuforia.project and it's easy to fix. Image.PIXEL_FORMAT moved now to Vuforia.PIXEL_FORMAT. Just remove the Image and it will be fine (s.b.)