fix(api): enable BM
This commit is contained in:
parent
b9a8eea7be
commit
0061061130
|
@ -27,6 +27,8 @@ int main(int argc, char *argv[]) {
|
|||
auto &&request = api->SelectStreamRequest(&ok);
|
||||
if (!ok) return 1;
|
||||
api->ConfigStreamRequest(request);
|
||||
|
||||
api->SetDisparityComputingMethodType(DisparityComputingMethod::BM);
|
||||
|
||||
api->EnableStreamData(Stream::POINTS);
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ int main(int argc, char *argv[]) {
|
|||
api->ConfigStreamRequest(request);
|
||||
|
||||
api->SetOptionValue(Option::IR_CONTROL, 80);
|
||||
|
||||
api->SetDisparityComputingMethodType(DisparityComputingMethod::BM);
|
||||
api->EnableStreamData(Stream::DISPARITY_NORMALIZED);
|
||||
api->EnableStreamData(Stream::POINTS);
|
||||
api->EnableStreamData(Stream::DEPTH);
|
||||
|
|
Loading…
Reference in New Issue
Block a user