add text time to debug
@@ -355,7 +355,7 @@ def create_frame(codec, beatmap, skin, paths, replay_event, resultinfo, start_in
while frame_info.osr_index < end_index: # len(replay_event) - 3:
status = render_draw(beatmap, component, cursor_event, frame_info, img, np_img, pbuffer,
preempt_followpoint, replay_event, start_index, time_preempt, updater, settings)
-
+ cv2.putText(np_img, str(replay_event[frame_info.osr_index][TIMES]), (100, 100), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 255, 255, 255), 2)
if status:
im = cv2.cvtColor(np_img, cv2.COLOR_BGRA2RGB)
writer.write(im)
