https://github.com/deemp/avaday
https://github.com/deemp/avaday
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deemp/avaday
- Owner: deemp
- Created: 2021-09-06T13:14:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T18:40:52.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T22:41:18.318Z (over 1 year ago)
- Language: Python
- Size: 2.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Avaday
## Application for avatar generation
### (day -> дай == give)
## Linux installation
### Install _PyQt6_
```sh
$ sudo apt install PyQt6
```
### Install pyqtgraph
```sh
$ sudo apt install pyqtgraph
```
### Install PyOpenGL
```sh
$ pip install PyOpenGL
```
### Install OpenGL
```sh
$ sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
$ sudo apt-get update
```
### Change library a bit
We need to fix a bug with camera in GL file, so
go to *View/app.py*, `Ctrl+Left mouse click` on
```python
GLViewWidget
```
In the line
```python
widget = gl.GLViewWidget()
```
to navigate to `GLViewWidget.py`.
Find the function
```python
reset()
```
and change lines in it as follows.
```python
self.opts['fov'] = 60 ## horizontal field of view in degrees
self.opts['elevation'] = 90 ## camera's angle of elevation in degrees
self.opts['azimuth'] = 0 ## camera's azimuthal angle in degrees
```
## Running on Linux
```sh
$ python main.py
```