Commit Graph

20 Commits

Author SHA1 Message Date
wukko
9225b31986 web/workers/fetch: retry 5 more times before throwing an error
hopium

should probably add a timeout too
2025-03-06 14:30:52 +06:00
wukko
564fc65297 web/workers/remux: init libav only once, terminate after usage 2025-02-12 13:19:13 +06:00
wukko
adaf502d66 web: remove the early prototype of cutout functionality
at the time of this commit, there are no models that are good enough and can run in a web browser. this feature might come back when web onnx gets support for beefier models.
2025-02-07 16:55:28 +06:00
wukko
61efa619a2 web/queue: fix filename on downloads, add mimetype, remove duplicates
filename is no longer passed to workers for no reason
2025-02-02 00:31:54 +06:00
wukko
5464574a3e web/workers: use opfs instead of blobs for better memory management
spent almost an entire day figuring this out but it's so worth it
2025-02-01 23:26:57 +06:00
wukko
1590490db2 web/queue: add a remux worker to saving pipeline, use pipelineResults 2025-01-31 11:22:31 +06:00
wukko
f2325bdc24 web/workers/remux: accept several files, custom args and output 2025-01-31 11:16:04 +06:00
wukko
d15f1ec8f2 web/workers/remux: differentiate remux worker file event 2025-01-30 18:58:02 +06:00
wukko
00106e9379 web/libav: accept several inputs, refactor 2025-01-30 18:48:45 +06:00
wukko
5d7724762d web: very early implementation of a fetch worker 2025-01-30 01:04:33 +06:00
wukko
44a99bdb3a web/queue: add remuxing progress & general improvements
and a bunch of other stuff:
- size and percentage in queue
- indeterminate progress bar
- if libav wasm freezes, the worker kill itself
- cleaner states
- cleaner props
2025-01-25 01:25:53 +06:00
wukko
8a5b25b4ce web/removebg: fix the incorrect file condition 2025-01-17 01:51:10 +06:00
wukko
b85771dc1d web/removebg: differentiate messaging even more, add temporary logging 2025-01-17 01:45:11 +06:00
wukko
28eb9ebe5d web/remux: improve page <-> worker messaging 2025-01-17 01:16:51 +06:00
wukko
8e9347b4a0 web/removebg: fix functionality after build, improve pipeline
- no longer killing the worker if it has done its job correctly and is expected to shut itself down
- no longer reading messages not intended for the worker handler and also made the cobalt messaging distnict
2025-01-17 01:03:59 +06:00
wukko
f544768784 web/cutout: add a button to cancel the job 2025-01-15 23:14:29 +06:00
wukko
1ed2eef65a web/remux: convert to a web worker (wip) 2025-01-15 22:11:08 +06:00
wukko
28d8927c08 web/removebg: convert to a proper web worker
no more hanging ui :3
2025-01-15 17:22:34 +06:00
wukko
2f2d39dc4c web/removebg: fix types (remove garbage) 2025-01-14 18:30:33 +06:00
wukko
e02e7f2260 web: very early proof-of-concept of on-device image background removal 2025-01-13 01:26:54 +06:00