# Capture from two cameras frames on sync 

**URL:** <https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677>\
**Category:** Jetson TX2\
**Created:** [August 18, 2017, 2:32am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677 "2017-08-18T02:32:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidSoto-RidgeRun](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/davidsoto-ridgerun/32/273049_2.png) [@DavidSoto-RidgeRun](https://forums.developer.nvidia.com/u/DavidSoto-RidgeRun)\
**Post date:** [August 18, 2017, 2:32am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/1 "2017-08-18T02:32:01Z")

</div>

Hi,

We are developing an application called SyncSnap, the idea is to be able to capture from two or more cameras frames on sync, with the less time possible between the frames. We are getting good numbers but I was wondering if there is a mode on nvcamerasrc or libargus that we could use to improve more the synchronization. Does NVIDIA has a combination of property values or environment variables that we could set such that several nvcamerasrc instances would capture on sync? This would help us to improve the times that we are getting:

> **[SyncSnap Application | Camera SoC | RidgeRun Developer](https://developer.ridgerun.com/wiki/index.php?title=SyncSnap_Application)**
>
> SyncSnap application allows you to take synchronized snapshots between cameras connected to the same SoC. Learn more about the SyncSnap application no...

Specially on the very first set of images.

-David

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [August 18, 2017, 5:09am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/2 "2017-08-18T05:09:06Z")

</div>

Hi DavidSoto,

Is the result ([SyncSnap Application | Camera SoC | RidgeRun Developer](https://developer.ridgerun.com/wiki/index.php?title=SyncSnap_Application#Testing_Results)) based on hw fsync cameras?

You can refer to syncSensor (~/tegra\_multimedia\_api/argus/samples/syncSensor) in samples of MM APIs to see if help.

---

<div class="post-metadata">

**Author:** ![DavidSoto-RidgeRun](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/davidsoto-ridgerun/32/273049_2.png) [@DavidSoto-RidgeRun](https://forums.developer.nvidia.com/u/DavidSoto-RidgeRun)\
**Post date:** [August 18, 2017, 12:25pm UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/3 "2017-08-18T12:25:11Z")

</div>

Hi vickyy,

```
   Thanks for your reply. Could you elaborate a little bit more on hw fsync cameras? I am not sure to what you are referring to. I will review syncSensor as well.

```

---

<div class="post-metadata">

**Author:** ![snarky](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/snarky/32/10446_2.png) [@snarky](https://forums.developer.nvidia.com/u/snarky)\
**Post date:** [August 19, 2017, 6:27am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/4 "2017-08-19T06:27:48Z")

</div>

“HW fsync cameras” sounds to me like cameras that use a hardware sync cable. Many sensors have a separate input signal that can tell them to start, but it’s often not brought out on camera boards, and even if it is, you need to wire up a GPIO of some sort to actually start it.

---

<div class="post-metadata">

**Author:** ![DavidSoto-RidgeRun](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/davidsoto-ridgerun/32/273049_2.png) [@DavidSoto-RidgeRun](https://forums.developer.nvidia.com/u/DavidSoto-RidgeRun)\
**Post date:** [August 20, 2017, 7:28pm UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/5 "2017-08-20T19:28:47Z")

</div>

Hi Snarky,

Yes, that is my guess too, thanks for your help. I just wanted to check if that is what NVIDIA would recommend too or if the TX1 had a special feature to handle these scenarios.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [August 23, 2017, 3:21am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/6 "2017-08-23T03:21:35Z")

</div>

Hi DavidSoto,

No, we don’t have special feature to handle frame sync use case, just the syncSensor sample as reference, we’re curious how you got the test result in your wiki.  
Regarding the HW sync, that will required synchronization mechanism support on the sensor, and enable it on that board design, currently no plan to do that in NVIDIA side, but you could check with our camera partner whether they implemented it or not.

Thanks

---

<div class="post-metadata">

**Author:** ![DavidSoto-RidgeRun](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/davidsoto-ridgerun/32/273049_2.png) [@DavidSoto-RidgeRun](https://forums.developer.nvidia.com/u/DavidSoto-RidgeRun)\
**Post date:** [August 23, 2017, 3:31am UTC](https://forums.developer.nvidia.com/t/capture-from-two-cameras-frames-on-sync/52677/7 "2017-08-23T03:31:16Z")

</div>

Hi,

```
We were basically capturing a stopwatch in a monitor from all the cameras and checked the value. We are talking with e-consystems they seem to have one camera for that (e-CAM30_HEXCUTX1). We will run the syncsnap test there and report the new values.

```

-David
