Coder Social home page Coder Social logo

structure-sdk-xamarin-binding's Introduction

Structure Wrapper

Structure Wrapper is a C# Xamarin Wrapper for Occipital's Structure Sensor SDK.

Disclaimer

This binding was developed for SDK 0.7.1 and is still very much a work in progress. I have been able to get a sample functioning (sans camera) but have not had the time to finish porting their sample scanner.

Getting Started

  1. Clone the repository
  2. Download the latest Structure SDK here
  3. Unzip the .zip file, and navigate to ../[unzipped_folder]/Structure SDK/Frameworks/Structure.framework/Versions/A/
  4. Rename Structure to Structure.a
  5. Copy Structure.a to the base directory of your cloned repo
  6. Open StructureWrapper.sln and build!

Things that aren't working

I haven't been able to get the key strings working yet. In the meantime, you can use the key name as a string by removing the 'k' from the front of the key name and the "Key" from the end of the key name (kSTDepthToRgbaStrategyKey becomes "STDepthToRgbaStrategy").

Here's an example from my test app:

var options = new NSDictionary(
    "STStreamConfig", (NSNumber)(int)STStreamConfig.STStreamConfigDepth320x240, 
    "STFrameSyncConfig", (NSNumber)(int)STFrameSyncConfig.STFrameSyncOff, 
    "STHoleFilterEnabled", NSObject.FromObject(true)
);

Contributing

Because this project is still very much a work in progress, I haven't been able to test the functionality of all methods and some may not function/function as expected/contain all methods/return the proper type. If you come across some unexpected functionality, please raise an issue or - better yet - tackle it yourself in a Pull Request.

structure-sdk-xamarin-binding's People

Contributors

charliefoxtwo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.