This is our submission to the TanTechnova 2023.
The project supports video dehazing, live on the Raspberry Pi 400.
- Prototype is a blender file named
3D Prototype.blend, it can be imported in blender.
- The below is for Raspberry Pi implementation of full project.
- Make sure that the shell environment is in the directory with
main.py, anddehazer.pth
#startup.sh
$ cd /path/to/python/folder
$ python3 main.py -
To ensure the file opens at startup of desktop environment, place
to add in other folders/startup.desktopin/etc/xdg/autostart/. -
Add the location of
startup.shinTo add in other folders/startup.desktop.
Exec=/path/to/startup.sh- Make sure to set
startup.sh's permissions torwxr-xr-xso it can be executed.
chmod rwxr-xr-x /path/to/startup.sh-
startup.shis recommended to be placed in/path/to/python/file -
In
startup.sh, make sure to change the directory path.
#!/bin/sh
cd /path/to/python/folder
python3 main.py/Others/Wallpaper.pnghas been set as the background image of the desktop environnment.
See original repository for information on training.
- Train there, import the trained Model (
dehazer.pth) here. - This is because we don't focus on training, or the model. The pretrained one provided here is already good.