Resolved issues with the Lamp Matrix control being cropped and distorting, and not maintaining a fixed 5x5 layout. - **Fixed 5x5 Matrix:** Reverted `.matrix-grid` to `grid-template-columns: repeat(5, 70px)` to enforce a consistent 5x5 lamp layout. - **Prevented Warping:** Removed `width: 100%` from `.matrix-grid` to allow its width to be intrinsically determined by its content, preventing distortion. - **Ensured Adequate Space:** Set `.lamp-view` to `flex: 0 0 auto` with a `min-width: 480px` to guarantee sufficient space for the fixed matrix and controls without cropping. - **Responsive Control Panels:** Applied `max-width: 470px` to `.control-panel` and `.center-lamp-control` to align their size with the matrix grid while maintaining responsiveness in smaller viewports. - **Full Screen Utilization:** Ensured the overall application expands to fill the browser window by removing `max-width` from `.main-container`. |
||
|---|---|---|
| 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.