[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-07-26 22:50:57 +03:00
parent f39af7b3d2
commit ca7f229831

@ -1094,11 +1094,14 @@ def kernel_15(
1, 1,
) )
t32 = o_14['o_7']['estimate_pose']( if False:
t12, t32 = o_14['o_7']['estimate_pose'](
scale_param=[1.0], t12,
display=False, scale_param=[1.0],
) display=False,
)['img_canvas']
else:
t32 = kernel_16([t12])['t6'][0]
f = matplotlib.pyplot.figure(figsize=(8, 12)) f = matplotlib.pyplot.figure(figsize=(8, 12))
f.suptitle( f.suptitle(
@ -1116,7 +1119,7 @@ def kernel_15(
) )
matplotlib.pyplot.imshow(t14) matplotlib.pyplot.imshow(t14)
matplotlib.pyplot.subplot(2, 1, 2) matplotlib.pyplot.subplot(2, 1, 2)
matplotlib.pyplot.imshow(t32['img_canvas']) matplotlib.pyplot.imshow(t32)
t25 = os.path.join( t25 = os.path.join(
t30, t30,
'kernel_15-%s-%05d.jpg' % ( 'kernel_15-%s-%05d.jpg' % (