https://github.com/stylesuxx/dji-hd-fpv-helpers
Helper scripts for the DJI HD FPV system - to be run on the host
https://github.com/stylesuxx/dji-hd-fpv-helpers
Last synced: about 2 months ago
JSON representation
Helper scripts for the DJI HD FPV system - to be run on the host
- Host: GitHub
- URL: https://github.com/stylesuxx/dji-hd-fpv-helpers
- Owner: stylesuxx
- Created: 2022-04-18T18:23:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T18:23:41.000Z (about 3 years ago)
- Last Synced: 2025-02-07T13:23:35.781Z (4 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DJI HD FPV Helper Scripts
This repository is dedicated to helper scripts used on the host machine to help with different tasks like image conversion.## Installation
Clone the repository and use [pipenv](https://pipenv.pypa.io/en/latest/) to install the dependencies:```
pipenv shell
pipenv install
```## Features
### Convert images to Screensaver images
On the DJI goggles there are two images used as screensaver images:* `/system/gui/screen01.data`
* `/system/gui/screen02.data`Those can be swapped with custom images, given that the correct format is provided. `screen_convert.py` will convert any image with the correct size (**1440x810**) into a raw image that can be displayed by the goggles:
```
python screen_convert.py source.png screen01_new.data
```> A correctly converted image should alway have the size of **4665600** bytes.
This converted image can then be pushed to the goggles via adb:
```
adb push screen01_new.data /system/gui/screen01.data
# or to replace the second image:
adb push screen01_new.data /system/gui/screen02.data
```> For some reason pushing this file might result in the file not being completely written, in this case try to transmit again or push the file to a different place and simply use `mv` on the goggles to move it into the correct place.