Hi, I would like to run a custom script on my camera (via a Script node) but change its behavior based on values sent over from the host computer. For example, I can use a CameraControl node to adjust the exposure time on the camera. I would like to have this same functionality but be able to adjust values in my custom script based on messages sent from the host. Ultimately, my goal is to essentially add the ability to adjust the ISP scaling on the fly by instead using the resize() function from OpenCV. The amount of ISP scaling needed will be sent over from the host.
More specifically, would I use a Buffer object to send my data from the host to the camera? How do I identify and unpackage that data within the script defined in the Script node? Could you also point me to an example where an ImgFrame object is modified in a Script node and then sent to and received by the host? Thanks!