Panel disconected

This commit is contained in:
Daniel Saavedra
2020-03-17 14:20:58 -03:00
parent 337be0d7c7
commit dce4a1a2c3
10 changed files with 207 additions and 9 deletions

View File

@@ -1695,7 +1695,7 @@
" current_axis.add_patch(plt.Rectangle((xmin, ymin), xmax-xmin, ymax-ymin, color=color, fill=False, linewidth=2))\n",
" current_axis.text(xmin, ymin, label, size='x-large', color='white', bbox={'facecolor':color, 'alpha':1.0})\n",
" \n",
" I = orig_images[0]\n",
" I = orig_images[0].copy()\n",
" score = np.sum(I[np.int(ymin):np.int(ymax), np.int(xmin):np.int(xmax)]) / ((ymax-ymin)*(xmax-xmin))\n",
" \n",
" boxes_area_score[str(num)] = {'xmin': xmin, 'xmax': xmax, 'ymin': ymin, 'ymax': ymax, 'score' : score}\n",
@@ -2037,7 +2037,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.6.5"
}
},
"nbformat": 4,