[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-23 10:40:16 +03:00
parent b01be703e5
commit 3a2c5ed758

@ -1100,18 +1100,22 @@ def kernel_15(
display=False, display=False,
) )
f = matplotlib.pyplot.figure(figsize=(8, 16)) f = matplotlib.pyplot.figure(figsize=(16, 8))
matplotlib.pyplot.subplot(2, 1, 1) f.suptitle(
matplotlib.pyplot.imshow(t14) 'name %s, frame_id %d' % (
matplotlib.pyplot.subplot(2, 1, 2)
matplotlib.pyplot.imshow(t32['img_canvas'])
matplotlib.pyplot.title(
'name %s, score %s, frame_id %d' % (
t8['name'], t8['name'],
t8.confidence,
t8.frame_id, t8.frame_id,
) )
) )
matplotlib.pyplot.subplot(2, 1, 1)
matplotlib.pyplot.title(
'score %s' % (
t8.confidence,
)
)
matplotlib.pyplot.imshow(t14)
matplotlib.pyplot.subplot(2, 1, 2)
matplotlib.pyplot.imshow(t32['img_canvas'])
t25 = os.path.join( t25 = os.path.join(
t30, t30,
'kernel_15-%s-%05d.jpg' % ( 'kernel_15-%s-%05d.jpg' % (