Giter Site home page Giter Site logo

itdev-gozaru / regioncapture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maximrouf/regioncapture

0.0 2.0 0.0 597 KB

Plug-in for Vuforia 5.X

Home Page: https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/region-capture-0

regioncapture's Introduction

Texture Region Capture (Ver. 1.6.1)

Plug-in for Vuforia 5.0.5

  • MakeScreen() fixed on Android.

How to setup:

1. Create a new layer โ„–20 "Region_Capture"
2. Drag Prefab into the scene
3. Set a references (to the game objects) in Prefab

How to use:

1. Get Texture from "Render_Texture_Camera" in PlayMode

2. Set custom Scale, Position, Rotation (with 90-degree increments) to modify region size (disable "Auto Region Size" checkbox);

3. If all works fine - switch off Layer "Region_Capture" in ARCamera > Camera > Culling Mask (or enable "Hide from ARCamera" checkbox);

4. Enable "Autofocus Camera" checkbox, if you want to use autofocus on Android devices.

5. Enable "Hide Android Toolbar" checkbox, to hide navigation toolbar in some devices without physical buttons.

6. Enable "Show Texture" checkbox, to draw RenderTexture in GUI.

7. Set value from 0 to 10 in "Reduce Noise" range to reduce color noise in capturing image.

8. Enable "Check Marker Position" checkbox, to get state (see console messages) if the marker is out of bounds.

Available methods:

Region_Capture.RecalculateRegionSize();     Call it - if the marker has changed.

RenderTextureCamera.RecalculateTextureSize();     Call it - if the marker or size of renderTexture has changed.

RenderTextureCamera.MakeScreen();     Call it - if you want to save RegionTexture to localStorage.

Best Regards, Maxim Ruf

regioncapture's People

Contributors

maximrouf avatar

Watchers

James Cloos avatar  avatar

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.