SyncSnap Application: Difference between revisions

From RidgeRun Developer Wiki
(Update store product)
Line 4: Line 4:
<td>
<td>
<html>
<html>
<div class="ecwid ecwid-SingleProduct-v2 ecwid-SingleProduct-v2-bordered ecwid-SingleProduct-v2-centered ecwid-Product ecwid-Product-59350608" itemscope itemtype="http://schema.org/Product" data-single-product-id="59350608"><div itemprop="image"></div><div class="ecwid-title" itemprop="name"></div><div itemtype="http://schema.org/Offer" itemscope itemprop="offers"><div class="ecwid-productBrowser-price ecwid-price" itemprop="price" data-spw-price-location="button"><div itemprop="priceCurrency" content="USD"></div></div></div><div customprop="options"></div><div customprop="addtobag"></div></div><script type="text/javascript" src="https://app.ecwid.com/script.js?7804024&data_platform=singleproduct_v2" charset="utf-8"></script><script type="text/javascript">xProduct()</script>
<div class="ecwid ecwid-SingleProduct-v2 ecwid-SingleProduct-v2-bordered ecwid-SingleProduct-v2-centered ecwid-Product ecwid-Product-84749020" itemscope itemtype="http://schema.org/Product" data-single-product-id="84749020"><div itemprop="image"></div><div class="ecwid-title" itemprop="name" content="SyncSnap Coordinated Snapshots"></div><div itemtype="http://schema.org/Offer" itemscope itemprop="offers"><div class="ecwid-productBrowser-price ecwid-price" itemprop="price" content="2499" data-spw-price-location="button"><div itemprop="priceCurrency" content="USD"></div></div></div><div customprop="options"></div><div customprop="addtobag"></div></div><script type="text/javascript" src="https://app.ecwid.com/script.js?7804024&data_platform=singleproduct_v2" charset="utf-8"></script><script type="text/javascript">xProduct()</script>
</html>
</html>
</td>
</td>

Revision as of 18:31, 18 May 2017

Template:Eval SDK Download, Demo Image download and Contact Us buttons


Overview

SyncSnap application allows you to take synchronized snapshots between cameras connected to the same SoC, such as a Tegra TX1 or Tegra TX2. Syncsnap application uses a client–server model design approach. The application consist of three basic sections:

  • A syncsnapd daemon application that runs as a state-machine process for handling snapshots.
  • A libsyncsnap library support the IPC to syncsnapd daemon that exposes the available SyncSnap methods.
  • A syncsnap example client application which uses libsyncsnap to access the syncsnapd exposed APIs showing how to use SyncSnap

Currently SyncSnap has been tested on TX1 boards configured with up to six cameras taking synchronized snapshots. Other features that are currently under development are:

  • Ability to synchronize capture pipelines using a PTP Clock (sync capture between boards).
  • A library to integrate calls
  • TX2 support

Testing Results

By pointing six cameras into a stopwatch timer RidgeRun has been able to verify that SyncSnap is able to capture synchronized buffers from six cameras:

First Set
Num Camera Time on screen
1 29.374
2 29.358
3 29,391
4 29.358
5 29,391
6 29.358
Second Set
Num Camera Time on screen
1 29.886
2 29.886
3 29.886
4 29.886
5 29.886
6 29.886

Getting the code

SyncSnap is an add-on to RidgeRun's professional SDK. You can purchase SyncSnap application, with full source code, from the RidgeRun Store.

SyncSnap usage example

ubuntu@tegra-ubuntu:~$ syncsnapd --help

Usage:
  syncsnapd [OPTION...] - Syncsnapd app

Help Options:
  -h, --help                        Show help options
  --help-all                        Show all help options
  --help-gst                        Show GStreamer Options

Application Options:
  -l, --save-location-path          Set the location path to save the pics, default: 
  -n, --num-cameras                 Set the number of cameras to use in order to take the snapshot 
  -s, --num-snapshots               Set the number of snapshots per start-capture command by each camera 
  -p, --enable-ptp                  Enable attach the Syncsnap Daemon to a PTP CLK (experimental) 
  -d, --domain                      PTP domain
  --stats                           Print PTP statistics