Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example docs and background width #173

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/source/_static/full_width_theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.wy-nav-content {
height: 100%;
max-width: 100% !important;
margin: auto;
}
3 changes: 2 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
html_static_path = ['_static']
html_css_files = ['table_theme.css']
2 changes: 2 additions & 0 deletions example/scene_reconstruction/example_scene_reconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def scene_reconstruction(dir_output, dir_input):
The directory where the output files, including point locations and calibration figures, will be saved.
dir_input : str
The directory containing the input files needed for scene reconstruction. This includes:

- 'camera.h5': HDF5 file containing camera parameters.
- 'known_point_locations.csv': CSV file with known point locations.
- 'aruco_marker_images/NAME.JPG': Directory containing images of Aruco markers.
Expand All @@ -29,6 +30,7 @@ def scene_reconstruction(dir_output, dir_input):
Notes
-----
This function performs the following steps:

1. Loads the camera parameters from an HDF5 file.
2. Loads known point locations, point pair distances, and alignment points from CSV files.
3. Initializes the SceneReconstruction object with the camera parameters and known point locations.
Expand Down