Function for drawing arrows

Since I am not a python expert, the function is currently only available for c++
the type of `img` should be `InputOutputArray`