In the process() function of your module, doing a get() on the input frame will block until that frame is fully captured, and will return as soon as possible after the frame is ready. That would work both in Python and C++. If you get the frame as raw (jevois RawImage format), then no CPU will be spent converting it to another pixel format, hence getting you the shortest latency between frame ready and inframe.get() returning.
We also have had some previous discussion on this topic which I just found, here:
http://jevois.org/qa/index.php?qa=440