Hi! Please help me with these questions.
I work on a project using Snap Camera. I need to change presets on it so i use a chopexecute which runs the following.
from pyautogui import hotkey
hotkey(‘ctrl’, ‘r’)
which is a hotkey in Snapcam.
My Project normaly runs at 30 fps. triggering the ChopExecute drops it to 20 for a moment. Inspecting it with probe showed it spiking to 100 msec. Is there something i am missing? Is it that intensive of a process created by this code snippet? Do i need to do the import beforehand once or does that not matter? Is hotkey a bad way to access Snapcam, is there an alternative or am i just out of luck?
thanks a lot in advance