Skip to content

Commit 1b7557e

Browse files
authored
Update images.ipynb
extra cv2.addWeighted call
1 parent 4c71f41 commit 1b7557e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/label_export/images.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@
264264
" tool[\"instanceURI\"]).content)))[:, :, :3]\n",
265265
" mask[:, :, 1] *= 0\n",
266266
" mask[:, :, 2] *= 0\n",
267-
" cv2.addWeighted\n",
268267
" weighted = cv2.addWeighted(image, alpha, mask, 1 - alpha, 0)\n",
269268
" image[np.sum(mask, axis=-1) > 0] = weighted[np.sum(mask, axis=-1) > 0]\n",
270269
" return image"

0 commit comments

Comments
 (0)