Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: retrain fall detect model with TFLite Model Maker and more local data #35

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
  •  
  •  
  •  
286 changes: 286 additions & 0 deletions FallDetect-TFLiteModelmaker.ipynb

Large diffs are not rendered by default.

384 changes: 384 additions & 0 deletions FallDetect-inference.ipynb

Large diffs are not rendered by default.

Binary file added Images/2-person.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
246 changes: 246 additions & 0 deletions Train Fall-detect Base model for transfer learning.ipynb

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions ai_models/coco_labels.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
0 person
1 bicycle
2 car
3 motorcycle
4 airplane
5 bus
6 train
7 truck
8 boat
9 traffic light
10 fire hydrant
12 stop sign
13 parking meter
14 bench
15 bird
16 cat
17 dog
18 horse
19 sheep
20 cow
21 elephant
22 bear
23 zebra
24 giraffe
26 backpack
27 umbrella
30 handbag
31 tie
32 suitcase
33 frisbee
34 skis
35 snowboard
36 sports ball
37 kite
38 baseball bat
39 baseball glove
40 skateboard
41 surfboard
42 tennis racket
43 bottle
45 wine glass
46 cup
47 fork
48 knife
49 spoon
50 bowl
51 banana
52 apple
53 sandwich
54 orange
55 broccoli
56 carrot
57 hot dog
58 pizza
59 donut
60 cake
61 chair
62 couch
63 potted plant
64 bed
66 dining table
69 toilet
71 tv
72 laptop
73 mouse
74 remote
75 keyboard
76 cell phone
77 microwave
78 oven
79 toaster
80 sink
81 refrigerator
83 book
84 clock
85 vase
86 scissors
87 teddy bear
88 hair drier
89 toothbrush
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
238 changes: 238 additions & 0 deletions based_saved_model/keras_metadata.pb

Large diffs are not rendered by default.

