diff --git a/analyze.ipynb b/analyze.ipynb index 303ad8e..1438c70 100644 --- a/analyze.ipynb +++ b/analyze.ipynb @@ -16,10 +16,10 @@ "event\n", "regions\n", "transcribed\n", - "start_time: 1723602822.526948\n", - "end_time: 1723689222.526948\n", - "182 events found\n", - "['front-1723687423.885892-jq1jea', 'front-1723684336.274846-0lkcg8', 'front-1723681642.58525-6kwej7', 'front-1723681299.839748-7c2ebh', 'front-1723681146.335305-nnnp80', 'front-1723681119.227142-6di55p', 'front-1723681117.349319-mtrkte', 'front-1723680980.298433-vr8ae6', 'front-1723680976.867127-zswseq', 'front-1723680976.867127-g0927o', 'front-1723680317.851764-q0b6bl', 'front-1723680314.425379-djfyzr', 'front-1723680300.71174-tr09xb', 'front-1723679958.887502-fjnwzd', 'front-1723679954.244603-abctc2', 'front-1723679317.21905-9um4ht', 'front-1723678434.324092-p38jo6', 'front-1723678430.946834-g8tsjk', 'front-1723677586.266683-lr7glm', 'front-1723677511.293359-mhcpzg', 'front-1723677353.041169-hx6r79', 'front-1723676490.285941-040f2u', 'front-1723673954.166262-t12efz', 'front-1723673931.456905-hlaj8b', 'front-1723673891.330106-plsrly', 'front-1723673619.192595-7afxuc', 'front-1723673611.853053-mdpsqm', 'front-1723673430.457268-1chrej', 'front-1723673418.205092-yw3vw1', 'front-1723672690.298572-l9acdn', 'front-1723672593.166465-cv3jtu', 'front-1723672591.582537-3tgbsl', 'front-1723672587.413204-5xlplp', 'front-1723672125.802894-ryzi9n', 'front-1723672114.550416-pcjekb', 'front-1723672111.538574-y1kyp9', 'front-1723671490.85735-ryint6', 'front-1723671264.975984-gbehx0', 'front-1723670860.833142-8lqnsm', 'front-1723670599.992952-422tpj', 'front-1723670344.300821-eilj1z', 'front-1723670339.05663-i1snyd', 'front-1723670038.647449-zwnmrs', 'front-1723668880.018269-xpmt2q', 'front-1723668876.218572-rcx2t2', 'front-1723668854.773722-jkbgns', 'front-1723668455.688798-ld651a', 'front-1723667918.759911-d2j56v', 'front-1723667895.047575-qe4tfc', 'front-1723667891.674222-xypvdy', 'front-1723667891.09222-eh5ml4', 'front-1723667433.219057-j9asg1', 'front-1723667429.83338-sen5oy', 'front-1723666915.509743-xmtvqz', 'front-1723666489.76099-hc4vh7', 'front-1723666391.879165-him22c', 'front-1723666289.146472-9gc53y', 'front-1723665672.054117-0vj0mr', 'front-1723665664.64205-4w7ncy', 'front-1723665662.52305-woiio3', 'front-1723664799.296272-fwi13j', 'front-1723664799.296272-jzrhrk', 'front-1723664780.787922-0ri8of', 'front-1723663502.758685-hb694j', 'front-1723663502.449251-xx7872', 'front-1723660210.268627-ystux8', 'front-1723659687.031356-b1vtjk', 'front-1723659279.947971-4a0lcd', 'front-1723658621.349499-ouv8zk', 'front-1723658616.949037-wf5jz6', 'front-1723658538.028952-phhjxn', 'front-1723658520.943619-9r9hre', 'front-1723658275.633196-bcf72s', 'front-1723658257.603639-v9go3j', 'front-1723657554.211894-gq9koo', 'front-1723657515.882249-hatfht', 'front-1723657133.452483-qlj4uv', 'front-1723657133.302367-02cxm4', 'front-1723656228.170256-910sgw', 'front-1723655928.096291-5qtesj', 'front-1723655927.127666-tn2ovy', 'front-1723655693.213796-f68gr9', 'front-1723655348.830531-o4q8ew', 'front-1723654444.256401-zqy676', 'front-1723654189.225648-dl5pf2', 'front-1723653899.269083-6c9mn8', 'front-1723653342.938313-yr4x9m', 'front-1723653242.399326-gffu2h', 'front-1723653197.969963-jiqlul', 'front-1723653180.040777-1amusi', 'front-1723653162.237958-lxzfat', 'front-1723653156.535964-u0afji', 'front-1723653156.535964-xd2cip', 'front-1723652875.515725-d4t78k', 'front-1723652845.120965-81kaay', 'front-1723652839.286427-46b5l1', 'front-1723652835.354985-4pl7u5', 'front-1723652815.269862-9jcjid', 'front-1723652775.832509-d7exa5', 'front-1723652764.023379-fy0ipn', 'front-1723652662.893817-35zraj', 'front-1723652662.415532-nh9kkw', 'front-1723652661.598768-uteq8d', 'front-1723652413.763376-nzhq98', 'front-1723651795.792821-18gng7', 'front-1723651657.358134-j9sh43', 'front-1723651631.656426-36iphl', 'front-1723651516.193646-1hpb0c', 'front-1723651453.926159-0z14mw', 'front-1723651450.116762-725d3r', 'front-1723651433.340292-2alfyy', 'front-1723651430.051955-uvno17', 'front-1723649006.734685-pegbql', 'front-1723649001.358389-1rj2uw', 'front-1723648989.446209-14se1t', 'front-1723648985.800422-egvnig', 'front-1723648963.407034-wd8w3x', 'front-1723648960.53453-h1qi3o', 'front-1723648801.005106-nlw4cj', 'front-1723648786.648916-nb4d8y', 'front-1723648277.920198-cnfxjf', 'front-1723648266.509437-15pcp0', 'front-1723648139.568657-o0x1q6', 'front-1723647942.026403-znma0w', 'front-1723647902.003485-mdguem', 'front-1723647814.91924-x8yz46', 'front-1723647810.500832-4upg4j', 'front-1723647789.436871-3tiutz', 'front-1723647786.066178-q1jj2b', 'front-1723647766.00012-2jf8zd', 'front-1723647753.251279-pwj447', 'front-1723647749.700306-6hx7g8', 'front-1723647733.93669-hkefky', 'front-1723647730.148065-ltg61k', 'front-1723647412.620328-knfhwe', 'front-1723647404.737886-ices95', 'front-1723645265.064465-wvnlh9', 'front-1723645258.638511-7ejukj', 'front-1723645257.019242-zrlgbq', 'front-1723645244.728782-gwxvxp', 'front-1723645137.70725-7kzcfu', 'front-1723645061.553039-24daem', 'front-1723645056.320723-f92g7p', 'front-1723644816.077748-fz6815', 'front-1723644804.150089-4w87of', 'front-1723644802.497045-dd120m', 'front-1723644736.67921-04815x', 'front-1723644703.293994-7uqsw0', 'front-1723644700.556841-mfv8r0', 'front-1723644699.976474-sqsn12', 'front-1723644695.072891-gkzl01', 'front-1723644681.854829-cxixqy', 'front-1723644515.655756-lfif6h', 'front-1723644498.522691-mshgmb', 'front-1723644338.441205-out0ao', 'front-1723643470.666109-a18aph', 'front-1723643138.401201-p271ti', 'front-1723643129.442524-yncjra', 'front-1723642206.199755-033isi', 'front-1723642146.003359-sztk1v', 'front-1723641724.498678-7ozw50', 'front-1723641202.784093-qt3a9t', 'front-1723641183.399701-m6158u', 'front-1723640789.890987-ovkklj', 'front-1723640785.55694-r2z1oo', 'front-1723639585.092566-4cl30f', 'front-1723639579.034347-3swcdz', 'front-1723639016.790004-kneprd', 'front-1723638918.473673-hwjy38', 'front-1723637550.205885-4mck1w', 'front-1723637478.62778-ln5woy', 'front-1723636626.359516-sed06n', 'front-1723636044.483085-9x2sdg', 'front-1723634062.68797-6qzduh', 'front-1723633985.045451-v41ved', 'front-1723633706.046621-nn3d3i', 'front-1723632861.621463-wdwxu9', 'front-1723632842.708682-m2n52w', 'front-1723630312.981885-vs4r97', 'front-1723626834.715105-jb2osq', 'front-1723615274.087239-f0t9yf', 'front-1723605014.277534-3lq63t']\n" + "start_time: 1726269802.724936\n", + "end_time: 1726356202.724936\n", + "151 events found\n", + "['front-1726356190.982318-7t2mrp', 'front-1726356190.565374-tn79um', 'front-1726355933.029623-yc41a1', 'front-1726355914.411895-l9r499', 'front-1726354992.453692-3j7ka0', 'front-1726354902.670007-4y1xjh', 'front-1726354743.590189-ibzczy', 'front-1726354506.285611-h2r2zu', 'front-1726354483.738028-r441gs', 'front-1726354324.178057-p3mhcw', 'front-1726353858.895057-octnpe', 'front-1726353567.689386-cvdc7r', 'front-1726353566.90992-hrh2p2', 'front-1726353559.05066-nbiv7f', 'front-1726352694.693961-amdj0g', 'front-1726352682.412965-ug041w', 'front-1726351097.954426-i30jnh', 'front-1726351093.64947-rxmck3', 'front-1726351089.759448-ktcdze', 'front-1726349770.178882-qcaput', 'front-1726348519.69014-jaj62l', 'front-1726347986.468268-h3kvxv', 'front-1726347942.42262-4iioz8', 'front-1726347114.384188-bympb4', 'front-1726347102.666271-2f4it3', 'front-1726347100.132147-c7wxe7', 'front-1726347097.404299-5gdgvx', 'front-1726346452.533698-rfw9te', 'front-1726346452.455374-0xp7wi', 'front-1726346152.563894-0qthby', 'front-1726345833.691754-rbanfl', 'front-1726344714.116412-3okl1i', 'front-1726344611.131171-wtydev', 'front-1726344608.510557-r482fq', 'front-1726344594.702206-4vpsxr', 'front-1726344587.82278-rqy7k0', 'front-1726344586.683786-6pkk43', 'front-1726343882.850849-ohom9h', 'front-1726343863.999314-3pq8uq', 'front-1726343582.166233-chzkvf', 'front-1726343464.07383-9ds2ee', 'front-1726343440.645138-uh4met', 'front-1726343083.259007-k8j0ay', 'front-1726342620.364587-j4uphk', 'front-1726342597.608949-juij8l', 'front-1726341834.69126-cns1u3', 'front-1726341814.628445-3jnius', 'front-1726341378.14959-qsnugn', 'front-1726341372.984429-z7if9a', 'front-1726341015.584798-h2diej', 'front-1726341012.566738-n1ywk4', 'front-1726341011.691069-fakcka', 'front-1726341011.691069-wfq9e9', 'front-1726340479.082677-s86tkb', 'front-1726340238.194334-5vtkzz', 'front-1726340237.038891-fa10kr', 'front-1726340234.722514-c2o4fx', 'front-1726340231.533586-9oxvxg', 'front-1726340176.215993-qu9xvc', 'front-1726340131.247957-himegy', 'front-1726339852.637951-u4p2rf', 'front-1726339827.44653-w45grp', 'front-1726339736.370696-2vaksq', 'front-1726339716.029927-zbcpv6', 'front-1726339715.099892-4uj6kq', 'front-1726339710.631125-7thlfe', 'front-1726339707.842447-tsb614', 'front-1726339706.933011-03bmr9', 'front-1726339655.341741-be9f2k', 'front-1726339648.603218-49d55v', 'front-1726339615.8285-2bu9dn', 'front-1726339594.377429-eomyzx', 'front-1726339591.36151-0yvue0', 'front-1726339588.238418-kgu55a', 'front-1726339552.932226-51joro', 'front-1726338784.403354-mx2rnx', 'front-1726338783.203439-b8q187', 'front-1726338328.459378-84nplw', 'front-1726338324.876013-qcz7mr', 'front-1726337764.421753-1d73j1', 'front-1726337759.240138-9y6mzo', 'front-1726337723.384263-7l6pba', 'front-1726336340.46098-fh1pn5', 'front-1726335510.721116-oaqsbm', 'front-1726333567.150668-dsiidd', 'front-1726333266.320587-cycwxo', 'front-1726332990.802009-gxkezt', 'front-1726332950.653171-4fm8ma', 'front-1726332881.238968-mbvmyc', 'front-1726332867.46209-4yww95', 'front-1726331154.106472-fh2rga', 'front-1726331142.521618-t4viwx', 'front-1726331140.378346-a0lyab', 'front-1726331136.029754-402w35', 'front-1726330792.834301-vnvyh4', 'front-1726330266.078777-enbyss', 'front-1726329801.673098-7rqlvw', 'front-1726329658.585731-np0y92', 'front-1726327899.471809-ar4dmd', 'front-1726327777.322417-zbgqeo', 'front-1726327776.237334-1fszto', 'front-1726327433.175542-retl0e', 'front-1726327429.93887-ww54w3', 'front-1726326955.094224-wwuz68', 'front-1726326606.822359-iaqass', 'front-1726326526.557813-fbtsc9', 'front-1726326212.715776-vba8fs', 'front-1726326209.906298-fgv9yr', 'front-1726326088.636097-yx8ia8', 'front-1726325713.252805-ob5tfs', 'front-1726325711.934433-x759oj', 'front-1726325707.300214-ld7bkv', 'front-1726325690.873783-i86ola', 'front-1726325683.363317-3um5ef', 'front-1726325388.061216-w4x395', 'front-1726325384.83767-w2p28x', 'front-1726323765.280199-nankid', 'front-1726323763.09879-78lgbl', 'front-1726323073.491964-22fbtm', 'front-1726323022.822505-wclhbh', 'front-1726323014.455589-mj04r9', 'front-1726322313.856128-n5no8h', 'front-1726322313.019903-brbdmy', 'front-1726322310.730672-v2r75h', 'front-1726322310.730672-gq52d0', 'front-1726321898.832579-u61sao', 'front-1726321895.946602-xvhm9p', 'front-1726321046.165959-vg65ef', 'front-1726321033.538647-rwq5rl', 'front-1726320634.313726-i96tiu', 'front-1726320626.149582-kn6wvp', 'front-1726319429.072085-9lmoo9', 'front-1726319426.743742-tf00q1', 'front-1726319422.462372-nbmjql', 'front-1726319421.004609-wb818v', 'front-1726319081.735603-vspzn7', 'front-1726316217.749777-hdq2yk', 'front-1726316217.442566-wsz4zc', 'front-1726316213.708029-lqm0ah', 'front-1726316212.175089-1lsyw4', 'front-1726315632.479095-qd6wv7', 'front-1726315588.733897-lvk7s1', 'front-1726313967.365107-wyx14v', 'front-1726313967.305142-fjqeuf', 'front-1726311814.009257-9ae0hm', 'front-1726311814.009257-j3118q', 'front-1726311622.136503-voh66t', 'front-1726310813.705313-yytdla', 'front-1726310812.471442-8wpuvk', 'front-1726310809.896723-873pn9', 'front-1726274487.614804-nh26sl']\n" ] } ], @@ -65,13 +65,13 @@ "name": "stdout", "output_type": "stream", "text": [ - "['/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723687423.885892-jq1jea-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723684336.274846-0lkcg8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681642.58525-6kwej7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681299.839748-7c2ebh-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681146.335305-nnnp80-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681119.227142-6di55p-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681117.349319-mtrkte-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680980.298433-vr8ae6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680976.867127-zswseq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680976.867127-g0927o-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680317.851764-q0b6bl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680314.425379-djfyzr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680300.71174-tr09xb-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679958.887502-fjnwzd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679954.244603-abctc2-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679317.21905-9um4ht-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723678434.324092-p38jo6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723678430.946834-g8tsjk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677586.266683-lr7glm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677511.293359-mhcpzg-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677353.041169-hx6r79-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723676490.285941-040f2u-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673954.166262-t12efz-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673931.456905-hlaj8b-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673891.330106-plsrly-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673619.192595-7afxuc-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673611.853053-mdpsqm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673430.457268-1chrej-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673418.205092-yw3vw1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672690.298572-l9acdn-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672593.166465-cv3jtu-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672591.582537-3tgbsl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672587.413204-5xlplp-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672125.802894-ryzi9n-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672114.550416-pcjekb-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672111.538574-y1kyp9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723671490.85735-ryint6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723671264.975984-gbehx0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670860.833142-8lqnsm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670599.992952-422tpj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670344.300821-eilj1z-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670339.05663-i1snyd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670038.647449-zwnmrs-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668880.018269-xpmt2q-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668876.218572-rcx2t2-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668854.773722-jkbgns-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668455.688798-ld651a-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667918.759911-d2j56v-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667895.047575-qe4tfc-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667891.674222-xypvdy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667891.09222-eh5ml4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667433.219057-j9asg1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667429.83338-sen5oy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666915.509743-xmtvqz-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666489.76099-hc4vh7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666391.879165-him22c-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666289.146472-9gc53y-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665672.054117-0vj0mr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665664.64205-4w7ncy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665662.52305-woiio3-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664799.296272-fwi13j-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664799.296272-jzrhrk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664780.787922-0ri8of-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723663502.758685-hb694j-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723663502.449251-xx7872-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723660210.268627-ystux8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723659687.031356-b1vtjk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723659279.947971-4a0lcd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658621.349499-ouv8zk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658616.949037-wf5jz6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658538.028952-phhjxn-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658520.943619-9r9hre-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658275.633196-bcf72s-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658257.603639-v9go3j-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657554.211894-gq9koo-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657515.882249-hatfht-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657133.452483-qlj4uv-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657133.302367-02cxm4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723656228.170256-910sgw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655928.096291-5qtesj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655927.127666-tn2ovy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655693.213796-f68gr9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655348.830531-o4q8ew-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723654444.256401-zqy676-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723654189.225648-dl5pf2-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653899.269083-6c9mn8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653342.938313-yr4x9m-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653242.399326-gffu2h-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653197.969963-jiqlul-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653180.040777-1amusi-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653162.237958-lxzfat-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653156.535964-u0afji-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653156.535964-xd2cip-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652875.515725-d4t78k-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652845.120965-81kaay-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652839.286427-46b5l1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652835.354985-4pl7u5-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652815.269862-9jcjid-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652775.832509-d7exa5-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652764.023379-fy0ipn-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652662.893817-35zraj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652662.415532-nh9kkw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652661.598768-uteq8d-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652413.763376-nzhq98-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651795.792821-18gng7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651657.358134-j9sh43-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651631.656426-36iphl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651516.193646-1hpb0c-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651453.926159-0z14mw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651450.116762-725d3r-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651433.340292-2alfyy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651430.051955-uvno17-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723649006.734685-pegbql-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723649001.358389-1rj2uw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648989.446209-14se1t-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648985.800422-egvnig-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648963.407034-wd8w3x-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648960.53453-h1qi3o-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648801.005106-nlw4cj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648786.648916-nb4d8y-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648277.920198-cnfxjf-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648266.509437-15pcp0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648139.568657-o0x1q6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647942.026403-znma0w-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647902.003485-mdguem-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647814.91924-x8yz46-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647810.500832-4upg4j-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647789.436871-3tiutz-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647786.066178-q1jj2b-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647766.00012-2jf8zd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647753.251279-pwj447-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647749.700306-6hx7g8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647733.93669-hkefky-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647730.148065-ltg61k-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647412.620328-knfhwe-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647404.737886-ices95-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645265.064465-wvnlh9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645258.638511-7ejukj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645257.019242-zrlgbq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645244.728782-gwxvxp-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645137.70725-7kzcfu-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645061.553039-24daem-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645056.320723-f92g7p-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644816.077748-fz6815-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644804.150089-4w87of-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644802.497045-dd120m-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644736.67921-04815x-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644703.293994-7uqsw0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644700.556841-mfv8r0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644699.976474-sqsn12-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644695.072891-gkzl01-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644681.854829-cxixqy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644515.655756-lfif6h-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644498.522691-mshgmb-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644338.441205-out0ao-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643470.666109-a18aph-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643138.401201-p271ti-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643129.442524-yncjra-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723642206.199755-033isi-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723642146.003359-sztk1v-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641724.498678-7ozw50-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641202.784093-qt3a9t-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641183.399701-m6158u-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723640789.890987-ovkklj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723640785.55694-r2z1oo-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639585.092566-4cl30f-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639579.034347-3swcdz-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639016.790004-kneprd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723638918.473673-hwjy38-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723637550.205885-4mck1w-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723637478.62778-ln5woy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723636626.359516-sed06n-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723636044.483085-9x2sdg-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723634062.68797-6qzduh-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723633985.045451-v41ved-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723633706.046621-nn3d3i-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723632861.621463-wdwxu9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723632842.708682-m2n52w-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723630312.981885-vs4r97-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723626834.715105-jb2osq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723615274.087239-f0t9yf-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723605014.277534-3lq63t-clean.png']\n" + "/home/arcyleung/Projects/frigate/media/frigate/clips ['/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726356190.982318-7t2mrp-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726356190.565374-tn79um-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726355933.029623-yc41a1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726355914.411895-l9r499-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354992.453692-3j7ka0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354902.670007-4y1xjh-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354743.590189-ibzczy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354506.285611-h2r2zu-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354483.738028-r441gs-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726354324.178057-p3mhcw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726353858.895057-octnpe-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726353567.689386-cvdc7r-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726353566.90992-hrh2p2-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726353559.05066-nbiv7f-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726352694.693961-amdj0g-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726352682.412965-ug041w-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726351097.954426-i30jnh-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726351093.64947-rxmck3-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726351089.759448-ktcdze-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726349770.178882-qcaput-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726348519.69014-jaj62l-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347986.468268-h3kvxv-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347942.42262-4iioz8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347114.384188-bympb4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347102.666271-2f4it3-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347100.132147-c7wxe7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726347097.404299-5gdgvx-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726346452.533698-rfw9te-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726346452.455374-0xp7wi-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726346152.563894-0qthby-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726345833.691754-rbanfl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344714.116412-3okl1i-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344611.131171-wtydev-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344608.510557-r482fq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344594.702206-4vpsxr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344587.82278-rqy7k0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726344586.683786-6pkk43-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343882.850849-ohom9h-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343863.999314-3pq8uq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343582.166233-chzkvf-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343464.07383-9ds2ee-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343440.645138-uh4met-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726343083.259007-k8j0ay-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726342620.364587-j4uphk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726342597.608949-juij8l-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341834.69126-cns1u3-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341814.628445-3jnius-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341378.14959-qsnugn-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341372.984429-z7if9a-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341015.584798-h2diej-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341012.566738-n1ywk4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341011.691069-fakcka-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726341011.691069-wfq9e9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340479.082677-s86tkb-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340238.194334-5vtkzz-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340237.038891-fa10kr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340234.722514-c2o4fx-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340231.533586-9oxvxg-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340176.215993-qu9xvc-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726340131.247957-himegy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339852.637951-u4p2rf-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339827.44653-w45grp-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339736.370696-2vaksq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339716.029927-zbcpv6-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339715.099892-4uj6kq-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339710.631125-7thlfe-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339707.842447-tsb614-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339706.933011-03bmr9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339655.341741-be9f2k-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339648.603218-49d55v-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339615.8285-2bu9dn-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339594.377429-eomyzx-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339591.36151-0yvue0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339588.238418-kgu55a-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726339552.932226-51joro-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726338784.403354-mx2rnx-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726338783.203439-b8q187-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726338328.459378-84nplw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726338324.876013-qcz7mr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726337764.421753-1d73j1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726337759.240138-9y6mzo-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726337723.384263-7l6pba-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726336340.46098-fh1pn5-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726335510.721116-oaqsbm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726333567.150668-dsiidd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726333266.320587-cycwxo-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726332990.802009-gxkezt-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726332950.653171-4fm8ma-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726332881.238968-mbvmyc-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726332867.46209-4yww95-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726331154.106472-fh2rga-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726331142.521618-t4viwx-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726331140.378346-a0lyab-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726331136.029754-402w35-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726330792.834301-vnvyh4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726330266.078777-enbyss-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726329801.673098-7rqlvw-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726329658.585731-np0y92-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726327899.471809-ar4dmd-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726327777.322417-zbgqeo-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726327776.237334-1fszto-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726327433.175542-retl0e-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726327429.93887-ww54w3-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326955.094224-wwuz68-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326606.822359-iaqass-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326526.557813-fbtsc9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326212.715776-vba8fs-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326209.906298-fgv9yr-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726326088.636097-yx8ia8-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325713.252805-ob5tfs-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325711.934433-x759oj-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325707.300214-ld7bkv-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325690.873783-i86ola-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325683.363317-3um5ef-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325388.061216-w4x395-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726325384.83767-w2p28x-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726323765.280199-nankid-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726323763.09879-78lgbl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726323073.491964-22fbtm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726323022.822505-wclhbh-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726323014.455589-mj04r9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726322313.856128-n5no8h-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726322313.019903-brbdmy-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726322310.730672-v2r75h-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726322310.730672-gq52d0-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726321898.832579-u61sao-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726321895.946602-xvhm9p-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726321046.165959-vg65ef-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726321033.538647-rwq5rl-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726320634.313726-i96tiu-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726320626.149582-kn6wvp-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726319429.072085-9lmoo9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726319426.743742-tf00q1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726319422.462372-nbmjql-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726319421.004609-wb818v-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726319081.735603-vspzn7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726316217.749777-hdq2yk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726316217.442566-wsz4zc-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726316213.708029-lqm0ah-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726316212.175089-1lsyw4-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726315632.479095-qd6wv7-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726315588.733897-lvk7s1-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726313967.365107-wyx14v-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726313967.305142-fjqeuf-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726311814.009257-9ae0hm-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726311814.009257-j3118q-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726311622.136503-voh66t-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726310813.705313-yytdla-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726310812.471442-8wpuvk-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726310809.896723-873pn9-clean.png', '/home/arcyleung/Projects/frigate/media/frigate/clips/front-1726274487.614804-nh26sl-clean.png']\n" ] } ], "source": [ + "from dotenv import load_dotenv\n", "import os\n", - "import dotenv\n", "\n", "def get_filenames(path, ids=None):\n", " filenames = []\n", @@ -85,10 +85,11 @@ " filenames.append(os.path.join(root, file))\n", " return filenames\n", "\n", - "prefix = os.environ.get(\"FRIGATE_CLIPS_PATH\")\n", + "load_dotenv()\n", + "prefix = os.getenv(\"FRIGATE_CLIPS_PATH\")\n", "\n", "filenames = get_filenames(prefix, ids)\n", - "print(filenames)" + "print(prefix, filenames)" ] }, { @@ -103,7 +104,8 @@ "/home/arcyleung/Projects/llm-nvr/venv/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", " from .autonotebook import tqdm as notebook_tqdm\n", "The `load_in_4bit` and `load_in_8bit` arguments are deprecated and will be removed in the future versions. Please, pass a `BitsAndBytesConfig` object in `quantization_config` argument instead.\n", - "Loading checkpoint shards: 100%|██████████| 4/4 [00:14<00:00, 3.72s/it]\n" + "Downloading shards: 100%|██████████| 4/4 [00:00<00:00, 19.97it/s]\n", + "Loading checkpoint shards: 100%|██████████| 4/4 [00:15<00:00, 3.85s/it]\n" ] } ], @@ -200,7 +202,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -214,7 +216,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "1 of 182\n" + "1 of 151\n" ] }, { @@ -231,1673 +233,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "2 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "3 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "4 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "5 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "6 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "7 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "8 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "9 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "10 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "11 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "12 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "13 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "14 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "15 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "16 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "17 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "18 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "19 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "20 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "21 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "22 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "23 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "24 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "25 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "26 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "27 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "28 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "29 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "30 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "31 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "32 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "33 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "34 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "35 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "36 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "37 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "38 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "39 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "40 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "41 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "42 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "43 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "44 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "45 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "46 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "47 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "48 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "49 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "50 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "51 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "52 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "53 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "54 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "55 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "56 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "57 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "58 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "59 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "60 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "61 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "62 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "63 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "64 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "65 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "66 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "67 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "68 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "69 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "70 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "71 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "72 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "73 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "74 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "75 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "76 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "77 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "78 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "79 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "80 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "81 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "82 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "83 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "84 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "85 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "86 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "87 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "88 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "89 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "90 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "91 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "92 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "93 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "94 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "95 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "96 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "97 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "98 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "99 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "100 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "101 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "102 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "103 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "104 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "105 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "106 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "107 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "108 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "109 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "110 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "111 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "112 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "113 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "114 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "115 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "116 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "117 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "118 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "119 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "120 of 182\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "Setting `pad_token_id` to `eos_token_id`:2 for open-end generation.\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "121 of 182\n" + "2 of 151\n" ] }, { @@ -1911,7 +247,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "122 of 182\n" + "3 of 151\n" ] }, { @@ -1925,7 +261,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "123 of 182\n" + "4 of 151\n" ] }, { @@ -1939,7 +275,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "124 of 182\n" + "5 of 151\n" ] }, { @@ -1953,7 +289,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "125 of 182\n" + "6 of 151\n" ] }, { @@ -1967,7 +303,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "126 of 182\n" + "7 of 151\n" ] }, { @@ -1981,7 +317,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "127 of 182\n" + "8 of 151\n" ] }, { @@ -1995,7 +331,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "128 of 182\n" + "9 of 151\n" ] }, { @@ -2009,7 +345,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "129 of 182\n" + "10 of 151\n" ] }, { @@ -2023,7 +359,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "130 of 182\n" + "11 of 151\n" ] }, { @@ -2037,7 +373,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "131 of 182\n" + "12 of 151\n" ] }, { @@ -2051,7 +387,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "132 of 182\n" + "13 of 151\n" ] }, { @@ -2065,7 +401,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "133 of 182\n" + "14 of 151\n" ] }, { @@ -2079,7 +415,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "134 of 182\n" + "15 of 151\n" ] }, { @@ -2093,7 +429,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "135 of 182\n" + "16 of 151\n" ] }, { @@ -2107,7 +443,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "136 of 182\n" + "17 of 151\n" ] }, { @@ -2121,7 +457,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "137 of 182\n" + "18 of 151\n" ] }, { @@ -2135,7 +471,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "138 of 182\n" + "19 of 151\n" ] }, { @@ -2149,7 +485,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "139 of 182\n" + "20 of 151\n" ] }, { @@ -2163,7 +499,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "140 of 182\n" + "21 of 151\n" ] }, { @@ -2177,7 +513,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "141 of 182\n" + "22 of 151\n" ] }, { @@ -2191,7 +527,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "142 of 182\n" + "23 of 151\n" ] }, { @@ -2205,7 +541,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "143 of 182\n" + "24 of 151\n" ] }, { @@ -2219,7 +555,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "144 of 182\n" + "25 of 151\n" ] }, { @@ -2233,7 +569,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "145 of 182\n" + "26 of 151\n" ] }, { @@ -2247,7 +583,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "146 of 182\n" + "27 of 151\n" ] }, { @@ -2261,7 +597,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "147 of 182\n" + "28 of 151\n" ] }, { @@ -2275,7 +611,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "148 of 182\n" + "29 of 151\n" ] }, { @@ -2289,7 +625,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "149 of 182\n" + "30 of 151\n" ] }, { @@ -2303,7 +639,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "150 of 182\n" + "31 of 151\n" ] }, { @@ -2317,7 +653,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "151 of 182\n" + "32 of 151\n" ] }, { @@ -2331,7 +667,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "152 of 182\n" + "33 of 151\n" ] }, { @@ -2345,7 +681,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "153 of 182\n" + "34 of 151\n" ] }, { @@ -2359,7 +695,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "154 of 182\n" + "35 of 151\n" ] }, { @@ -2373,7 +709,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "155 of 182\n" + "36 of 151\n" ] }, { @@ -2387,7 +723,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "156 of 182\n" + "37 of 151\n" ] }, { @@ -2401,7 +737,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "157 of 182\n" + "38 of 151\n" ] }, { @@ -2415,7 +751,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "158 of 182\n" + "39 of 151\n" ] }, { @@ -2429,7 +765,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "159 of 182\n" + "40 of 151\n" ] }, { @@ -2443,7 +779,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "160 of 182\n" + "41 of 151\n" ] }, { @@ -2457,7 +793,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "161 of 182\n" + "42 of 151\n" ] }, { @@ -2471,7 +807,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "162 of 182\n" + "43 of 151\n" ] }, { @@ -2485,7 +821,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "163 of 182\n" + "44 of 151\n" ] }, { @@ -2499,7 +835,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "164 of 182\n" + "45 of 151\n" ] }, { @@ -2513,7 +849,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "165 of 182\n" + "46 of 151\n" ] }, { @@ -2527,7 +863,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "166 of 182\n" + "47 of 151\n" ] }, { @@ -2541,7 +877,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "167 of 182\n" + "48 of 151\n" ] }, { @@ -2555,7 +891,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "168 of 182\n" + "49 of 151\n" ] }, { @@ -2569,7 +905,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "169 of 182\n" + "50 of 151\n" ] }, { @@ -2583,7 +919,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "170 of 182\n" + "51 of 151\n" ] }, { @@ -2597,7 +933,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "171 of 182\n" + "52 of 151\n" ] }, { @@ -2611,7 +947,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "172 of 182\n" + "53 of 151\n" ] }, { @@ -2625,7 +961,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "173 of 182\n" + "54 of 151\n" ] }, { @@ -2639,7 +975,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "174 of 182\n" + "55 of 151\n" ] }, { @@ -2653,7 +989,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "175 of 182\n" + "56 of 151\n" ] }, { @@ -2667,7 +1003,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "176 of 182\n" + "57 of 151\n" ] }, { @@ -2681,7 +1017,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "177 of 182\n" + "58 of 151\n" ] }, { @@ -2695,7 +1031,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "178 of 182\n" + "59 of 151\n" ] }, { @@ -2709,7 +1045,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "179 of 182\n" + "60 of 151\n" ] }, { @@ -2723,7 +1059,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "180 of 182\n" + "61 of 151\n" ] }, { @@ -2737,7 +1073,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "181 of 182\n" + "62 of 151\n" ] }, { @@ -2751,189 +1087,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "182 of 182\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723687423.885892-jq1jea-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723684336.274846-0lkcg8-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681642.58525-6kwej7-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681299.839748-7c2ebh-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681146.335305-nnnp80-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681119.227142-6di55p-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723681117.349319-mtrkte-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680980.298433-vr8ae6-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680976.867127-zswseq-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680976.867127-g0927o-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680317.851764-q0b6bl-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680314.425379-djfyzr-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723680300.71174-tr09xb-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679958.887502-fjnwzd-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679954.244603-abctc2-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723679317.21905-9um4ht-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723678434.324092-p38jo6-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723678430.946834-g8tsjk-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677586.266683-lr7glm-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677511.293359-mhcpzg-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723677353.041169-hx6r79-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723676490.285941-040f2u-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673954.166262-t12efz-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673931.456905-hlaj8b-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673891.330106-plsrly-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673619.192595-7afxuc-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673611.853053-mdpsqm-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673430.457268-1chrej-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723673418.205092-yw3vw1-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672690.298572-l9acdn-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672593.166465-cv3jtu-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672591.582537-3tgbsl-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672587.413204-5xlplp-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672125.802894-ryzi9n-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672114.550416-pcjekb-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723672111.538574-y1kyp9-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723671490.85735-ryint6-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723671264.975984-gbehx0-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670860.833142-8lqnsm-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670599.992952-422tpj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670344.300821-eilj1z-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670339.05663-i1snyd-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723670038.647449-zwnmrs-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668880.018269-xpmt2q-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668876.218572-rcx2t2-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668854.773722-jkbgns-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723668455.688798-ld651a-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667918.759911-d2j56v-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667895.047575-qe4tfc-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667891.674222-xypvdy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667891.09222-eh5ml4-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667433.219057-j9asg1-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723667429.83338-sen5oy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666915.509743-xmtvqz-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666489.76099-hc4vh7-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666391.879165-him22c-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723666289.146472-9gc53y-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665672.054117-0vj0mr-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665664.64205-4w7ncy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723665662.52305-woiio3-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664799.296272-fwi13j-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664799.296272-jzrhrk-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723664780.787922-0ri8of-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723663502.758685-hb694j-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723663502.449251-xx7872-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723660210.268627-ystux8-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723659687.031356-b1vtjk-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723659279.947971-4a0lcd-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658621.349499-ouv8zk-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658616.949037-wf5jz6-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658538.028952-phhjxn-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658520.943619-9r9hre-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658275.633196-bcf72s-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723658257.603639-v9go3j-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657554.211894-gq9koo-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657515.882249-hatfht-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657133.452483-qlj4uv-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723657133.302367-02cxm4-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723656228.170256-910sgw-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655928.096291-5qtesj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655927.127666-tn2ovy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655693.213796-f68gr9-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723655348.830531-o4q8ew-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723654444.256401-zqy676-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723654189.225648-dl5pf2-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653899.269083-6c9mn8-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653342.938313-yr4x9m-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653242.399326-gffu2h-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653197.969963-jiqlul-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653180.040777-1amusi-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653162.237958-lxzfat-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653156.535964-u0afji-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723653156.535964-xd2cip-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652875.515725-d4t78k-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652845.120965-81kaay-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652839.286427-46b5l1-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652835.354985-4pl7u5-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652815.269862-9jcjid-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652775.832509-d7exa5-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652764.023379-fy0ipn-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652662.893817-35zraj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652662.415532-nh9kkw-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652661.598768-uteq8d-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723652413.763376-nzhq98-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651795.792821-18gng7-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651657.358134-j9sh43-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651631.656426-36iphl-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651516.193646-1hpb0c-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651453.926159-0z14mw-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651450.116762-725d3r-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651433.340292-2alfyy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723651430.051955-uvno17-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723649006.734685-pegbql-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723649001.358389-1rj2uw-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648989.446209-14se1t-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648985.800422-egvnig-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648963.407034-wd8w3x-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648960.53453-h1qi3o-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648801.005106-nlw4cj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648786.648916-nb4d8y-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648277.920198-cnfxjf-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648266.509437-15pcp0-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723648139.568657-o0x1q6-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647942.026403-znma0w-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647902.003485-mdguem-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647814.91924-x8yz46-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647810.500832-4upg4j-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647789.436871-3tiutz-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647786.066178-q1jj2b-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647766.00012-2jf8zd-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647753.251279-pwj447-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647749.700306-6hx7g8-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647733.93669-hkefky-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647730.148065-ltg61k-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647412.620328-knfhwe-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723647404.737886-ices95-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645265.064465-wvnlh9-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645258.638511-7ejukj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645257.019242-zrlgbq-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645244.728782-gwxvxp-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645137.70725-7kzcfu-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645061.553039-24daem-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723645056.320723-f92g7p-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644816.077748-fz6815-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644804.150089-4w87of-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644802.497045-dd120m-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644736.67921-04815x-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644703.293994-7uqsw0-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644700.556841-mfv8r0-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644699.976474-sqsn12-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644695.072891-gkzl01-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644681.854829-cxixqy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644515.655756-lfif6h-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644498.522691-mshgmb-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723644338.441205-out0ao-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643470.666109-a18aph-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643138.401201-p271ti-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723643129.442524-yncjra-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723642206.199755-033isi-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723642146.003359-sztk1v-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641724.498678-7ozw50-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641202.784093-qt3a9t-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723641183.399701-m6158u-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723640789.890987-ovkklj-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723640785.55694-r2z1oo-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639585.092566-4cl30f-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639579.034347-3swcdz-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723639016.790004-kneprd-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723638918.473673-hwjy38-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723637550.205885-4mck1w-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723637478.62778-ln5woy-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723636626.359516-sed06n-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723636044.483085-9x2sdg-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723634062.68797-6qzduh-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723633985.045451-v41ved-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723633706.046621-nn3d3i-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723632861.621463-wdwxu9-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723632842.708682-m2n52w-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723630312.981885-vs4r97-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723626834.715105-jb2osq-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723615274.087239-f0t9yf-clean.png\n", - "/home/arcyleung/Projects/frigate/media/frigate/clips/front-1723605014.277534-3lq63t-clean.png\n" + "63 of 151\n" ] } ], diff --git a/arch.drawio b/arch.drawio index ca80454..c5798e6 100644 --- a/arch.drawio +++ b/arch.drawio @@ -1,6 +1,6 @@ - + @@ -8,102 +8,108 @@ - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - + - - + + - + - - + + - - + + - - + + - + - - + + - - + + + + + + + + diff --git a/backend/server.js b/backend/server.js index d69fce2..cdf594d 100644 --- a/backend/server.js +++ b/backend/server.js @@ -1,9 +1,12 @@ import sqlite3 from 'sqlite3' -import { open } from 'sqlite' +import * as path from 'path' import * as dotenv from 'dotenv' +import fs from 'fs/promises' +import { open } from 'sqlite' dotenv.config() const db_path = process.env.DB_PATH +const frigate_clips_path = process.env.FRIGATE_CLIPS_PATH let db @@ -103,14 +106,23 @@ function max_of_tfidf_scores(events_scores) { fastify.get( '/events', async (request, reply) => { - // const { start_time, end_time } = request.query - - const start_time = 1723259761 - const end_time = 1724123761 - let query = `SELECT e.id, e.*, t.transcript FROM event e LEFT JOIN transcribed t ON e.id = t.id WHERE e.start_time >= ${start_time} AND e.start_time <= ${end_time}` + const { start_time, end_time, limit, search_term } = request.query + + let query = ` + SELECT e.id, e.*, t.transcript + FROM event e + LEFT JOIN transcribed t ON e.id = t.id + WHERE e.start_time >= ${start_time} AND e.start_time <= ${end_time} + ` + + // Add search filter if search_expr is provided + if (search_term && search_term.trim() !== '') { + query += ` AND t.transcript LIKE '%${search_term.trim()}%'` + } - let results = await db.all(query) + query += ` ORDER BY RANDOM() LIMIT ${limit}` + let results = await db.all(query) // Reduce list of events into one object const events = results.reduce( (obj, event) => { @@ -125,7 +137,6 @@ fastify.get( const total_tfidf_scores = max_of_tfidf_scores(Object.values(tfidf_results)) const top_n = Object.keys(total_tfidf_scores).sort((a, b) => total_tfidf_scores[b] - total_tfidf_scores[a]).slice(0, 100) - // console.log(events) return { events, total_tfidf_scores, @@ -133,6 +144,33 @@ fastify.get( } }) + fastify.get('/events/:camera/:id/image', async (request, reply) => { + const { camera, id } = request.params; + + try { + // Assuming your images are stored in an 'images' directory + const imagePath = path.join(frigate_clips_path, `${camera}-${id}-clean.png`); + + // Read the file + const imageBuffer = await fs.readFile(imagePath); + + // Convert buffer to base64 + const base64Image = imageBuffer.toString('base64'); + + // Send the response + reply + .code(200) + .header('Content-Type', 'application/json') + .send({ image: base64Image }); + } catch (error) { + console.error(`Error reading image for event ${id}:`, error); + reply + .code(404) + .send({ error: 'Image not found' }); + } + + }); + // Run the server! try { await fastify.listen({ port: 3000 }) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index a76a783..516bdd9 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -12,25 +12,21 @@ import WordCloud from './components/WordCloud.vue'; import CameraRoll from './components/CameraRoll.vue'; import Scrubber from './components/Scrubber.vue'; -import { onMounted, ref, watch } from 'vue'; +import { onMounted } from 'vue'; +import { storeToRefs } from 'pinia'; import { useEventStore } from './stores/event_store'; const store = useEventStore(); +const { start_time, end_time } = storeToRefs(store) -const end_time = ref(0); -const start_time = ref(0); -end_time.value = Date.now() / 1000; -start_time.value = end_time.value - 60 * 60 * 24; -onMounted(async () => { - await store.fetchEvents(start_time.value, end_time.value); - return -}); +// To set the time range: +// store.setTimeRange(newStartTime, newEndTime) -watch([start_time, end_time], async () => { - await store.fetchEvents(start_time.value, end_time.value); - console.log("start_time or end_time changed"); +onMounted(async () => { + // store.setTimeRange(start_time.value) + await store.fetchEvents(); return }); diff --git a/frontend/src/components/CameraRoll.vue b/frontend/src/components/CameraRoll.vue index 8c4c732..a966649 100644 --- a/frontend/src/components/CameraRoll.vue +++ b/frontend/src/components/CameraRoll.vue @@ -3,40 +3,104 @@
-
+
event.name
+
+ Expanded Image +
+ {{ expandedCaption }} +
+
\ No newline at end of file diff --git a/frontend/src/components/Scrubber.vue b/frontend/src/components/Scrubber.vue index 41abb7d..ba6a334 100644 --- a/frontend/src/components/Scrubber.vue +++ b/frontend/src/components/Scrubber.vue @@ -13,13 +13,30 @@ import { Timeline } from "vis-timeline"; import { DataSet } from "vis-data"; import { onMounted, ref, watch } from 'vue'; import { useEventStore } from '../stores/event_store'; - // Get events from the event store const store = useEventStore(); +let container = null; +let timeline = null; +// Configuration for the Timeline +const options = { + height: '150px', + width: '90vw' +}; -function renderScrubber() { +onMounted(() => { // DOM element where the Timeline will be attached - const container = document.getElementById('visualization'); + container = document.getElementById('visualization'); + timeline = new Timeline(container, null, options); + + timeline.on("rangechanged", async e => { + store.setTimeRange(e.start.valueOf()/1000 , e.end.valueOf()/1000) + await store.fetchEvents(); + }); +}) + +// timeline.on + +function renderScrubber() { const events = store.events; // Create a DataSet for the timeline items @@ -27,18 +44,12 @@ function renderScrubber() { Object.values(events).map(event => ({ id: event.id, content: event.label || 'No Label', + group: event.label || 'No Label', start: new Date(event.start_time * 1000) // Convert Unix timestamp to Date object })) ); - // Configuration for the Timeline - const options = { - height: '150px', - width: '90vw' - }; - - // Create and render the Timeline - new Timeline(container, items, options); + timeline.setData({items}) } watch(() => store.events, (newDict) => { diff --git a/frontend/src/components/WordCloud.vue b/frontend/src/components/WordCloud.vue index 85abf3d..0da7261 100644 --- a/frontend/src/components/WordCloud.vue +++ b/frontend/src/components/WordCloud.vue @@ -1,6 +1,6 @@