Addressed the persistent "tiny bit" of viewport overflow reported by the user. - **Removed `h1` margins:** Set `margin: 0;` on the `h1` element to prevent its margins from contributing to unexpected layout shifts. - **Centralized vertical spacing on `body`:** Managed overall top/bottom spacing with `padding-top: 20px; padding-bottom: 20px;` on the `body`. - **Introduced flex `gap` for vertical separation:** Used `gap: 20px;` on the `body` (as a flex container) to precisely control the spacing between the `h1` and `.main-container`. - **Ensured correct box-sizing for `body`:** Explicitly set `box-sizing: border-box;` on `body` to include its padding within the `100vh` height calculation, guaranteeing exact fit. These adjustments collectively ensure the entire interface fits perfectly within the `100vh` viewport without any overflow. |
||
|---|---|---|
| src | ||
| tests | ||
| .gitignore | ||
| README.md | ||
| requirements.txt | ||
| run_tests.sh | ||
| run.ps1 | ||
| run.sh | ||
Pupilometer
Introduction
This repository houses programs and documents related to Pupilometer project by Vietnam Academy of Science and Technology. The project aims to introduce a benchmark and researches into the interaction between light intensity and temperature to the eye strain disorder.
Dependencies
Python Dependencies
The Python dependencies are listed in the requirements.txt file. You can install them using pip:
pip install -r requirements.txt
NVIDIA DeepStream
For running the pupil segmentation on a Jetson Orin AGX or a Windows machine with an NVIDIA GPU, this project uses NVIDIA DeepStream. DeepStream is a complex dependency and cannot be installed via pip.
Please follow the official NVIDIA documentation to install DeepStream for your platform:
- Jetson: DeepStream for Jetson
- Windows: DeepStream for Windows
You will also need to install GStreamer and the Python bindings (PyGObject). These are usually installed as part of the DeepStream installation.
Additionally, the pyds library, which provides Python bindings for DeepStream metadata structures, is required. This library is also included with the DeepStream SDK and may need to be installed manually.