A
A
Asker2015-06-21 16:48:38
Programming
Asker, 2015-06-21 16:48:38

Fast inter-process communication?

I want to transfer frames from the selected camera to a third-party program for processing in Unity3d (OPENCV)
In realtime, because the program must process the frame and return the command what to do, where to go next.
How to transfer this data quickly?
The data is a picture in JPG with a size of 3000:2000px
with a frame rate of at least 20 per second.
Will I keep up with UDP?
or you need to think in the direction of shared memory or named pipes

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2015-06-21
@xmoonlight

To be honest, you are doing an architectural cut that will definitely lead to a hit-and-miss...
Two options:
1. All on OpenCV and native
2. All on Unity3D with the OpenCV module.

V
Vitaly Pukhov, 2015-06-21
@Neuroware

what prevents unity from connecting opencv, C#, as it were, hints at the presence of such an opportunity

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question