Update orbbec(uvc) tutorial

This commit is contained in:
kaingwade 2024-07-31 15:19:23 +08:00
parent ae4c67e3a0
commit ca2d17758f
3 changed files with 5 additions and 5 deletions

View File

@ -39,14 +39,14 @@ Code
@add_toggle_python @add_toggle_python
This tutorial code's is shown lines below. You can also download it from This tutorial code's is shown lines below. You can also download it from
[here](https://github.com/opencv/opencv/blob/5.x/samples/python/videocapture_obsensor.py) [here](https://github.com/opencv/opencv/blob/5.x/samples/python/tutorial_code/videoio/videocapture_obsensor.py)
@include samples/python/videocapture_obsensor.py @include samples/python/tutorial_code/videoio/videocapture_obsensor.py
@end_toggle @end_toggle
@add_toggle_cpp @add_toggle_cpp
This tutorial code's is shown lines below. You can also download it from This tutorial code's is shown lines below. You can also download it from
[here](https://github.com/opencv/opencv/blob/5.x/samples/cpp/videocapture_obsensor.cpp) [here](https://github.com/opencv/opencv/blob/5.x/samples/cpp/tutorial_code/videoio/uvc_orbbec/videocapture_obsensor.cpp)
@include samples/cpp/videocapture_obsensor.cpp @include samples/cpp/tutorial_code/videoio/uvc_orbbec/videocapture_obsensor.cpp
@end_toggle @end_toggle
### Code Explanation ### Code Explanation
@ -123,4 +123,4 @@ This tutorial code's is shown lines below. You can also download it from
![BGR And DEPTH And DepthToColor frame](images/orbbec_uvc_cpp.jpg) ![BGR And DEPTH And DepthToColor frame](images/orbbec_uvc_cpp.jpg)
### Note ### Note
Mac users need sudo privileges to execute the code. Mac users need `sudo` privileges to execute the code.