Giter Site home page Giter Site logo

pythononiextractor's Introduction

pythonOniExtractor

frame extractor for OpenNI2 .Oni

Version more easy to use, don't need command line, tested in Windows 10 but also works on ubuntu. OpenNI2 library are contained in the folder lib and comes from Orbbec (version 05/09/2023).

Frames are saved in img folder inside project folder.

Depth frames are saved in the original format (16bit grayscale not working) and in a more readable format, scaled to 8 bit and multiplied by a factor plus an offset (with also cast saturation). You can change this values in the code, they dependent by the max and min values of the depths.

Name of the saved images contain the frame ID, which in case of synchronization was enabled in the recording can be used to match color and depth frames.

Requirements:

Python 3 32bit (or above), with the following packages (you can install them using pip):

openni, numpy, opencv 3 (opencv-python) example: pip install opencv-python

OBS: if opencv doesn't works use "opencv-contrib-python" in command line to install instead.

How to Use

In this version you need just to run the code and put path where the files are. Example: C:\Users[YOURUSER]\pyOniExtractor\sample
output: C:\Users[YOURUSER]\pyOniExtractor\sample\output\1.png

Acknowledgements

This works is from rolopi-byte, i just update it add and update the libs need to run and make more easy to use

pythononiextractor's People

Contributors

lucasrbk avatar

Stargazers

 avatar

Watchers

 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.