Skip to content

Commit a9b745b

Browse files
Merge pull request #17 from 5sControl/dev
Dev
2 parents b6b5ff0 + fac112b commit a9b745b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

connection/IdleReporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def create_report(self, image: np.array, start_tracking_time: datetime.time) ->
2727
saved_image_name = self._save_image(image)
2828
report_for_send = {
2929
'camera': self.images_folder.split('/')[1],
30-
'algorithm': 'idle_control',
30+
'algorithm': os.environ.get("algorithm_name"),
3131
'start_tracking': start_tracking_time,
3232
'stop_tracking': stop_tracking_time,
3333
'photos': [{'image': saved_image_name, 'date': start_tracking_time}],

idle_model/requirements.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
httplib2==0.22.0
21
numpy==1.22.3
32
opencv_python==4.7.0.72
4-
pafy==0.5.5
5-
Pillow==9.5.0
6-
pydantic==1.10.2
7-
python-dotenv==1.0.0
8-
PyYAML==6.0
93
requests==2.27.1
104
Flask==2.2.2
115
colorlog==4.8.0

0 commit comments

Comments
 (0)