Hello, this is the patch i’m working on.
The main problem atm is the incredibly high CPU utilization, do you have any suggestion?
Thank you,
Mario
Hello, this is the patch i’m working on.
The main problem atm is the incredibly high CPU utilization, do you have any suggestion?
Thank you,
Mario
whats the most demanding on the cpu is probably opencv. image processing on the CPU is quite heavy. you might try to limit fps the patch runs with. use the mainloop node and set it to 30 fps for example. that would also match the videoin fps you seem to use. no need to process faster than that. the output rendering wont be as smooth but that will reduce the load on the machine.
also try reducing the image resolution opencv has to process if possible.
if an OpenCV process is slow, see if the VL.OpenCV help “HowTo Apply operations asynchronously” can be applied.