Skip to content

Commit

Permalink
bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
jsten07 committed Jan 19, 2022
1 parent 48b7466 commit 9e77fb4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TFLite_detection_single_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
liveUpdate = yamlData["email"]["liveUpdate"]


if(fl == "false" and liveUpdate==true):
if(fl == "false" and liveUpdate==True):
# Loop over every image and perform detection
for image_path in images:

Expand Down
2 changes: 2 additions & 0 deletions get_pi_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ fi
pip3 install pyyaml

pip3 install python-crontab

pip3 install requests
File renamed without changes.
2 changes: 1 addition & 1 deletion opensensemapAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def updateSensor(sensorId, senseboxId, value ,jwtToken):
def updateImage(senseboxId, image, jwtToken, update):
headersUpdateSensebox={'content-type': 'application/json',
'Authorization': 'Bearer ' + jwtToken}
description = 'Raspberry Pi automatically recognizing birds. Every ' + str(update) + ' h the above-shown collage and the sensors (birds in total and separated by species with the Latin name) are updated with the recognized birds in the last ' + str(update) + ' h. Further information can be found here:'
description = 'Raspberry Pi automatically recognizing birds. Every ' + str(update) + ' h the above-shown collage and the sensors (birds in total and separated by species with the Latin name) are updated with the recognized birds in the last ' + str(update) + ' h. Further information can be found here:'

weblink = 'https://github.com/jsten07/countYourBirds'

Expand Down
2 changes: 1 addition & 1 deletion private/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ email:
wanted: true #wether general e-mails are wanted, which are sended at the end of a bird event [true, false]
liveUpdate: true #wether the user wanted an e-mails are wanted at the begin of a bird event [true, false]
folderPath: /home/pi/countYourBirds
environmentPath: /home/pi/countYourBirds/birds-env
environmentPath: /home/pi/countYourBirds/bird-env
sensebox:
account:
email: #email of your sensebox account
Expand Down

0 comments on commit 9e77fb4

Please sign in to comment.