..explained in three simple steps:
To have more explanations about the code follow the project udemy course: |
https://www.udemy.com/course/practical-deep-learning-geolocalizzazione-indoor |
From the project directory..
if you use AndroidStudio open project folder "FenceIndoorApp"
..otherwise use following command:
cd FenceIndoorApp
./gradlew build
for generate apk still use gradle wrapper:
cd FenceIndoorApp
./gradlew assemble
made apk to the path:
./FenceIndoorApp/app/build/outputs/apk/app-release-unsigned.apk
rename it and transfer it into your mobile device
..if you want, you can download the apk directly here
grant wifi scans permissions on android: | ||
Android 7 | Android 8 | Android 8.1 |
- mongodb
- python3 and pip
pip install flask
pip install waitress
pip install pymongo
pip install numpy
pip install sklearn
pip install petl
pip install h5py
pip install tensorflow
pip install tensorboard
pip install keras
sudo mongod
cd FenceIndoorServer
python main.py
You can go to the browser and open the url
http://localhost:8090/init
to reset and initialize the database (calling this command remove the datas)
run command (into the project path)
tensorboard --logdir ./FenceIndoorServer/logs
You can go to the browser and open the url
http://localhost:6006/
- docker (1.6.0 or above)
- docker-compose (1.3.1+)
- python 3.0 or above
into the config.yml file, set property:
#docker configuration
docker:True
start docker and execute following commands from the project directory:
docker-compose build
docker-compose up
You can go to the browser and open the url
http://localhost:8090/ping
to see the "it works" message into browser
start docker image from dockerhub image called maxdam/fenceindoor
- docker (1.6.0 or above)
start docker and execute following commands:
docker run -it -p 27017:27017 --name db -h db mongo:3.0.2 mongod
docker run -it -p 8090:8090 --name fenceindoor -h fenceindoor --link db:db maxdam/fenceindoor python -u main.py
You can go to the browser and open the url
http://localhost:8090/ping
to see the "it works" message into browser