10/31/2016

Real-time N camera stitching Class.

As you can see in the following video,
I created a class that stitching n cameras in real time.
https://www.youtube.com/user/feelmare/search?query=stitching

refer to this label, about stitching in my blog.
http://study.marearts.com/search/label/Stitching

The class name is CMareStitching.
This class was created to stitching_detailed examples of opencv by referencing.
So if you try, everybody can create this result.

The principle of class ... it is the main idea of ​​separating the calculation online and offline calculations such as url.
http://study.marearts.com/2015/02/real-time-stitching-multi-video-to-one.html


Main part to use this class is as follows.
< gist code start >

< gist code end >

First enter the index to camera stitching.
Press "p" is a real-time panoramic image after matching relations calculation.
Pressing "r" again return to the camera image.
It is quit by pressing the "q".

When you press a key it must be pressed on the video screen active.
The command window active, and not input the key.

As you see the main source code, there is no easy interface only code. so, you have to modify the code for your purpose, ex) the camera number.

The project code is uploaded privately on github but not free.
https://github.com/MareArts/Realtime_N_camera_Stitching
Why not share FREE asked, 2 reasoning, an little effort of me and Fundraising operating costs of blog(for other planed project)... very Sorry.

Below url is header, lib, dll files for developing.
You have to set path in visual studio.
https://www.amazon.com/clouddrive/share/zv7xEoQ0iBm0Cnaw76aTdQuTE1pdPskba0hgqJdb42n?ref_=cd_ph_share_link_copy

And this url is demo files. you can test to download.
The url includes execute file and related dlls.
https://www.amazon.com/clouddrive/share/zOZXmvrYTb4Er0OYg5qezmk24OPKq0znWlZKly4ZC01?ref_=cd_ph_share_link_copy


And this project coded by win32, opencv 249, visual studio 2012.

Thank you.


updating 42/06/2018
I have decided to sell source code ^^
If you have interest, go to here, you can buy source code


** 2021.06 updated ** 
realtime stitching SDK: 




#tags
VideoCapture, CMareStitching, stitching, realtime stitching

21 comments:

  1. Hello, Mare,
    the following video is in your private channel, not for public viewing.
    https://www.youtube.com/my_videos?o=U&sq=stitching

    I am planning to do something similar, so I am interested in your video.
    By the way, Great job!
    Thanks!
    Peter

    ReplyDelete
    Replies
    1. Thank you for your interest.
      url has been modified

      Delete
  2. Hello Mare,

    I´ve got a question. When an object passes near the cameras, is the homography lost?

    Tx u and congrats, you have done a great job

    ReplyDelete
    Replies
    1. The homography matrix is calculated only once through the captured image from cameras.
      After routine, stitching is doing using the homography matrix.
      Thank you.

      Delete

  3. Error (active) E1696 cannot open source file "MareStitching.h" how i can resolve it

    ReplyDelete
    Replies
    1. I am very very sorry.
      MareStitching class is not opened.
      The source code is example how to use marestitching.
      Thank you.

      Delete
    2. Is there any way to know more details in MareStitching.h?

      Delete
    3. I am sorry, MareStitching class(.h and .cpp) is not provide for free.
      But you can test the performance by executable files.
      https://www.amazon.com/clouddrive/share/zOZXmvrYTb4Er0OYg5qezmk24OPKq0znWlZKly4ZC01?ref_=cd_ph_share_link_copy
      Thank you.

      Delete
    4. This comment has been removed by the author.

      Delete
    5. The"MareStitching.h"and cpp is the main algorithm for the real-time stitching?

      Delete
    6. This comment has been removed by the author.

      Delete
    7. This comment has been removed by the author.

      Delete
  4. Kim,

    I posted a comment in your youtube link as well. Please let me know how i can get the source code.
    Thanks

    ReplyDelete
    Replies
    1. I am donating my efforts and sharing it on github.
      I am very sorry, I did not open code for free.
      Thank you.

      Delete
  5. Hi, How do you determine if you need to update on your flow chart, Thank you

    ReplyDelete
    Replies
    1. Hi,
      There are two approach.
      One is to set update time manually.
      Second is to check matching rate in background processing.
      Basically, we usually use sift algorithm to find feature and for matching in stitching process.
      We can know that is time to update when the matching rate is decrease.
      Thank you.

      Delete
  6. Hi Kim,

    How can I purchase the code? Please advice

    Thanks

    ReplyDelete
    Replies
    1. Could you tell me your email?
      My email is feelmare@daum.net
      Thank you.

      Delete
    2. I've contacted you for purchasing details. Please check your email.

      Delete
    3. Hello, Checo
      Sorry, I didn't receive your email.

      Happy new year~!

      Delete
    4. This comment has been removed by the author.

      Delete