You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2024. It is now read-only.
The Docker image used for running the camera module is significantly larger than the memory limits of our target hardware, the Jetson-TX2. It's essential to modify the production vision Docker to align with these hardware constraints.
Proposed Solutions for Docker Optimization
Remove Unnecessary Dependencies Problem: The current Docker image includes extra Python and OpenCV dependencies that may be contributing to its large size. Solution: Identify and remove any non-essential Python and OpenCV dependencies from the Docker image.
Removed unnecesary python and OpenCV dependencies.
In production we can remove the cuda installed by the ZED and and include the one in the host.
Use a docker volume for sharing the ros noetic dependencies between others containers.
Optimize CUDA Usage Problem: The Docker image includes a separate CUDA installation via ZED, which may be redundant. Solution: Remove the CUDA installation from the Docker image and leverage the CUDA version already installed on the host (Jetson-TX2). This should reduce the image size significantly.
Utilize Docker Volumes for ROS Noetic Dependencies Suggestion: Implement Docker volumes to share ROS Noetic dependencies across different containers. This approach can help reduce the size of each individual Docker image by avoiding duplicate dependencies.
Create a bash script for automatizating all this commands and create the Documentation probably in a wiki on how this problem got resolved.