Open hiroMTB opened 1 year ago
hey thanks for message and sorry, i havent seen it earlier. did you figure out how to fix it? i am quite busy with work, but can have a look once a have some free time.
I end up making own MediaPipe OSC Sender because I couldn't fix the issue, and also MediaPipe is updated. I'm also bit busy at the moment but would be nice to have time to contribute updating Popeye later. Thanks for your message!
i will hopefully find some time over christmas, planning to updat ethe lib. there seems to be an issue with the electron bundle. it is way to big. potentially will port it to tauri.
Cool, never heard of tauri but looks interesting.
i started porting it to tauri, which now reduces the bundle size to 20mb instead of 600mb. still some fixes left to do.
in case you wanna give it try. let me know how it works for you. i also will cleanup the js part soon, it got a bit messy. and should update the media pipe libs. any contributions are welcome of course.
Cool Thomas! I will try it out!
Last year, we made our own webApp that communicates with oF via websocket (without UDP). I will ask if we can publish the app.
Recent updates of MediaPipe improves reducing jittering and adds new parameters (visibility, if I remember correctly).
On Tue, 4 Jun 2024, 11:40 Thomas Geissl, @.***> wrote:
i started porting it to tauri, which now reduces the bundle size to 20mb instead of 600mb. still some fixes left to do.
in case you wanna give it try. let me know how it works for you. i also will cleanup the js part soon, it got a bit messy. and should update the media pipe libs. any contributions are welcome of course.
— Reply to this email directly, view it on GitHub https://github.com/thomasgeissl/popeye/issues/21#issuecomment-2147084138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABPGAAWXJQGXZFMBBW3LITZFWDQHAVCNFSM6AAAAAA554DLAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGA4DIMJTHA . You are receiving this because you authored the thread.Message ID: @.***>
sounds good. and quite related, i started working on an webview for oF. that helps to get rid of the ws communication. basically an oF based electron. https://github.com/thomasgeissl/ofxChoc/tree/main/example-webview
I just tried ofxChoc and all works great on macOS 14. So I tried replacing /dist contents of example-webserver_webview example with our MediaPipe webApp. and WOW! Magic!
thanks for giving it a try and reporting back. glad to hear that it worked without issues. the event system might need some internal tweakings, but i think the basics are already there.
Webcam works, MediaPipe works, Landmark detection works, Gui works! One issue I found is that video doesn't record. (We have a HTML5 video recording feature for webcam input to adjust MediaPipe parameters). Great work!
thanks. feel free to add an issue on the other repo and move that conversation over there. probably nothing i can fix easily, maybe more an webkit issue or how it is implemented in choc. wonder if it works on windows.
btw, I'm quite surprised to see that oF's Project Generator is about 430MB. It might be good to re-write with Tauri.
yeah, electron is quite heavy. also it takes a bit longer to load the app. i would like to see it written with ofxChoc, since it has a c++ backend instead of rust.
oh i see, that's also sounds good.
electron -> tauri -> oF
since i am more comfortable with c++ than rust. here is the version with an openFrameworks backend. https://github.com/thomasgeissl/ofxChoc/tree/main/example-popeye
i should remove the empty oF window and bundle the frontend with app, or at least auto download it from github (releases, or gh pages version). also, i wonder if there is an easy way to download, cache and serve the frontend part from the c++ side. maybe similar to how PWAs do that. could be nice to have at least the frontend auto update.
Hello Thomas, thanks for your great work. Just reporting that version 0.0.3 doesn't work on macOS 13.4.
but if I compile code, it works well.