--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/11634b15-5c8d-40a9-9655-2f7c8a3cfe6en%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/11634b15-5c8d-40a9-9655-2f7c8a3cfe6en%40chromium.org.
Jackie's proposed approach should offer more throughput if works -- is the PiP API cross-browser?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAAgdh1%2BfyRXvHAVo0zUBLjtQ_%2Ba%2BPyCDfBqnn4C1fdONhCv2OQ%40mail.gmail.com.
--Thanks,
James
James Augeri, PhD, Founder
Jingle, fix your workflow chaos
Web, https://heyjingle.com/
Email, ja...@heyjingle.com
Cell, 402-522-6787
Twitter, @DotDotJames
Jackie's proposed approach should offer more throughput if works -- is the PiP API cross-browser?
On Tue, Dec 29, 2020 at 3:55 PM Jackie Han <han.g...@gmail.com> wrote:
Hello, I thought of a very simple solution. You don't need to send webcam video from background script to content script. You can use Picture-in-Picture (PiP) api to swap out your video from background to front end ( and PiP window above all other windows).I didn't test whether the PiP api can work in the background page, I've only used it on regular web pages before.
On Wed, Dec 30, 2020 at 5:03 AM Oz Ramos <midib...@gmail.com> wrote:
Hi! I've been working on a chrome extension to help you use the browser handsfree with support for custom mappable Face and Hand gestures (here's me scrolling Reddit with a pinch gesture):
To get this to work, I run computer vision in the background script
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/d5dead5d-71f8-4ab7-8b45-214d7ae84d7bn%40chromium.org.
|
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/db482e64-6c97-44d3-b801-aee3a0ebadd0n%40chromium.org.
Thank you all for your suggestions, all of them are applicable to various parts of my extension! I ended up going with Picture in Picture. Actually what I did was render webcam into canvas, render the green computer vision wireframes on top of them, and then use that canvas as a srcObject for a separate <video>. That composed video is what I then PiP and it gives the cool effect of being able to see the wireframes on top of your hands!
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/acf64fb1-049f-4068-83e6-20b963c3e22dn%40chromium.org.
Thanks Jackie! I still can't believe how well it runs with PiP, I don't notice any performance loss at all. Your suggestion also helped me accidently discover that you can set a canvas as a source to a video which is I've dreamt of for a while but didn't think it was possible.
For v3, background page that holds the core logic for computer vision stuff, can be migrated to option page(page that lies under the extension url ). So when ever user clicks on extension icon, that option page can be opened and utilised as background page.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAK7w0Rra4K6MbXWCT-XNpMaiQ033_6tuct0syqw%2B2a-9i1KWsw%40mail.gmail.com.
A little off topic. "a popup/window that is always on top" is a common feature request. However, it seems that Chrome doesn't want to support this feature because of UI / UX considerations. PIP implements this feature, but only for video.
What is the requirement?