Skip to content
Snippets Groups Projects
Commit 532b73ad authored by Gonzalo Belcredi's avatar Gonzalo Belcredi
Browse files

Actualizar README.md

parent b22bbee7
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,28 @@ ...@@ -2,14 +2,28 @@
### iie-fing-udelar ### iie-fing-udelar
### LABORATORIO INTEGRADOR ### LABORATORIO INTEGRADOR
Dependencias Python:
- Python 3
- Pillow (Python Imaging Library)
- Numpy
En linux, Pillow se puede instalar mediante pip:
pip install Pillow
## Docker
El contenedor Docker nos da un entorno Ubuntu 22.04 con GnuRadio 3.8 y los drivers instalados de RTL-SDR, PLUTO-SDR y NUAND BLADE-RF.
### Build
En el directorio raíz hacer:
```
sudo sh build.sh
```
### Correr imagen docker
```
sudo sh run.sh
```
Una vez dentro del docker se puede ejecutar gnuradio haciendo:
```
gnuradio-companion
```
Los archivos dentro de la carpeta /home/gnuradio/persistent no se borran al cerrar el Docker.
#### image2bit #### image2bit
...@@ -17,11 +31,14 @@ Convierte la imagen que se encuentra en images/image.png, a una secuencia de byt ...@@ -17,11 +31,14 @@ Convierte la imagen que se encuentra en images/image.png, a una secuencia de byt
El archivo image_bin.dat generado se encuentra en la carpeta dat/. El archivo image_bin.dat generado se encuentra en la carpeta dat/.
En terminal hacer: En terminal hacer:
python image2bit.py ```
python3 image2bit.py
```
#### bit2image #### bit2image
Convierte un .dat en una o varias imágenes y calculas el PSNR. Convierte un .dat en una o varias imágenes y calcula el BER y el PSNR.
En terminal hacer: En terminal hacer:
python bit2image.py ```
python3 bit2image.py
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment