Attached is my project tree and I am trying to use function call draw_Rect
on main.py
from output.py
In init.py
in the video_process folder, I imported as follow
import main
import output
import variables
But when I try to import output
from main.py
it is grayed out.
How do I import and use the function in output.py?
def draw_rect(video):
return cv2.putText(video, str("video_in"), (300, 100), cv2.FONT_HERSHEY_COMPLEX, 2, (255, 255, 0), 2)
this is the function.