This repository contains a machine learning-powered web service designed to detect keypoints on a bedsheet from the aligned Color and Depth images. The system is built with Python and uses the FastAPI framework for the web API.
python -m venv .bedsheet-endpoints
source .bedsheet-endpoints/bin/activate
pip install -r requirements.txt
cd src
nohup python -m uvicorn main:app --host ${HOST_FastAPI} --port 8000 --reload &
bedsheet-endpoints/
├── scripts/
│ └── app_client.py # client script here
| └── save_align-depth2color.py # script to save the aligned Color and Depth images
├── src/
│ └── app/ # Main application package
│ ├── __init__.py
│ ├── api/
│ │ └── endpoints.py # API routes and endpoints
│ ├── core/
│ │ └── config.py # Configuration and settings
│ ├── services/
│ │ └── keypoint_detector.py # Business logic for detection
| | └── realsense_capture.py # Captures the spatial alignment between a color and a depth frame from an Intel RealSense
│ ├── models/ # Model network
│ │ ├── utils.py
│ │ └── yolo_vit.py
│ ├── weights/ # Directory for model weight files
│ │ ├── keypoint_model_vit_depth.pth
│ │ └── yolo_finetuned/
│ │ ├── best.pt
│ │ └── yolov8l.pt
│ └── main.py # FastAPI app instantiation & startup
|
└── README.md # This file
check Jetpack version
apt show nvidia-jetpack
upgrade PIP to the latest available version
pip install --upgrade pip
3.10python -m pip install $PkgName to ensure install package in venvpython -m pip install torch==2.8.0 torchvision==0.23.0 --index-url https://pypi.jetson-ai-lab.io/jp6/cu126sudo apt install chromium-browser82 commits
Python
99.9%
This repository contains a machine learning-powered web service designed to detect keypoints on a bedsheet from the aligned Color and Depth images. The system is built with Python and uses the FastAPI framework for the web API.
python -m venv .bedsheet-endpoints
source .bedsheet-endpoints/bin/activate
pip install -r requirements.txt
cd src
nohup python -m uvicorn main:app --host ${HOST_FastAPI} --port 8000 --reload &
bedsheet-endpoints/
├── scripts/
│ └── app_client.py # client script here
| └── save_align-depth2color.py # script to save the aligned Color and Depth images
├── src/
│ └── app/ # Main application package
│ ├── __init__.py
│ ├── api/
│ │ └── endpoints.py # API routes and endpoints
│ ├── core/
│ │ └── config.py # Configuration and settings
│ ├── services/
│ │ └── keypoint_detector.py # Business logic for detection
| | └── realsense_capture.py # Captures the spatial alignment between a color and a depth frame from an Intel RealSense
│ ├── models/ # Model network
│ │ ├── utils.py
│ │ └── yolo_vit.py
│ ├── weights/ # Directory for model weight files
│ │ ├── keypoint_model_vit_depth.pth
│ │ └── yolo_finetuned/
│ │ ├── best.pt
│ │ └── yolov8l.pt
│ └── main.py # FastAPI app instantiation & startup
|
└── README.md # This file
check Jetpack version
apt show nvidia-jetpack
upgrade PIP to the latest available version
pip install --upgrade pip
3.10python -m pip install $PkgName to ensure install package in venvpython -m pip install torch==2.8.0 torchvision==0.23.0 --index-url https://pypi.jetson-ai-lab.io/jp6/cu126sudo apt install chromium-browser82 commits
Python
99.9%