Skip to content

Commit

Permalink
Fix the issue of relative links not working in GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
hzcyf committed Sep 28, 2024
1 parent 17c111c commit 209d939
Show file tree
Hide file tree
Showing 24 changed files with 52 additions and 52 deletions.
14 changes: 7 additions & 7 deletions docs/build/building_orbbec_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ You can build Orbbec SDK by using the following commands:
- Linux: Use a terminal emulator to execute the build commands

```shell
cd OrbbecSDK-dev
mkdir build
cd OrbbecSDK-dev
mkdir build
cd build
cmake ..
cmake ..
cmake --build . --config Release
```

Expand All @@ -54,7 +54,7 @@ cd OrbbecSDK-dev/scripts/build
# `./build_linux_docker.sh aarch64` for arm64
```

> More information about how to use Docker, please refer to [README.md](/scripts/docker/README.md).
> More information about how to use Docker, please refer to [README.md](../../scripts/docker/README.md).
## Run the Sample

Expand All @@ -68,11 +68,11 @@ After you build the Orbbec SDK, you can find the executable file in the director

For windows,you need to register the metadata associated with frames (this includes things like timestamps and other information about the video frame).

- Metadata registration follow this:[/scripts/env_setup/obsensor_metadata_win10.md](/scripts/env_setup/obsensor_metadata_win10.md)
- Metadata registration follow this:[/scripts/env_setup/obsensor_metadata_win10.md](../..//scripts/env_setup/obsensor_metadata_win10.md)

#### Linux

Please install it using the following commands:[/scripts/env_setup/install_udev_rules.sh](/scripts/env_setup/install_udev_rules.sh)
Please install it using the following commands:[/scripts/env_setup/install_udev_rules.sh](../../scripts/env_setup/install_udev_rules.sh)

```shell
cd OrbbecSDK-dev/scripts/env_setup
Expand All @@ -94,4 +94,4 @@ cd bin
.\ob_XXX # .\ob_XXX.exe for windows
```

> More information about the samples of Orbbec SDK, please refer to [samples](/examples/README.md).
> More information about the examples of Orbbec SDK, please refer to [examples](../../examples/README.md).
12 changes: 6 additions & 6 deletions docs/developer/contributing_to_orbbec_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ If you would like to contribute to this source project, please follow these step
- This step is to ensure that make a copy of this project and place it in your own GitHub account.
- Repository is Github's way of raising usage items, and fork is its copy
- Make sure you are on the Orbbec SDK repository's [main page](https://github.com/orbbec/OrbbecSDK-dev).
![Click](/docs/resource/developer_fork.jpg)
![Fork](/docs/resource/developer_fork2.jpg)
![Click](../resource/developer_fork.jpg)
![Fork](../resource/developer_fork2.jpg)

- Now, you have a copy of the repository in your own GitHub account.
Please switch to the fork in your own account.

![switch](/docs/resource/developer_fork3.jpg)
![switch](../resource/developer_fork3.jpg)

**Step2:Clone the repository**
- You can use HTTPS or SSH to clone the repository.Copy the URL of the repository you want to clone.
![clone](/docs/resource/developer_clone.jpg)
![clone](../resource/developer_clone.jpg)

- Go back to your local folder and open git bash.

Expand Down Expand Up @@ -52,10 +52,10 @@ git checkout -b your_branch_name
**Step6:Submit a PR(Pull Request)**

- After successfully pushing the change file into your fork repository, back to you fork in Github, then you can submit the PR to the main repository.
![PR](/docs/resource/developer_PR.jpg)
![PR](../resource/developer_PR.jpg)

- After filling in the title and description, you can click `Create pull request`
![PR2](/docs/resource/developer_PR2.jpg)
![PR2](../resource/developer_PR2.jpg)

- Finally, you've done all the steps, and we will approve your PR after the reviewers have checked it.

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/installation_and_development_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This is a comprehensive guide on installing the SDK, setting up the development

For windows, you need to register the metadata associated with frames (this includes things like timestamps and other information about the video frame).

- Metadata registration follow this:[/scripts/env_setup/obsensor_metadata_win10.md](/scripts/env_setup/obsensor_metadata_win10.md)
- Metadata registration follow this:[/scripts/env_setup/obsensor_metadata_win10.md](../../scripts/env_setup/obsensor_metadata_win10.md)

#### 1.2.2 Linux

Expand Down Expand Up @@ -52,7 +52,7 @@ cd bin
./ob_color # ./ob_color for linux
```

> More information about the samples of Orbbec SDK, please refer to [samples](/examples/README.md).
> More information about the examples of Orbbec SDK, please refer to [examples](../../examples/README.md).
## 2. Develop a New Application with the SDK

Expand Down
4 changes: 2 additions & 2 deletions examples/0.basic.enumerate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Device is the device object, which can be used to obtain the device information,

```cpp
// Create a context.
ob::Context context;
ob::Context context;
```

