Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions addon_config.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# All variables and this file are optional, if they are not present the PG and the
# makefiles will try to parse the correct values from the file system.
#
# Variables that specify exclusions can use % as a wildcard to specify that anything in
# that position will match. A partial path can also be specified to, for example, exclude
# a whole folder from the parsed paths from the file system
#
# Variables can be specified using = or +=
# = will clear the contents of that variable both specified from the file or the ones parsed
# from the file system
# += will add the values to the previous ones in the file or the ones parsed from the file
# system
#
# The PG can be used to detect errors in this file, just create a new project with this addon
# and the PG will write to the console the kind of error and in which line it is

meta:
ADDON_NAME = ofxOpenNI
ADDON_DESCRIPTION = Wrapper for OpenNI, NITE and SensorKinect
ADDON_AUTHOR = Matthew Gingold, Wouter Verweirder
ADDON_TAGS = "computer vision" "3D sensing" "kinect"
ADDON_URL = https://github.com/gameoverhack/ofxOpenNI

common:
# dependencies with other addons, a list of them separated by spaces
# or use += in several lines
# ADDON_DEPENDENCIES =

# include search paths, this will be usually parsed from the file system
# but if the addon or addon libraries need special search paths they can be
# specified here separated by spaces or one per line using +=
# ADDON_INCLUDES =

# any special flag that should be passed to the compiler when using this
# addon
# ADDON_CFLAGS =

# any special flag that should be passed to the linker when using this
# addon, also used for system libraries with -lname
# ADDON_LDFLAGS =

# linux only, any library that should be included in the project using
# pkg-config
# ADDON_PKG_CONFIG_LIBRARIES =

# osx/iOS only, any framework that should be included in the project
# ADDON_FRAMEWORKS =

# source files, these will be usually parsed from the file system looking
# in the src folders in libs and the root of the addon. if your addon needs
# to include files in different places or a different set of files per platform
# they can be specified here
# ADDON_SOURCES =

# some addons need resources to be copied to the bin/data folder of the project
# specify here any files that need to be copied, you can use wildcards like * and ?
# ADDON_DATA =

# when parsing the file system looking for libraries exclude this for all or
# a specific platform
# ADDON_LIBS_EXCLUDE =

# when parsing the file system looking for sources exclude this for all or
# a specific platform
# ADDON_SOURCES_EXCLUDE =

# when parsing the file system looking for include paths exclude this for all or
# a specific platform
# ADDON_INCLUDES_EXCLUDE =

linux64:

linux:

win_cb:

vs:

linuxarmv6l:

linuxarmv7l:

android/armeabi:

android/armeabi-v7a:

osx:

ios:


Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions copy_contents_to_data_folder/openni/config/FeatureExtraction.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[FeatureExtractor]
AutoBodyParameters=1
AutoCalibrate=1

[LBS]
;Resolution=2
UseAutoCalibration=1
DatabaseFilename=Data/lbsdata.lbd
ParameterFilename=Data/lbsparam

[Generator]
Preference=Quality
;Preference=Speed

[Server]
;UseServer=1
186 changes: 186 additions & 0 deletions copy_contents_to_data_folder/openni/config/GlobalDefaultsKinect.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
[Core]
; 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default)
LogLevel=3
; leave empty for nothing (default). ALL - all masks
LogMasks=ALL
; 0 - No (default), 1 - Yes
;LogWriteToConsole=1
; 0 - No (default), 1 - Yes
LogWriteToFile=1
; 0 - No (default), 1 - Yes
;LogWriteLineInfo=0
; leave empty for nothing (default). ALL - all masks
;DumpMasks=

; Number of milliseconds between profiling logs. 0 - Off (default)
;ProfilingInterval=1000

;---------------- Server Default Configuration -------------------
[Server]
; Use a server to access sensor. 0 - No (single application), 1 - Yes (multiple applications, default)
;EnableMultiProcess=0

; The timeout in which a server goes down if no client is connected, in milliseconds
;ServerNoClientsTimeout=10000

; The number of shared memory buffers per stream (default is 6).
; This value affects the number of concurrent clients to the server: (NumberOfBuffers = clients + 3)
;NumberOfBuffers=6

;---------------- Sensor Default Configuration -------------------
[Device]
; Mirroring. 0 - Off (default), 1 - On
;Mirror=1

