Commit Graph

39 Commits

Author SHA1 Message Date
sosokker
5bfe9d10a4 Add unittest to backend 2024-05-14 05:09:22 +07:00
sosokker
33fd746d77 update declarative_base from deprecated version 2024-05-14 04:50:11 +07:00
sosokker
a305c99de8 Update docstring 2024-05-14 01:03:43 +07:00
sosokker
7c8029635a Remove unused conifg 2024-05-14 01:03:33 +07:00
sosokker
e35106426e Update README and add example env 2024-05-13 20:41:04 +07:00
sosokker
68a26edcfc Add action query to path 2024-05-13 15:24:20 +07:00
sosokker
3bf121db8c Update action_model.py 2024-05-13 15:24:08 +07:00
sosokker
eeb29dfd90 Make action detection run in background all the time 2024-05-13 15:23:55 +07:00
sosokker
c3554dad3c Add action query and endpoint 2024-05-13 15:23:33 +07:00
sosokker
758e423866 Add run_action_model, generate action only, no visualize 2024-05-13 14:43:20 +07:00
sosokker
7f0c0baf60 Update scaled anchore dtype and fix cuda as device 2024-05-13 14:42:47 +07:00
sosokker
1894ff103b Remove debugger from weather.py 2024-05-13 13:49:29 +07:00
sosokker
4c08508b81 Add recommendation endpoint 2024-05-13 01:26:02 +07:00
sosokker
99f36b10b8 Add endpoint to get camera snapshot url 2024-05-12 18:05:54 +07:00
sosokker
9598e6416b Add web socket to stream camera video 2024-05-12 03:02:54 +07:00
sosokker
04a7c1301f Upload camera image to minio 2024-05-12 03:02:26 +07:00
sosokker
5dc4cb2c3b Update indoor temperature predicton api logic 2024-05-11 19:03:42 +07:00
sosokker
e581f00841 Enable CORS 2024-05-11 17:37:44 +07:00
sosokker
df34b29cdc Create xgboost_model.pkl 2024-05-11 17:03:40 +07:00
sosokker
242e4b737f Add prediction router 2024-05-11 02:18:02 +07:00
sosokker
fe67a6e7c4 Add prediction endpoint 2024-05-11 02:05:42 +07:00
sosokker
eb92b5e9de Add model and scheme of indoortemp prediction 2024-05-11 02:05:22 +07:00
sosokker
db2cc6862f Change prediction input feature 2024-05-11 02:04:56 +07:00
sosokker
86e420bd0a Add xgboost regression class 2024-05-10 23:58:12 +07:00
sosokker
e2c1097ba5 Add scheduler to track fall down status + Line notify 2024-05-10 22:30:01 +07:00
sosokker
67bae60e3a Use ActionModel class to wrap around function that generate frame 2024-05-09 23:07:16 +07:00
sosokker
a44378a115 Add util docstring and url validator 2024-04-28 02:37:41 +07:00
sosokker
adb6ec6497 Add action detection model base on https://github.com/GajuuzZ/Human-Falling-Detect-Tracks 2024-04-28 02:25:11 +07:00
sosokker
97785a7ebc Add action model video endpoint + new config file 2024-04-28 02:09:29 +07:00
sosokker
92484d9e43 Add Weathers data query/api endpoint and pydantic scheme 2024-04-26 21:09:55 +07:00
sosokker
e27ea919b8 Add cameras local storage 2024-04-25 01:58:51 +07:00
sosokker
db67580aa2 Change endpoints name 2024-04-25 01:44:55 +07:00
sosokker
c6adb4ed7a Update Camera model 2024-04-25 01:43:02 +07:00
sosokker
0b31a89315 Fix stream video and Disconnect camera endpoint + new auto generated id mechanism 2024-04-25 01:42:46 +07:00
sosokker
5af31b85ab Add swagger doc path 2024-04-25 01:41:36 +07:00
sosokker
d0d27fca8d Add FastAPI app and video routers 2024-04-24 21:52:58 +07:00
sosokker
83ab4c56b0 Add pydantics models and sqlAlchemy 2024-04-24 21:52:52 +07:00
sosokker
ba5c11d61b Add database connection file and config file 2024-04-23 23:36:44 +07:00
sosokker
21fdd63b12 Initial commit 2024-04-23 15:15:31 +07:00