2. Check if there is a camera connected
Expand Down Expand Up @@ -124,4 +124,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/enumerate.jpg)
![image](../../docs/resource/enumerate.jpg)
2 changes: 1 addition & 1 deletion examples/0.basic.quick_start/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/quick_start.jpg)
![image](../../docs/resource/quick_start.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.callback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ Press the Esc key in the window to exit the program.

### Result

![result](/docs/resource/callback.jpg)
![result](../../docs/resource/callback.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.color/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ Press the Esc key in the window to exit the program.

### Result

![result](/docs/resource/color.jpg)
![result](../../docs/resource/color.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.depth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/depth.jpg)
![image](../../docs/resource/depth.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.imu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/imu.jpg)
![image](../../docs/resource/imu.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.infrared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/infrared.jpg)
![image](../../docs/resource/infrared.jpg)
2 changes: 1 addition & 1 deletion examples/1.stream.multi_streams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/multistream.jpg)
![image](../../docs/resource/multistream.jpg)
4 changes: 2 additions & 2 deletions examples/2.device.control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ Press the Esc key in the window to exit the program.

### Result

![image](/docs/resource/control1.jpg)
![image](../../docs/resource/control1.jpg)

![image](/docs/resource/control2.jpg)
![image](../../docs/resource/control2.jpg)
2 changes: 1 addition & 1 deletion examples/2.device.hot_plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ Press the Esc key in the window to exit the program
### Result
![image](/docs/resource/hotplugin.jpg)
![image](../../docs/resource/hotplugin.jpg)
10 changes: 5 additions & 5 deletions examples/3.advanced.common_usages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@ Device is the device object, which can be used to obtain the device information,
//Laser switch function
void switchLaser()
//Laser safety protection and ranging function switch
void switchLDP()
void switchLDP()
//Get the laser safety protection and ranging function status
void getLDPStatus()
void getLDPStatus()
//Color auto-exposure switch
void switchColorAE()
//Color exposure value adjustment
void setColorExposureValue(bool increase)
//Color gain value adjustment
void setColorGainValue(bool increase)
//Depth auto-exposure switch
void setDepthExposureValue(bool increase)
void setDepthExposureValue(bool increase)
//Depth exposure value adjustment
void setDepthGainValue(bool increase)
‵‵‵
Expand All @@ -72,6 +72,6 @@ Press the button according to the interface prompts

### Result

![image](/docs/resource/common1.jpg)
![image](../../docs/resource/common1.jpg)

![image](/docs/resource/common2.jpg)
![image](../../docs/resource/common2.jpg)
12 changes: 6 additions & 6 deletions examples/3.advanced.coordinate_transform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ Frameset is a combination of different types of Frames
transformation3dto2d(colorFrame, depthFrame);
} else {
std::cout << "Invalid command" << std::endl;
}
}
```

## Run Sample

Press the Esc key to exit the program.
Press the 1 key - transformation 2d to 2d
Press the 2 key - transformation 2d to 3d
Press the 3 key - transformation 3d to 3d
Press the Esc key to exit the program.
Press the 1 key - transformation 2d to 2d
Press the 2 key - transformation 2d to 3d
Press the 3 key - transformation 3d to 3d
Press the 4 key - transformation 3d to 2d

### Result

![image](/docs/resource/coordinate_transform.jpg)
![image](../../docs/resource/coordinate_transform.jpg)
2 changes: 1 addition & 1 deletion examples/3.advanced.hdr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ Press the 'N' key in the window to Toggle alternate show origin frame.

### Result

![hdr](/docs/resource/hdr.jpg)
![hdr](../../docs/resource/hdr.jpg)
2 changes: 1 addition & 1 deletion examples/3.advanced.multi_devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ Press the '?' key in the window to show key map.
### Result
![multi_devices](/docs/resource/multi_devices.jpg)
![multi_devices](../../docs/resource/multi_devices.jpg)
4 changes: 2 additions & 2 deletions examples/3.advanced.point_cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ Pipeline is a pipeline for processing data streams, providing multi-channel stre

## Run Sample

Press R or r to create RGBD PointCloud and save to ply file!
Press R or r to create RGBD PointCloud and save to ply file!
Press D or d to create Depth PointCloud and save to ply file!

Press ESC to exit!

### Result

![image](/docs/resource/point_cloud.jpg)
![image](../../docs/resource/point_cloud.jpg)
2 changes: 1 addition & 1 deletion examples/3.advanced.post_processing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ Press the button according to the interface prompts

### Result

![image](/docs/resource/post_processing.jpg)
![image](../../docs/resource/post_processing.jpg)
2 changes: 1 addition & 1 deletion examples/3.advanced.preset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Press the button according to the interface prompts

### Result

![image](/docs/resource/preset.jpg)
![image](../../docs/resource/preset.jpg)
10 changes: 5 additions & 5 deletions examples/3.advanced.sync_align/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Press the Esc key in the window to exit the program.
### Result
Sync
![image](/docs/resource/sync.jpg)
D2C
![image](/docs/resource/d2c.jpg)
C2D
![image](/docs/resource/c2d.jpg)
![image](../../docs/resource/sync.jpg)
D2C
![image](../../docs/resource/d2c.jpg)
C2D
![image](../../docs/resource/c2d.jpg)
2 changes: 1 addition & 1 deletion examples/c_examples/0.c_quick_start/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ Press 'ESC' key to stop the pipeline and exit the program.

### Result

![Quick_Start_C](/docs/resource/quick_start_c.jpg)
![Quick_Start_C](../../../docs/resource/quick_start_c.jpg)
2 changes: 1 addition & 1 deletion examples/c_examples/1.c_enumerate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ If you are on linux, you can switch to the directory `OrbbecSDK-dev/build/linux_

### Result

![Enumerate_C](/docs/resource/enumerate.jpg)
![Enumerate_C](../../../docs/resource/enumerate.jpg)
2 changes: 1 addition & 1 deletion examples/c_examples/2.c_depth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Press 'ESC' key to stop the pipeline and exit the program.
### Result
![Quick_Start_C](/docs/resource/quick_start_c.jpg)
![Quick_Start_C](../../../docs/resource/quick_start_c.jpg)

0 comments on commit 209d939

Please sign in to comment.