Skip to content

Commit 132da1a

Browse files
committed
bugfixes4
1 parent ab0a367 commit 132da1a

File tree

10 files changed

+66
-17
lines changed

10 files changed

+66
-17
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
LabelingApplication4_1_new_template.exe filter=lfs diff=lfs merge=lfs -text
22
LabelingApplication4_1.exe filter=lfs diff=lfs merge=lfs -text
33
LabelingApplication5_3.exe filter=lfs diff=lfs merge=lfs -text
4+
LabelingApplication5_5.exe filter=lfs diff=lfs merge=lfs -text
45
*.exe filter=lfs diff=lfs merge=lfs -text

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ flagged/
1919
!Videos/cat3_mp4.mp4
2020
Videos/videoplayback.mp4
2121
# Include the Labeled_data folder and its contents
22-
!Labeled_data/
23-
!Labeled_data/cat3_mp4/
24-
Labeled_data/videoplayback/
22+
Labeled_data/cat3_mp4_reliability/**
23+
Labeled_data/videoplayback/**
2524

25+
!Labeled_data/cat3_mp4/
2626

2727
# Ignore config and environment files
2828

Labeled_data/cat3_mp4/data/cat3_mp4_limb_parameters.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ Limb,Frame,Parameter,State
22
RH,8,Parameter_1,ON
33
RH,16,Parameter_1,OFF
44
RH,9,Parameter_1,
5+
RH,28,Parameter_1,ON
6+
RH,60,Parameter_1,ON
57
LH,78,Parameter_2,ON
68
LH,78,Parameter_3,OFF
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
Frame,State
22
78,ON
33
9,ON
4+
23,OFF
5+
28,ON
6+
29,OFF
7+
11,ON
8+
12,OFF
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Frame,State
2+
31,

Labeled_data/cat3_mp4/export/cat3_mp4_export.csv

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Program Version: 5.4
22
Video Name: cat3_mp4
33
Labeling Mode: Normal
44
Frame Rate: 25.0
5-
Zones Covered With Clothes: ['BOX2', 'BOX1', 'BOX4', 'BOX5', 'BOX3', 'BOX6']
5+
Zones Covered With Clothes: ['BOX4', 'BOX3', 'BOX2', 'BOX1', 'BOX5', 'BOX6']
66
Limb Parameter 1: Looking
77
Limb Parameter 2: LP2
88
Limb Parameter 3: LP3
@@ -22,8 +22,8 @@ Frame,LH_X,LH_Y,LH_Onset,LH_Bodypart,LH_Look,LH_Zones,LL_X,LL_Y,LL_Onset,LL_Body
2222
8,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,ON,,,,,,
2323
9,,,,,,[],,,,,,[],,,,,,[],,,,,,[],ON,,,,,,,,,,,,,,,
2424
10,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
25-
11,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
26-
12,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
25+
11,,,,,,[],,,,,,[],,,,,,[],,,,,,[],ON,,,,,,,,,,,,,,,
26+
12,,,,,,[],,,,,,[],,,,,,[],,,,,,[],OFF,,,,,,,,,,,,,,,
2727
13,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
2828
14,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
2929
15,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
@@ -34,13 +34,13 @@ Frame,LH_X,LH_Y,LH_Onset,LH_Bodypart,LH_Look,LH_Zones,LL_X,LL_Y,LL_Onset,LL_Body
3434
20,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
3535
21,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
3636
22,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
37-
23,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
37+
23,,,,,,[],,,,,,[],,,,,,[],,,,,,[],OFF,,,,,,,,,,,,,,,
3838
24,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
3939
25,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
4040
26,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
4141
27,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
42-
28,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
43-
29,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
42+
28,,,,,,[],,,,,,[],,,,,,[],,,,,,[],ON,,,,,,,,,ON,,,,,,
43+
29,,,,,,[],,,,,,[],,,,,,[],,,,,,[],OFF,,,,,,,,,,,,,,,
4444
30,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
4545
31,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
4646
32,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
@@ -71,7 +71,7 @@ Frame,LH_X,LH_Y,LH_Onset,LH_Bodypart,LH_Look,LH_Zones,LL_X,LL_Y,LL_Onset,LL_Body
7171
57,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
7272
58,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
7373
59,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
74-
60,308.0,322.0,On,LH,No,"[""9R""]",,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
74+
60,308.0,322.0,On,LH,No,"[""9R""]",,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,ON,,,,,,
7575
61,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
7676
62,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,
7777
63,,,,,,[],,,,,,[],,,,,,[],,,,,,[],,,,,,,,,,,,,,,,

LabelingApplication5_3.exe

Lines changed: 0 additions & 3 deletions
This file was deleted.

LabelingApplication5_5.spec

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# -*- mode: python ; coding: utf-8 -*-
2+
3+
4+
a = Analysis(
5+
['main.py'],
6+
pathex=[],
7+
binaries=[],
8+
datas=[],
9+
hiddenimports=[],
10+
hookspath=[],
11+
hooksconfig={},
12+
runtime_hooks=[],
13+
excludes=[],
14+
noarchive=False,
15+
optimize=0,
16+
)
17+
pyz = PYZ(a.pure)
18+
19+
exe = EXE(
20+
pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.datas,
24+
[],
25+
name='LabelingApplication5_5',
26+
debug=False,
27+
bootloader_ignore_signals=False,
28+
strip=False,
29+
upx=True,
30+
upx_exclude=[],
31+
runtime_tmpdir=None,
32+
console=True,
33+
disable_windowed_traceback=False,
34+
argv_emulation=False,
35+
target_arch=None,
36+
codesign_identity=None,
37+
entitlements_file=None,
38+
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Self-contact Coding Application version 5.3
1+
# Self-contact Coding Application version 5.5
22

33
## Introduction
44

main.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
#bigger entry for notes?
3333
#typo in loading parameter names
3434
#loading button fix
35-
35+
#update readme with looking btn change
36+
#delete looking from export
3637
#guide na zacatku
3738
#deleting confidential data
3839
#indication of saving
@@ -119,7 +120,7 @@ def __init__(self, video_path):
119120
self.parameter_button2_state_dict = {}
120121
self.parameter_button3_state_dict = {}
121122
self.dataNotes_path_to_csv = None
122-
self.program_version = 5.4
123+
self.program_version = 5.5
123124
print("INFO: Program version:", self.program_version)
124125
self.parameter1_name = None
125126
self.parameter2_name = None
@@ -443,7 +444,9 @@ def on_middle_click(self, event=None):
443444

444445
if closest_index is not None:
445446
del details['xy'][closest_index] # Remove the coordinate
446-
447+
print(f"DEBUG: Deleting zone: {details['Zone'][closest_index]}")
448+
del details['Zone'][closest_index]
449+
447450
if not details['xy']:
448451
del limb_data[current_frame] # Remove frame entry if empty
449452

@@ -913,6 +916,7 @@ def display_first_frame(self, frame_number=None):
913916
self.update_note_entry()
914917
self.update_frame_counter()
915918
self.update_limb_parameter_buttons()
919+
self.update_button_colors()
916920
#self.draw_timeline()
917921
#self.draw_timeline2()
918922

0 commit comments

Comments
 (0)