; FrameSync. 0 - Off (default), 1 - On
;FrameSync=1

; Stream Data Timestamps. 0 - milliseconds, 1 - microseconds (default)
;HighResTimestamps=1

; A filter for the firmware log. Default is determined by firmware.
;FirmwareLogFilter=0

; Automatic firmare log retrieval. 0 - Off (default), or the number of milliseconds between log retrievals operations.
;FirmwareLogInterval=1000

; Print firmware log to console when automatic firmware log retrieval is on. 0 - Off (default), 1 - On
;FirmwareLogPrint=1

; Automatic firmware CPU statistics retrieval. 0 - Off (default), or the number of milliseconds between CPU retrievals operations.
;FirmwareCPUInterval=1000

; Is APC enabled. 0 - Off, 1 - On (default)
;APCEnabled=1

; USB interface to be used. 0 - FW Default (default), 1 - ISO endpoints, 2 - BULK endpoints
;UsbInterface=2

[Depth]
; Output format. 0 - Shift values, 1 - 12-bit depth values (default)
;OutputFormat=1

; Is stream mirrored. 0 - Off, 1 - On
;Mirror=1

; 0 - QVGA (default), 1 - VGA
;Resolution=1

; Frames per second (default is 30)
;FPS=30

; Min depth cutoff. 0-10000 mm (default is 0)
;MinDepthValue=0

; Max depth cutoff. 0-10000 mm (default is 10000)
;MaxDepthValue=10000

; Input format. 0 - Uncompressed 16-bit, 1 - PS Compression, 3 - Packed 11-bit (default)
;InputFormat=1

; Registration. 0 - Off (default), 1 - On
;Registration=1

; Registration Type. 0 - Don't care (default), 1 - use hardware accelaration, 2 - perform in software
;RegistrationType=0

; Hole Filler. 0 - Off, 1 - On (default)
;HoleFilter=1

; White Balance. 0 - Off, 1 - On (default)
;WhiteBalancedEnabled=1

; Gain. 0-50 (0 - Auto, 1 - Min., 50 - Max.). Default value is set by firmware.
;Gain=0

; GMC Mode. 0 - Off, 1 - On (default)
;GMCMode=0

; GMC Debug. 0 - Off (default), 1 - On
;GMCDebug=1

; Depth Auto Gain Region-of-Interest. Default values are set by firmware.
;DepthAGCBin0MinDepth=500
;DepthAGCBin0MaxDepth=800
;DepthAGCBin1MinDepth=1500
;DepthAGCBin1MaxDepth=1800
;DepthAGCBin2MinDepth=2500
;DepthAGCBin2MaxDepth=2800
;DepthAGCBin3MinDepth=3500
;DepthAGCBin3MaxDepth=3800

; Wavelength Correction Mechanism. 0 - Off (default), 1 - On
;WavelengthCorrection=1

; Wavelength Correction debug info. 0 - Off (default), 1 - On
;WavelengthCorrectionDebug=1

; Cropping section
[Depth.Cropping]
;OffsetX=0
;OffsetY=0
;SizeX=320
;SizeY=240
;Enabled=1

[Image]
; Output format. 2 - Gray8 (2.0 MP only), 4 - YUV422, 5 - RGB24 (default)
;OutputFormat=5

; Is stream mirrored. 0 - Off, 1 - On
;Mirror=1

; 0 - QVGA (default), 1 - VGA, 2- SXGA (1.3MP) 3 - UXGA (2.0MP)
;Resolution=1

; Frames per second (default is 30)
;FPS=30

; Input format. 0 - BAYER (1.3MP or 2.0MP only), 1 - Compressed YUV422, 2 - Jpeg, 5 - Uncompressed YUV422 (default), 6 - Uncompressed 8-bit BAYER
;InputFormat=5

; Anti Flicker. 0 - Off (default), 50 - 50Hz, 60 - 60 Hz.
;Flicker=50

; Image quality when using Jpeg. 1-10 (1 - Lowest, 10 - Highest (default))
;Quality=10

; Cropping section
[Image.Cropping]
;OffsetX=0
;OffsetY=0
;SizeX=320
;SizeY=240
;Enabled=1

[IR]
; Output format. 3 - Grayscale 16-bit, 5 - RGB24 (default)
;OutputFormat=3

