Hello,
I'm trying to write a python script which needs to get the raw texture data from a WindowCapture source, after all existing filters have been applied, in order to check the average color at several locations of the texture, and do that every few seconds. I could find an example script with a timer and the functions to get the source i'm looking for, but i'm really not sure how to get the texture from that source.
I've seen that Jim advised other people to use an async filter to do that operation, but since the filter is also of type obs_source_t, i still don't know how to extract the texture.
I'm trying to write a python script which needs to get the raw texture data from a WindowCapture source, after all existing filters have been applied, in order to check the average color at several locations of the texture, and do that every few seconds. I could find an example script with a timer and the functions to get the source i'm looking for, but i'm really not sure how to get the texture from that source.
I've seen that Jim advised other people to use an async filter to do that operation, but since the filter is also of type obs_source_t, i still don't know how to extract the texture.