Skip to content

Commit c10330a

Browse files
committed
guntoclothtoguntoclothtoclothtoguntoclothtoguntocloath
1 parent b319068 commit c10330a

File tree

13 files changed

+5
-2
lines changed

13 files changed

+5
-2
lines changed

.DS_Store

0 Bytes
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.

gunImages/gunMan.jpg

-61.5 KB
Loading

main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from src.utils import sendP, find_guy, countCameras
44

55
def main(tryall=True):
6-
weight_path_gun = 'model\yolo-obj_final.weights'
6+
weight_path_gun = 'model/darknetGun.weights'
77
config_path_gun = 'gun.cfg'
88
gun_detection = GunDetection(weight_path_gun, config_path_gun)
99

@@ -34,6 +34,9 @@ def main(tryall=True):
3434
else:
3535
# if this is running we have had a gun man for more that 4 ticks
3636
print('you goofy goober')
37+
clothes_detection = ClothesDetection(len(cameras))
38+
wearing,colour = clothes_detection.run_detection(cameras)
39+
print(f"wearing {wearing} and RGB {colour}")
3740
#rammi
3841
#have it run the clothes desction on the image here
3942
#goofy goober
1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)