# Digital zoom on hi-res camera

Source: https://forum.modalai.com/topic/3372/digital-zoom-on-hi-res-camera
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: voxl-sdk
Posted: 2024-04-29 16:56:39 UTC by Rowan Dempster
Replies: 4 · Views: 1030

## Rowan Dempster · 2024-04-29 16:56:39 UTC

Same question as https://forum.modalai.com/topic/1529/digital-zooming-with-hi-res-camera-imx214-on-voxl2 but in 2024 :)

## Reply by Guest · 2024-04-29 17:04:38 UTC

@Rowan-Dempster 

Same response as then, we don't have anything implemented for digital zooming as far as I'm aware but it wouldn't be too difficult to do with `libmodal-pipe` and `opencv`, happy to help you out with this if you'd like.

Thomas

## Reply by Rowan Dempster · 2024-05-10 21:08:36 UTC (in reply to Guest)

@thomas Hey Thomas can you recommend an implementation approach that would not copy the 4k data? James also mentioned that someone in Philly was working on a Android C2D approach that would be integrated into voxl-camera-server eventually.

## Reply by Guest · 2024-05-10 21:24:12 UTC (in reply to Rowan Dempster)

@Rowan-Dempster 

Not sure I understand what you mean by "not copy the 4k data", are you trying to perform the digital zoom prior to the image frame even being posted as a pipe? If so, I do know the Philly guy (@Alex-Kushleyev) has made progress on this approach and so it's on our roadmap but not high priority.

Sorry, hope this helps somewhat.

Thomas

## Reply by Rowan Dempster · 2024-05-10 22:23:30 UTC (in reply to Guest)

@thomas I assume we don't want to be dealing with 4k raw arrays on the CPU for performance reasons. So yeah as early as possible in the image proc pipeline, and how early we can push it is what I'm asking for advice on. We'll also reach out to @Alex-Kushleyev thanks!!
