Questions about d-bus for a specific application

Felipe Gasper felipe at felipegasper.com
Thu Feb 18 13:54:03 UTC 2021


> On Feb 18, 2021, at 8:50 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
> 
> On Thu, Feb 18, 2021 at 01:01:05PM +0000, Stern Guillaume wrote:
>> Dear d-bus team,
>> 
>> I am working on a research project at HEIG-VD (engineering school in Switzerland) and I would like to make two computers communicate. The general idea is the following:
>> 
>> 
>>  1.  Capture an image with a C++ application on the first computer (Windows-based)
>>  2.  Send the image to the second computer (Linux-based)
>>  3.  Process the image on the second computer with a Python program and determine a bounding box
>>  4.  Send the bounding box coordinates back to the first computer
>>  5.  Visualize the original image + bounding box on the first computer
>> 
>> If the process is working for one image, then the next step would be to have a video as input, processing the frames and determining the bounding boxes in real-time between the two computers.
>> 
>> I was told by one of my colleagues that d-bus could provide me a solution, so I read about it in the internet. However, I have a few questions:
>> -is d-bus suitable for real-time applications?
> 
> How are you defining "real-time application" here?
> 
> And as you are dealing with a network, how does "real-time" come into
> play at all?
> 
>> -more generally, do you think that d-bus would be adapted to my application?
> 
> I doubt it, as dbus as written, is not across a network, right?

You might look at WAMP for a “network-savvy D-Bus”.

-F


More information about the dbus mailing list