imagej.js icon indicating copy to clipboard operation
imagej.js copied to clipboard

Plugin request: Webcam Capture

Open gsnitker opened this issue 2 years ago • 2 comments

Hello,

I'm not sure if it is possible via the browser, but I'd like to request that the webcam-capture plugin from ImageJ be included in the imageJ.js plugins. This is a great tool for connecting to portable usb microscopes or cameras and allow for users to perform analysis on live images. There is a growing group of archaeologists and paleoecologists that use the webcam capture plugin for measuring artifacts and other materials in a live view. Unfortunately, changes in Mac permissions over the last few operating system updates have meant the plugin no longer works for mac users. Having the plugin available via the browser and OS-independent would be very helpful!

Link: https://imagej.nih.gov/ij/plugins/webcam-capture/index.html

gsnitker avatar Dec 06 '22 22:12 gsnitker

Hi again,

I'm just checking in to see if it might be possible to incorporate the webcam-capture plugin from ImageJ into imageJ.js plugins. The link to the original plugin and documentation is here:

https://imagej.nih.gov/ij/plugins/webcam-capture/index.html

And thanks so much for migrating imageJ to the browser! It is super helpful!

Best, Grant

gsnitker avatar Jan 25 '23 17:01 gsnitker

Hi @gsnitker Thanks for the request.

At first glance, I think it's not possible to port that plugin to run in the browser due to the difference in handling cameras in the browser. However, we can potentially use javascript to directly access to webcams. I don't have bandwith to work on this right now, but just in case if you can work with javascript, or get someone to work on this, see this tutorial here: https://davidwalsh.name/browser-camera

We need to implement this directly in imagej.js.

oeway avatar Jan 25 '23 18:01 oeway