Skip to content

Commit

Permalink
sdk: Calculate dimensions of a processed frame based on .ini
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Nechita <[email protected]>
  • Loading branch information
dNechita committed Sep 26, 2023
1 parent 6613496 commit a310fdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/src/cameras/itof-camera/camera_itof.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,8 @@ void CameraItof::configureSensorFrameType() {
std::string en = (it->second == "0") ? "1" : "0";
m_depthSensor->setControl("depthEnable", en);
m_depthSensor->setControl("abAveraging", en);
ModeInfo::getInstance()->setSensorPixelParam("partialDepthEnable",
value);
} else {
LOG(WARNING) << "partialDepthEnable was not found in .ini file";
}
Expand Down

0 comments on commit a310fdc

Please sign in to comment.