neoWebCam...is it possible to zoom? - Forum

Forum Navigation
You need to log in to create posts and topics.

neoWebCam...is it possible to zoom?

Hello, I am using neowebcam for a small webapp for data collection in the field to be used mainly via mobile phone or tablet. I was wondering how I can zoom in on the camera. I thought I could use neoPanZoom but I tried and it doesn't seem useful in this case. Or maybe I'm wrong. Thank you in advance for any advice you will give me.

Rocco

@roccocogliano current neoWebcam plugin does not have that possibility.
Anyway are you talking about using camera zoom or digital zoom?

If you just want to see pixels bigger (digital zoom) perhaps this will work:

.zoom {
transform: scale(2); /* (200% zoom)*/
}

Then add or remove the zoom using addClass or removeClass commands:

AddClass "Container1" "zoom"
RemoveClass "Container1" "zoom"

About camera zoom, please take a look here:
https://web.dev/camera-pan-tilt-zoom/

Regards.

Vadim and roccocogliano have reacted to this post.
Vadimroccocogliano

Thank you so much @luishp for your valuable suggestions
and sorry for the late reply.

Rocco

luishp has reacted to this post.
luishp