RESOLVED: DatToSop error after adding 'Stoner' to project

Hello!

So in my project I am using openCV to generate points within primitives each frame which I put through a DatToSop in order to generate geometry. Everything works wonderfully and as intended until I add in a ‘stoner’ container from the palette. At seemingly random frames it will drop random primitives telling me that the ‘vertex number is out of range’ OR ‘the primitive number must be between 0 and [however many I am producing]’. As far as I can tell there’s no rhyme or reason as to when it decides to do this but on average it’s about every three frames. Again this is only happening if the ‘stoner’ node is connected anywhere in the project.

Any ideas? When looking at the analyzer it seems to split up my project by putting some stoner operators in the beginning of the processing stack.
I’m also using the Pillow python library in order to bring video input into the openCV findContours() function. This outputs coordinates reliably with the ‘stoner’ node.


It is going to be hard to suggest what the issue might be without a file to look at. But one way you might go about debugging this is the pause the playbar and advance frame by frame till you get an error, and then see if you can figure out why that error is occurring.

Thank you for the reply! I actually just figured out how to solve the problem. I was generating the primitive data with a custom OpExecute script which would use OpenCV to analyze an incoming top image. For some reason when using PostCook to run the script it would mess with the output data. When looking at the analyze feature the stoner would prioritize itself above the custom script. When changing the operation to PreCook it worked without a hitch. I still don’t totally understand why this would mess with the point data, but I have at least solved it.