; Is stream mirrored. 0 - Off, 1 - On
;Mirror=1

; 0 - QVGA (default), 1 - VGA, 2 - SXGA(1.3MP)
;Resolution=1

; Frames per second (default is 30)
;FPS=30

; Cropping section
[SensorIR.Cropping]
;OffsetX=0
;OffsetY=0
;SizeX=320
;SizeY=240
;Enabled=1

[Audio]
; Sample Rate. 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 (default)
;SampleRate=48000

; Volume. 0-49 (0 - Mute, 1 - Min., 49 - Max.). Default is 12.
;LeftChannelVolume=12
;RightChannelVolume=12

; Number of channels. 1, 2 (default)
;NumOfChannels=2
3 changes: 3 additions & 0 deletions copy_contents_to_data_folder/openni/config/Nite.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[HandTrackerManager]
AllowMultipleHands=1
TrackAdditionalHands=1
31 changes: 31 additions & 0 deletions copy_contents_to_data_folder/openni/config/SamplesConfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<OpenNI>
<Licenses>
<!-- Add licenses here
<License vendor="vendor" key="key"/>
-->
</Licenses>
<Log writeToConsole="false" writeToFile="false">
<!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
<LogLevel value="3"/>
<Masks>
<Mask name="ALL" on="true"/>
</Masks>
<Dumps>
</Dumps>
</Log>
<ProductionNodes>
<Node type="Depth" name="Depth1">
<Configuration>
<Mirror on="true"/>
</Configuration>
</Node>
<Node type="Image" name="Image1" stopOnError="false">
<Configuration>
<Mirror on="true"/>
</Configuration>
</Node>
<!--
<Node type="Audio" name="Audio1"/>
-->
</ProductionNodes>
</OpenNI>
11 changes: 11 additions & 0 deletions copy_contents_to_data_folder/openni/config/SceneServer.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Timeouts]
;NoClientsExit=5000
;NoClientsTakeOver=100

[Counters]
;ConsequtiveErrors=1

[Log]
;On=0
;Level=3
;Mask=ALL
Binary file added copy_contents_to_data_folder/openni/config/h.dat
Binary file not shown.
3 changes: 3 additions & 0 deletions copy_contents_to_data_folder/openni/config/licenses.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Licenses>
<License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdY4=" />
</Licenses>
10 changes: 10 additions & 0 deletions copy_contents_to_data_folder/openni/config/modules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Modules>
<Module path="../../../data/openni/lib/libnimMockNodes.dylib" />
<Module path="../../../data/openni/lib/libnimCodecs.dylib" />
<Module path="../../../data/openni/lib/libnimRecorder.dylib" />
<Module path="../../../data/openni/lib/libXnVCNITE_1_5_2.dylib" configDir="../../../data/openni/config/" />
<Module path="../../../data/openni/lib/libXnVFeatures_1_5_2.dylib" configDir="../../../data/openni/config/" />
<Module path="../../../data/openni/lib/libXnVHandGenerator_1_5_2.dylib" configDir="../../../data/openni/config/" />
<Module path="../../../data/openni/lib/libXnDeviceSensorV2KM.dylib" configDir="../../../data/openni/config/" />
<Module path="../../../data/openni/lib/libXnDeviceFile.dylib" configDir="../../../data/openni/config/" />
</Modules>
31 changes: 31 additions & 0 deletions copy_contents_to_data_folder/openni/config/ofxopenni_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<OpenNI>
<Licenses>
<License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdY4="/>
</Licenses>
<Log writeToConsole="true" writeToFile="true">
<!-- 0 - Verbose, 1 - Info, 2 - Warning, 3 - Error (default) -->
<LogLevel value="3"/>
<Masks>
<Mask name="ALL" on="true"/>
</Masks>
<Dumps>
</Dumps>
</Log>
<ProductionNodes>
<!-- ofxImageGenerator -->
<Node type="Image" name="Image1">
<Configuration>
<MapOutputMode xRes="640" yRes="480" FPS="30"/>
<Mirror on="true"/>
</Configuration>
</Node>
<!-- ofxDepthGenerator -->
<Node type="Depth" name="Depth1">
<Configuration>
<MapOutputMode xRes="640" yRes="480" FPS="30"/>
<Mirror on="true"/>
</Configuration>
</Node>

</ProductionNodes>
</OpenNI>
Loading