Hi team,
I am working on Nvidia drive orin which has drive OS 6.0.8.1.
I want to execute three programs concurrently using multithreading. I was able to execute two codes at same time which includes Sample object detector tracker and Drowsiness detection. For this, I had created two threads to execute these programs concurrently and it worked. But now I want to use same sample object detector tracker but with different video feed. It is showing an error as “Duplicate arguments found” and “can only create one app in the process”. Could you please help me with this?
Dear @akshay.tupkar,
You meant to run two object detector tracker and drowsiness in parallel?
Could you elaborate more on the error? Is it occuring any of the DW module?
Dear @SivaRamaKrishnaNV
Yes I want to execute two sample object detector tracker and drowsiness detection in Parallel.
This is an error I am encountering with
Creating thread for pedestrians detection
terminate called after throwing an instance of ‘std::runtime_error’
what(): Can only create one app in the process.
Aborted
It is not clear from the error. It does not look like an error from DW modules. Is it like you repurposing the sample object detector sample code?
Yes @SivaRamaKrishnaNV
I want to run the same code twice in different threads
This indicates, same ObjectTrackerApp is used to create two instances of object detector which is not allowed per /usr/local/driveworks/samples/src/framework/DriveWorksSample.cpp#77
. Does drowsiness also implemented as class inherits DriveWorksSample similar to ObjectTrackerApp?
Dear @SivaRamaKrishnaNV
Drowsiness detection has not been implemented as per driveworks module. I have used opencv for detecting drowsiness and the operation is executed in different thread
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.