I apologize for not responding earlier due to workload. If I am using the OpenCV “qui” functions in a separate function, how can I integrate that function into the main thread? I was connecting to that function using “g_signal_connect.” Could you provide more details and advice on how to achieve this? Thank you.