https://github.com/neonwatty/morphi_lab
https://github.com/neonwatty/morphi_lab
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/neonwatty/morphi_lab
- Owner: neonwatty
- Created: 2023-05-26T02:21:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-02T17:00:53.000Z (about 2 years ago)
- Last Synced: 2025-02-12T09:58:32.313Z (8 months ago)
- Language: Jupyter Notebook
- Size: 111 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Morphi Lab
Morphi Lab is a project that explores the integration of image segmentation, depth estimation, and image generation techniques to enhance the generation of 2.5D images.
## Project Structure
The Morphi Lab repository has the following structure:
morphi_lab/: Contains models and classes for performing segmentation, depth estimation, and image generation.
- models/: Contains various detection and segmentation models.
- segmenter.py: Main segmentation class module.
- depther.py: Main depth estimation class module.
- test_runs/: Contains wrapper code for testing Morphi Lab functionality on images, saved videos, and live videos.## Installation
This project utilizes [Python poetry](https://python-poetry.org/) for its installation process, following standard protocols.
To run detection and segmentation an appropriate [yolo8 model](https://docs.ultralytics.com/tasks/segment/) (e.g,. `yolov8n-seg`) must be installed in the `morphi_labs/models` directory.
## Functionality
Record video from laptop for testing
```python
python test_runs/test_av/record_live_video.py --output_path=${PWD}/test_data/test_input/test_video_segmented.avi
```Live cup segmentation
```python
python test_runs/test_segmenter/live_video.py
```