Open ShootingStarDragon opened 1 year ago
import FCVA
here i define the cv function, take a frame, return a frame:
@FCVA
def my_cv_function(inputframe):
return outputframe
if __name__ == 'this filename':
FCVA.run()
reading list they didn't get into the code details RIP
stuff ppl need to know: they get the frame, both dicts, and need a flag if they're doing an inner while True loop...
shared_metadata_dictVAR["toggleCV"] and what it does (there is a check for open_media and open_appliedcv subprocesses )
so their cv function must accept:
shared_metadata_dict["latest_cap_frame"],shared_analysis_dict ,shared_metadata_dict
and then must break in the case for things like mediapipe