def draw_fr_marker(fr, fill=True):
    if not fr_big_enough_to_draw_on(fr,
                                    settings['mrk_w_fits'],
                                    settings['mrk_h_fits']):
        return
    w = fr.shape[1]
    h = fr.shape[0]
    center = (int(w - (settings['mrk_r_pad'] + settings['mrk_out_radius'])),
              int(h -  settings['mrk_d_pad'] - settings['mrk_out_radius']))
    cv2.circle(fr,
               center,
               settings['mrk_out_radius'],
               settings['mrk_out_color'],
               settings['mrk_out_thick'],
               settings['mrk_line_type'])  # outer circle
    cv2.circle(fr,
               center,
               settings['mrk_in_radius'],
               settings['mrk_def_color'] if fill else settings['mrk_fill_color'],
               settings['mrk_in_thick'],
               settings['mrk_line_type'])  # flashing inner circle
dataset/ETHPy150Open dthpham/butterflow/butterflow/draw.py/draw_fr_marker/original