Skip to content

Dewarping SDK dewarp single images #791

Closed Answered by vivekatoffice
Daholli asked this question in Axis Windows SDKs
Discussion options

You must be logged in to vote

Hi @Daholli ,
The AXIS Dewarping SDK uses AXIS Media Parser SDK and AXIS Media Viewer(AMV) to read from files and to render but you don't have to use AMP/AMV if you don't want to.

Please take a look at the DewarpDMO example (AXIS Dewarping SDK\Samples\DewarpDMO).


Reference: C:\Program Files (x86)\Axis Communications\AXIS Dewarping SDK\Samples\DewarpDMO\README.html

In the OnDecodedImage function you can see how to send a buffer to be dewarped and how to retrieve it again:

 // Deliver warped input frame to transform
 if(SUCCEEDED(hr))
 {
   IMediaBufferPtr anInputBuffer;
   hr = CMediaBuffer::Create(aVideoSampleBuffer, m_inputFrameSize, &anInputBuffer);
   if(SUCCEEDED(hr))
   {
     hr = …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Daholli
Comment options

@vivekatoffice
Comment options

Answer selected by vivekatoffice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants