Comments (4)
Hi @whittenator , thank you for your feature request!
Today there is no PTZ API in ACAP Native SDK and the one found in ACAP 3 SDK, axptz, will most likely not be migrated.
It's really good to have your use case and I will forward it as input to future APIs.
from acap-native-sdk.
Thanks for the info! Does the ACAP3 axptz allow you to control or listen to focus?
from acap-native-sdk.
It's handling pan-tilt-zoom operations and in that sense it could control focus by adjusting zoom.
I can mention that in the latest AXIS OS it's possible to call VAPIX from an ACAP application.
I think you posted in another thread that there might be latency problems calling VAPIX, but maybe that was from handling it from a server?
from acap-native-sdk.
@pataxis Yeah, we are using the VAPIX API to adjust focus on the Axis Q6215-LE in a Native SDK plugin we developed but we are noticing that it takes ~500-700ms for the focus to settle "close" to the value we are sending it. Our recursive algorithm is similar to this:
- void setFocus(int focus)
- bool pollForFocusUntilSetteled()
- contrastEnhance(cv::Mat Img)
- measureSharpness(cv::Mat Img)
Repeat until sharpness is at the optimal value.
In step 2, we have timed it multiple times with various sleeps() between polls and it still takes ~500-700ms to settle on the focus value we have set. With such a delay, it makes our autofocus algorithm really slow as we are missing a lot of frames in those 500-700ms. Not sure if this is how long it takes the PTZ camera's focus feedback system to really achieve the value or if the VAPIX is delayed?
It would be fantastic if the images themselves had metadata of the zoom/focus they were captured at. Is there a possibility to enable this?
Thanks
from acap-native-sdk.
Related Issues (10)
- Dockerfile arguments HOT 1
- Automatically upgrading Dockerfiles HOT 1
- Question: which SDK and compiler to use for Ambarella CV25 HOT 3
- Building issue with SDK 4.2 HOT 4
- issue with "axoverlay_set_overlay_size" fw 10.8.1 + HOT 2
- Dependency Dashboard
- OpenSSL removed from dockerfile ? HOT 4
- AxParameter example missing HOT 2
- Is there a native sdk library for handling sound? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acap-native-sdk.