Video-Stabilization | Stabilizes videos by compensating for camera motion | Camera library
kandi X-RAY | Video-Stabilization Summary
kandi X-RAY | Video-Stabilization Summary
Stabilizes videos by compensating for camera motion using OpenCV.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Video-Stabilization
Video-Stabilization Key Features
Video-Stabilization Examples and Code Snippets
Community Discussions
Trending Discussions on Video-Stabilization
QUESTION
I'm writing a custom app using OpenCV for computer vision on an Android phone (Moto Z). To complicate things even more, I have a fisheye add-on lens attached to the camera.
Now, I've noticed that when I move the device while getting preview images, the circular region illuminated by the fisheye lens shifts noticeably and also jitters even when the device is not moving (see https://youtu.be/J4Ns0mzgFww for illustration, hard to describe).
The effect looks like the fisheye lens is physically shifting in front of the actual camera lens, but it is quite rigidly attached, and this happens even with very slow movements. So my only explanation is that there is some sort of low-level image stabilization process running somewhere in the background.
Unfortunately, this totally messes up my camera calibration, because cx/cy are no longer stable. I've had a look at how can i set the camera function that anti-shake(image Stabilizer) at android, but the Camera.Parameters
object tells me that video-stabilization-supported=false
, and changing the scene mode also doesn't make any difference.
Any other hints/ideas regarding how to get unstabilized preview images? I suppose using the Camera2 API in RAW mode might work, but that would mean rewriting a large chunk of the OpenCV image acquisition code... alternatives preferred :-)
...ANSWER
Answered 2019-Aug-21 at 12:32As usual, I figured it out myself 15 minutes after posting the question. Oh well. Anyway.
This is possible with the Camera2 API via
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Video-Stabilization
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page