My full error as is
TypeError: Required argument ‘rec’ (pos 2) not found
Traceback:
File "/home/stark/anaconda3/envs/mark/lib/python3.6/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.__dict__)File "/home/stark/streamlit/streamlit.py", line 129, in <module>
color=(220, 0, 0))
Can you double check that your box variable is a list containing 4 integer points? The error above seems to be that opencv is looking for either two tuples or a rec object via function overload
but this error pops up
TypeError: Expected Ptrcv::UMat for argument ‘img’
Traceback:
```
File "/home/stark/anaconda3/envs/mark/lib/python3.6/site-packages/streamlit/script_runner.py", line 332, in _run_script
exec(code, module.__dict__)File "/home/stark/streamlit/streamlit.py", line 129, in <module>
(220, 0, 0), 2)
```