https://github.com/s4m-mo/3dview
A face-tracking 3D renderer that attempts to make things look 3D with the parallax effect. Virtual Reality without the headset.
https://github.com/s4m-mo/3dview
computer-vision extended-reality mediapipe opencv
Last synced: about 2 months ago
JSON representation
A face-tracking 3D renderer that attempts to make things look 3D with the parallax effect. Virtual Reality without the headset.
- Host: GitHub
- URL: https://github.com/s4m-mo/3dview
- Owner: s4m-mo
- Created: 2023-06-07T13:30:05.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T19:56:51.000Z (almost 2 years ago)
- Last Synced: 2025-05-18T11:11:23.104Z (about 1 year ago)
- Topics: computer-vision, extended-reality, mediapipe, opencv
- Language: Python
- Homepage:
- Size: 1.73 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D-View
This repository contains code for a face-tracking engine that makes the contents of the game engine appear 3D, based off of the position of your eyes. **This is all relative to the webcam, so your camera should be directly below or above your screen.** I.e. the object rendered in the scene appears vaguely 3D. However, this is limited by the FOV of your webcam.
> The parallax effect has only been tested on a Laptop with the webcam at the bottom of the screen, so it works well on laptop but is unknown with an external webcam.
## Install
Clone the whole repository, including the `models` folder and its contents.
Install the dependencies in the terminal.
```shell
pip install -r requirements.txt
```
Run the `main.py` file from the root of the project.
```shell
python main.py
```
## Features
### UI
- Adjust parameters in the UI. Toggle with the blue button.
- Choose custom files. Accepts `.bam`, `.ursinamesh`, `.obj`, `.glb`, `.gltf` and `.blend` files.
### In Development
- Apple-Vision-Pro-style hand-gestures for moving and turning the object.