Change camera resolution [Persee]

I was able to show the camera feed of my Orbbec Persee on the TV, but the resolution seems a bit off.
I saw on the manufacturer site that the device have a 1280x720 RBG camera, so how can I change the resolution to that?

Here is my config:

{
“GestureRecognition”: {
“WavingEnabled”: true
},
“Skeletonization”: {
“MaxDistance”: 4000,
“AutoTracking”: true,
“Type”: “RegressionSkeletonization”,
“ActiveUsers”: 2,
“FeedbackThreshold”: 0.1
},
“DepthProviderAdapter”: {
“Library”: “”
},
“HandTracker”: {
“SkeletonSupport”: true,
“HandMode”: “grab3d”,
“CoordsMode”: “abs”,
“TrainedClassificator”: “handtracker/svm_grab.xml”,
“HandPointerFrame”: {
“DistanceBetweenFrames”: 150.0,
“Width”: 450.0,
“Height”: 200.0
}
},
“Segmentation”: {
“skipFrames”: 0,
“FloorMaxError”: 100,
“Type”: “experimental”,
“ZPS”: 575.816,
“median”: 0,
“minHumanTTL”: 0,
“Pixelization”: 0,
“FloorDetector”: “AdaptiveFloorDetector”,
“MOTION_THRESHOLD”: 1,
“Background”: {
“BackgroundMode”: “dynamic”
},
“MAX_DISTANCE”: 7000,
“TOFHacks”: false,
“ScaleFactor”: 1.0,
“MIN_CHECK_DISTANCE”: 500
},
“RGBMarkEstimator”: {
“MarkerWidth”: 105,
“MarkerHeight”: 62,
“Precision”: 0.5,
“DebugLevel”: 1
},
“CPU”: {
“MaxLoad”: 0.67
},
“AstraProPerseeDepthProvider”: {
“Windows”: {
“CameraID”: -1
},
“RGB”: {
“Width”: 1280,
“Height”: 720
},
“POSIX”: {
“PID”: “0x0501”,
“VID”: “0x2bc5”
}
},
“DepthProvider”: {
“RotateAngle”: “0”,
“RGB”: {
“Width”: 1280,
“Height”: 720
},
“Depth2ColorRegistration”: false,
“Mirror”: true
},
“Settings”: {
“Multiplexing”: true,
“MapResolutionX”: 720,
“ServerMAC”: “”,
“Autocalibration”: true,
“ServerName”: “”,
“hfov”: 1.02,
“DepthMapSmoothing”: false,
“AdvancedConnect”: true,
“LatencyEvents”: false,
“MapResolutionY”: 1280,
“Mode”: “WF”,
“AdvancedStreaming”: true,
“SkeletonSmoothing”: false,
“PredictionInterval”: 0,
“IPAddress”: “”
},
“Filter”: {
“DummyFilter”: {},
“Kinematic”: {
“SkeletonFile”: “skeleton.xml”,
“LimitsBone”: “skeleton_limits.xml”,
“CfgFile”: “kinematic_filter.xml”,
“Loader”: “XMLSkeletonLoader”
},
“CombinationFilter”: [
{
“DummyFilter”: {}
},
{
“Kinematic”: {
“SkeletonFile”: “skeleton.xml”,
“LimitsBone”: “skeleton_limits.xml”,
“CfgFile”: “kinematic_filter.xml”,
“Loader”: “XMLSkeletonLoader”
}
}
],
“AlphaBeta”: {
“Alpha”: 0.5,
“Beta”: 0.5
},
“Median”: {
“HistorySize”: 5
},
“FABRIK”: {
“SkeletonFile”: “FABRIKSkeleton.xml”
},
“ThreshHold”: {
“MaxDisplacement”: 10000,
“MinDisplacement”: 20
}
},
“DynamicModules”: {
“Path”: “…/middleware/”,
“Modules”: [
“NuitrackModule”
],
“WModules”: [
“NuitrackWirelessModule”
]
},
“Faces”: {
“ToUse”: false
},
“Realsense2Module”: {
“Depth”: {
“ProcessMaxDepth”: 5000,
“ProcessWidth”: 1280,
“ProcessHeight”: 720,
“Preset”: 5,
“PostProcessing”: {
“SpatialFilter”: {
“spatial_iter”: 0,
“spatial_alpha”: 0.5,
“spatial_delta”: 20
},
“DownsampleFactor”: 1
},
“LaserPower”: 1.0
},
“FileRecord”: “”,
“RGB”: {
“ProcessWidth”: 1280,
“ProcessHeight”: 720
}
},
“StaticModuleLoader”: [],
“OpenNIModule”: {
“FileRecord”: “”
},
“Orientation”: {
“GlobalUp”: {},
“TPose”: {}
},
“RegressionSkeletonization”: {
“Filter”: {
“CombinationFilter”: [
{
“ThreshHold”: {
“MaxDisplacement”: 200,
“SmoothCameraJointVelocity”: false,
“MinDisplacement”: 50
}
},
{
“FABRIK”: {
“PalmsAlignment”: true,
“SkeletonFile”: “FABRIKSkeleton.xml”
}
},
{
“Confidence”: {
“ConfidenceThreshold”: 0.5,
“CorrectHandsConfidence”: true
}
}
]
},
“PoseOptimization”: {
“OptimizationParams”: {
“RegressionClouds”: {
“EMOptimizer”: {
“Tolerance”: 0.005,
“Iterations”: 1
},
“Solver”: {
“max_num_iteration”: 20,
“function_tolerance”: 0.008,
“gradient_tolerance”: 1e-06,
“parameter_tolerance”: 0.0008
}
}
},
“Terms”: {
“DepthEnergyFunction”: {
“Enable”: false,
“Iterations”: {
“To”: 2,
“From”: 1
},
“Weight”: 1000
},
“IntersectionEnergyFunction”: {
“Enable”: false,
“Iterations”: {
“To”: 4,
“From”: 2
},
“Weight”: 5000
},
“WeightsEnergyFunction”: {
“Enable”: false,
“Iterations”: {
“To”: 4,
“From”: 0
},
“Weight”: 1.0
},
“FieldEnergyFunction”: {
“Enable”: false,
“Iterations”: {
“To”: 4,
“From”: 2
},
“Weight”: 1
},
“DepthConsistencyEnergyFunction”: {
“Enable”: false,
“Iterations”: {
“To”: 4,
“From”: 2
},
“Weight”: 5000
},
“EnergyFunction”: {
“Enable”: true,
“Iterations”: {
“To”: 1,
“From”: 0
},
“Weight”: 1.0
}
},
“SkeletonFile”: “poseoptimization/skeleton.xml”
},
“Regression”: {
“Stat”: “regStat/trees_stat”,
“Scale”: 0.5,
“MaxHeightScale”: 1.4,
“UseGPU”: false,
“MinHeightScale”: 0.85,
“Tree”: “regStat/trees.bin”,
“ClassesCount”: 32,
“Bodyparts”: “bodyparts.xml”,
“TreeNormCoef”: 4000,
“MeanHeight”: 1700,
“NormCoef”: 4000,
“PredictType”: “base”
},
“Orientation”: {
“Dummy”: {}
}
},
“LicenseFile”: “…/license.json”,
“DefaultModules”: {
“DepthProvider”: “DepthProviderManager”
}
}

The depth sensor is only 640x480 - so that is a fixed element that you cant change.

And given that you are posting a nuitrack config - not an orbbec sdk config

  • i suspect you may get more responses on the nuitrack forums.

But having said that - I seem to recall that when using Persee with Nuitrack that these were potentially limited further down the 320x240 or some such.

Westa

But depth sensors are for depth.
I want to change the resolution of the Color camera.
According to Orbbec site, Persee uses a 1280x720 color camera and I want to show that on my TV.

Currently I’m able to only display a, apparently, 640x480 video.

But you are right, I should check the Orbbec SDK to see if I can change that.

Thank you

But the nuitrack sdk is for depth tracking … Hence my comment :wink:

1 Like

@guilhermesouza

I am looking for the same answer. Did you find how to change the resolution of the color camera of Persee ?