-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from gift-surg/18-extend-api-to-support-stereo…
…-streams 3D capture on Blackmagic DeckLink 4K Extreme 12G
- Loading branch information
Showing
25 changed files
with
1,107 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ src/*.egg-info | |
*.swp | ||
src/tests/pipeline/mtr-build | ||
gg-iss-16 | ||
gg-iss-5 | ||
bm3d-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ Examples | |
scipy | ||
encoding | ||
complex | ||
stereo | ||
|
||
Citing GIFT-Grab | ||
^^^^^^^^^^^^^^^^ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. _Stereo: | ||
|
||
Capturing stereo video | ||
====================== | ||
|
||
GIFT-Grab allows for capturing stereo video streams from frame grabbers supporting this | ||
feature. | ||
The example below demonstrates how stereo frames can be acquired and saved to individual | ||
image files. | ||
Running this example requires GIFT-Grab built/installed with support for | ||
`Blackmagic DeckLink 4K Extreme 12G`_ and NumPy_. | ||
The example uses OpenCV_ to save video frames to disk. | ||
|
||
.. _`Blackmagic DeckLink 4K Extreme 12G`: https://github.com/gift-surg/GIFT-Grab/blob/master/doc/pypi.md#blackmagic-decklink-4k-extreme-12g | ||
.. _NumPy: https://github.com/gift-surg/GIFT-Grab/blob/master/doc/pypi.md#numpy | ||
.. _OpenCV: http://www.opencv.org/ | ||
|
||
The full source code of the example is below. | ||
Please follow the comments and the flow of code. | ||
This example is also available on GitHub_: | ||
|
||
.. literalinclude:: ../../src/tests/blackmagic/stereo_capture.py | ||
:language: python | ||
|
||
.. _GitHub: https://github.com/gift-surg/GIFT-Grab/blob/master/src/tests/blackmagic/stereo_capture.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.