natanielruiz
2017-10-30 74b9b9124b663e93aa66915c781f7fdf6cc485a4
a word
1个文件已修改
2 ■■■ 已修改文件
code/test_on_video_dlib.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
code/test_on_video_dlib.py
@@ -156,7 +156,7 @@
                # utils.plot_pose_cube(frame, yaw_predicted, pitch_predicted, roll_predicted, (x_min + x_max) / 2, (y_min + y_max) / 2, size = bbox_width)
                utils.draw_axis(frame, yaw_predicted, pitch_predicted, roll_predicted, tdx = (x_min + x_max) / 2, tdy= (y_min + y_max) / 2, size = bbox_height/2)
                # Plot expanded bounding box
                cv2.rectangle(frame, (x_min, y_min), (x_max, y_max), (0,255,0), 1)
                # cv2.rectangle(frame, (x_min, y_min), (x_max, y_max), (0,255,0), 1)
        out.write(frame)
        frame_num += 1