GithubHelp home page GithubHelp logo

getcameraframe's Introduction

GetCameraFrame

DISCLAIMER: This API is reserved for Enterprise developers who sign up for our testing program. If you're interested in joining, reach out to [email protected]

Description

This demo acquires an anti-distorted frame from a VST camera, processes it into a texture, updates a UI element to display the texture, encodes the texture to a JPG, and sends the encoded image to Azure Vision API for further analysis.

Setup

  • Once you have a PICO Enterprise authorization (by reaching out to the address above), you must change the package name to the one you provided for the authorization procedure.
  • The package name is bunlded with the SN code of your authorized device. Running the apk with another package name, or on an different device, will result in the API not providing any camera data.
  • [OPTIONAL] You can also set up an Azure Computer Vision resource. You can then set your resource endpoint and API key in the code. API reference

Demo requirements

  • Unity 2022.3.f1
  • PICO XR SDK 2.5.0
  • OPTIONAL: An Azure subscription with a computer vision resource

Dependencies (UPM)

  • XR Interaction Toolkit 2.5.2 + Starter Assets
  • Android Logcat

Third party assets

About AcquireVSTCameraFrameAntiDistortion

Acquires RGB camera frame (the image after anti-distortion).

Parameters

Parameter Description
width Desired frame width, should not exceed 2328.
height Desired frame height, should not exceed 1748.
out frame Frame info.

API Reference: https://developer.picoxr.com/reference/unity/latest/PXR_Enterprise/#05920ad3

Demo

Camera_LowRes.mp4

getcameraframe's People

Contributors

jesusatgar avatar picoxr avatar

Stargazers

Danilo Gasques avatar Ke Jing avatar

Watchers

 avatar  avatar

Forkers

freesosaifared

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.