Binary file added based_saved_model/saved_model.pb
Binary file not shown.
Binary file not shown.
Binary file added based_saved_model/variables/variables.index
Binary file not shown.
Binary file added fall_dataset/fall/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/100.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/13.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/15.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/16.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/160323-seniorfallen-stock.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/17.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/20.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.496555.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.671522.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.769786.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.805886.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.852010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.899139.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_04_21.992390.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_05_21.274865.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_05_21.381650.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_05_21.526538.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_05_21.574164.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_06_22.885278.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_06_22.947444.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_06_23.099851.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fall_dataset/fall/2018-07-04T12_06_23.202125.png
Binary file added fall_dataset/fall/2018-07-04T12_06_23.822832.png
Binary file added fall_dataset/fall/2018-07-04T12_06_24.055999.png
Binary file added fall_dataset/fall/2018-07-04T12_07_23.297661.png
Binary file added fall_dataset/fall/2018-07-04T12_07_23.435529.png
Binary file added fall_dataset/fall/2018-07-04T12_07_23.486666.png
Binary file added fall_dataset/fall/2018-07-04T12_07_23.537803.png
Binary file added fall_dataset/fall/2018-07-04T12_07_23.604982.png
Binary file added fall_dataset/fall/2018-07-04T12_07_24.619198.png
Binary file added fall_dataset/fall/2018-07-04T12_08_22.746980.png
Binary file added fall_dataset/fall/2018-07-04T12_08_23.015197.png
Binary file added fall_dataset/fall/21.jpg
Binary file added fall_dataset/fall/22.jpg
Binary file added fall_dataset/fall/23.jpg
Binary file added fall_dataset/fall/24.jpg
Binary file added fall_dataset/fall/27.jpg
Binary file added fall_dataset/fall/28.jpg
Binary file added fall_dataset/fall/29.jpg
Binary file added fall_dataset/fall/3.jpg
Binary file added fall_dataset/fall/30.jpg
Binary file added fall_dataset/fall/31.jpg
Binary file added fall_dataset/fall/32.jpg
Binary file added fall_dataset/fall/33.jpg
Binary file added fall_dataset/fall/34.jpg
Binary file added fall_dataset/fall/35.jpg
Binary file added fall_dataset/fall/36.jpg
Binary file added fall_dataset/fall/37.jpg
Binary file added fall_dataset/fall/39.jpg
Binary file added fall_dataset/fall/4.jpg
Binary file added fall_dataset/fall/41.jpg
Binary file added fall_dataset/fall/44.jpg
Binary file added fall_dataset/fall/45.jpg
Binary file added fall_dataset/fall/46.jpg
Binary file added fall_dataset/fall/47.jpg
Binary file added fall_dataset/fall/48.jpg
Binary file added fall_dataset/fall/49.jpg
Binary file added fall_dataset/fall/5.jpg
Binary file added fall_dataset/fall/50.jpg
Binary file added fall_dataset/fall/51.jpg
Binary file added fall_dataset/fall/52.jpg
Binary file added fall_dataset/fall/53.jpg
Binary file added fall_dataset/fall/55.jpg
Binary file added fall_dataset/fall/58.jpg
Binary file added fall_dataset/fall/59.jpg
Binary file added fall_dataset/fall/5c89433b113a5018ae39fcd1.jpeg
Binary file added fall_dataset/fall/6.jpg
Binary file added fall_dataset/fall/60.jpg
Binary file added fall_dataset/fall/61.jpg
Binary file added fall_dataset/fall/62.jpg
Binary file added fall_dataset/fall/63.jpg
Binary file added fall_dataset/fall/64.jpg
Binary file added fall_dataset/fall/65.jpg
Binary file added fall_dataset/fall/66.jpg
Binary file added fall_dataset/fall/67.jpg
Binary file added fall_dataset/fall/68.jpg
Binary file added fall_dataset/fall/69.jpg
Binary file added fall_dataset/fall/7..jpg
Binary file added fall_dataset/fall/70.jpg
Binary file added fall_dataset/fall/71.jpg
Binary file added fall_dataset/fall/72.jpg
Binary file added fall_dataset/fall/73.jpg
Binary file added fall_dataset/fall/74.jpg
Binary file added fall_dataset/fall/76.jpg
Binary file added fall_dataset/fall/77.jpg
Binary file added fall_dataset/fall/78.jpg
Binary file added fall_dataset/fall/79.jpg
Binary file added fall_dataset/fall/8.jpg
Binary file added fall_dataset/fall/80.jpg
Binary file added fall_dataset/fall/81.jpg
Binary file added fall_dataset/fall/82.jpg
Binary file added fall_dataset/fall/83.jpg
Binary file added fall_dataset/fall/84.jpg
Binary file added fall_dataset/fall/85..jpg
Binary file added fall_dataset/fall/86.jpg
Binary file added fall_dataset/fall/87.jpg
Binary file added fall_dataset/fall/89.jpg
Binary file added fall_dataset/fall/9.jpg
Binary file added fall_dataset/fall/90.jpg
Binary file added fall_dataset/fall/91.jpg
Binary file added fall_dataset/fall/92.jpg
Binary file added fall_dataset/fall/93.jpg
Binary file added fall_dataset/fall/94.jpg
Binary file added fall_dataset/fall/95.jpg
Binary file added fall_dataset/fall/96.jpg
Binary file added fall_dataset/fall/97.jpg
Binary file added fall_dataset/fall/download (1).jpeg
Binary file added fall_dataset/fall/download.jpeg
Binary file added fall_dataset/fall/fall-01-cam0-rgb-099.png
Binary file added fall_dataset/fall/fall-01-cam0-rgb-107.png
Binary file added fall_dataset/fall/fall-01-cam0-rgb-116.png
Binary file added fall_dataset/fall/fall-01-cam0-rgb-130.png
Binary file added fall_dataset/fall/fall-01-cam1-rgb-109.png
Binary file added fall_dataset/fall/fall-01-cam1-rgb-125.png
Binary file added fall_dataset/fall/fall-02-cam0-rgb-073.png
Binary file added fall_dataset/fall/fall-02-cam0-rgb-088.png
Binary file added fall_dataset/fall/fall-02-cam1-rgb-073.png
Binary file added fall_dataset/fall/fall-02-cam1-rgb-083.png
Binary file added fall_dataset/fall/fall-03-cam0-rgb-172.png
Binary file added fall_dataset/fall/fall-03-cam0-rgb-213.png
Binary file added fall_dataset/fall/fall-03-cam1-rgb-178.png
Binary file added fall_dataset/fall/fall-03-cam1-rgb-185.png
Binary file added fall_dataset/fall/fall-04-cam0-rgb-042.png
Binary file added fall_dataset/fall/fall-04-cam0-rgb-053.png
Binary file added fall_dataset/fall/fall-04-cam1-rgb-038.png
Binary file added fall_dataset/fall/fall-04-cam1-rgb-047.png
Binary file added fall_dataset/fall/fall-04-cam1-rgb-056.png
Binary file added fall_dataset/fall/fall-05-cam0-rgb-108.png
Binary file added fall_dataset/fall/fall-05-cam0-rgb-120.png
Binary file added fall_dataset/fall/fall-05-cam0-rgb-143.png
Binary file added fall_dataset/fall/fall-05-cam1-rgb-104.png
Binary file added fall_dataset/fall/fall-05-cam1-rgb-113.png
Binary file added fall_dataset/fall/fall-05-cam1-rgb-125.png
Binary file added fall_dataset/fall/fall-06-cam0-rgb-038.png
Binary file added fall_dataset/fall/fall-06-cam0-rgb-043.png
Binary file added fall_dataset/fall/fall-06-cam0-rgb-053.png
Binary file added fall_dataset/fall/fall-06-cam0-rgb-072.png
Binary file added fall_dataset/fall/fall-06-cam1-rgb-042.png
Binary file added fall_dataset/fall/fall-06-cam1-rgb-056.png
Binary file added fall_dataset/fall/fall-06-cam1-rgb-080.png
Binary file added fall_dataset/fall/fall-07-cam0-rgb-111.png
Binary file added fall_dataset/fall/fall-07-cam0-rgb-124.png
Binary file added fall_dataset/fall/fall-07-cam0-rgb-132.png
Binary file added fall_dataset/fall/fall-07-cam0-rgb-156.png
Binary file added fall_dataset/fall/fall-07-cam1-rgb-110.png
Binary file added fall_dataset/fall/fall-07-cam1-rgb-115.png
Binary file added fall_dataset/fall/fall-07-cam1-rgb-132.png
Binary file added fall_dataset/fall/fall-08-cam0-rgb-059.png
Binary file added fall_dataset/fall/fall-08-cam0-rgb-084.png
Binary file added fall_dataset/fall/fall-08-cam1-rgb-063.png
Binary file added fall_dataset/fall/fall-09-cam0-rgb-140.png
Binary file added fall_dataset/fall/fall-09-cam0-rgb-156.png
Binary file added fall_dataset/fall/fall-09-cam0-rgb-164.png
Binary file added fall_dataset/fall/fall-09-cam0-rgb-184.png
Binary file added fall_dataset/fall/fall-09-cam1-rgb-148.png
Binary file added fall_dataset/fall/fall-09-cam1-rgb-158.png
Binary file added fall_dataset/fall/fall-10-cam1-rgb-065.png
Binary file added fall_dataset/fall/fall-11-cam1-rgb-079.png
Binary file added fall_dataset/fall/fall-11-cam1-rgb-090.png
Binary file added fall_dataset/fall/fall-11-cam1-rgb-106.png
Binary file added fall_dataset/fall/fall-12-cam0-rgb-059.png
Binary file added fall_dataset/fall/fall-12-cam0-rgb-067.png
Binary file added fall_dataset/fall/fall-12-cam1-rgb-055.png
Binary file added fall_dataset/fall/fall-13-cam0-rgb-065.png
Binary file added fall_dataset/fall/fall-13-cam0-rgb-076.png
Binary file added fall_dataset/fall/fall-13-cam1-rgb-068.png
Binary file added fall_dataset/fall/fall-13-cam1-rgb-079.png
Binary file added fall_dataset/fall/fall-14-cam0-rgb-037.png
Binary file added fall_dataset/fall/fall-14-cam0-rgb-061.png
Binary file added fall_dataset/fall/fall-14-cam1-rgb-049.png
Binary file added fall_dataset/fall/fall-17-cam1-rgb-080.png
Binary file added fall_dataset/fall/fall-18-cam1-rgb-043.png
Binary file added fall_dataset/fall/fall-20-cam0-rgb-050.png
Binary file added fall_dataset/fall/fall-20-cam0-rgb-059.png
Binary file added fall_dataset/fall/fall-20-cam1-rgb-040.png
Binary file added fall_dataset/fall/fall-20-cam1-rgb-048.png
Binary file added fall_dataset/fall/fall-21-cam1-rgb-043.png
Binary file added fall_dataset/fall/fall-25-cam0-rgb-062.png
Binary file added fall_dataset/fall/fall-25-cam0-rgb-067.png
Binary file added fall_dataset/fall/fall-25-cam0-rgb-071.png
Binary file added fall_dataset/fall/fall-25-cam1-rgb-073.png
Binary file added fall_dataset/fall/fall-26-cam0-rgb-038.png
Binary file added fall_dataset/fall/fall-26-cam1-rgb-040.png
Binary file added fall_dataset/fall/images (1).jpeg
Binary file added fall_dataset/fall/images (10).jpeg
Binary file added fall_dataset/fall/images (11).jpeg
Binary file added fall_dataset/fall/images (12).jpeg
Binary file added fall_dataset/fall/images (13).jpeg
Binary file added fall_dataset/fall/images (14).jpeg
Binary file added fall_dataset/fall/images (15).jpeg
Binary file added fall_dataset/fall/images (16).jpeg
Binary file added fall_dataset/fall/images (17).jpeg
Binary file added fall_dataset/fall/images (18).jpeg
Binary file added fall_dataset/fall/images (19).jpeg
Binary file added fall_dataset/fall/images (2).jpeg
Binary file added fall_dataset/fall/images (20).jpeg
Binary file added fall_dataset/fall/images (21).jpeg
Binary file added fall_dataset/fall/images (22).jpeg
Binary file added fall_dataset/fall/images (23).jpeg
Binary file added fall_dataset/fall/images (24).jpeg
Binary file added fall_dataset/fall/images (25).jpeg
Binary file added fall_dataset/fall/images (26).jpeg
Binary file added fall_dataset/fall/images (27).jpeg
Binary file added fall_dataset/fall/images (28).jpeg
Binary file added fall_dataset/fall/images (3).jpeg
Binary file added fall_dataset/fall/images (30).jpeg
Binary file added fall_dataset/fall/images (31).jpeg
Binary file added fall_dataset/fall/images (32).jpeg
Binary file added fall_dataset/fall/images (33).jpeg
Binary file added fall_dataset/fall/images (5).jpeg
Binary file added fall_dataset/fall/images (6).jpeg
Binary file added fall_dataset/fall/images (7).jpeg
Binary file added fall_dataset/fall/images (8).jpeg
Binary file added fall_dataset/fall/images (9).jpeg
Binary file added fall_dataset/fall/images.jpeg
Binary file added fall_dataset/fall/maxresdefault.jpg
Binary file added fall_dataset/fall/nullxnull.jpeg
Binary file added fall_dataset/fall/split10_029.png
Binary file added fall_dataset/fall/split10_184.png
Binary file added fall_dataset/fall/split10_237.png
Binary file added fall_dataset/fall/split10_247.png
Binary file added fall_dataset/fall/split11_001.png
Binary file added fall_dataset/fall/split11_009.png
Binary file added fall_dataset/fall/split11_022.png
Binary file added fall_dataset/fall/split11_030.png
Binary file added fall_dataset/fall/split11_087.png
Binary file added fall_dataset/fall/split11_093.png
Binary file added fall_dataset/fall/split11_1004.png
Binary file added fall_dataset/fall/split11_1029.png
Binary file added fall_dataset/fall/split11_1038.png
Binary file added fall_dataset/fall/split11_1064.png
Binary file added fall_dataset/fall/split11_1203.png
Binary file added fall_dataset/fall/split11_1696.png
Binary file added fall_dataset/fall/split11_175.png
Binary file added fall_dataset/fall/split11_2080.png
Binary file added fall_dataset/fall/split11_2082.png
Binary file added fall_dataset/fall/split11_2098.png
Binary file added fall_dataset/fall/split11_530.png
Binary file added fall_dataset/fall/split11_537.png
Binary file added fall_dataset/fall/split11_682.png
Binary file added fall_dataset/fall/split11_696.png
Binary file added fall_dataset/fall/split11_741.png
Binary file added fall_dataset/fall/split11_753.png
Binary file added fall_dataset/fall/split11_789.png
Binary file added fall_dataset/fall/split11_959.png
Binary file added fall_dataset/fall/split11_993.png
Binary file added fall_dataset/fall/split2_019.png
Binary file added fall_dataset/fall/split3_017.png
Binary file added fall_dataset/not-fall/1 (1).jpg
Binary file added fall_dataset/not-fall/1 (2).jpg
Binary file added fall_dataset/not-fall/1.jpg
Binary file added fall_dataset/not-fall/1794957.jpg
Loading