MCPcopy Create free account
hub / github.com/cvzone/cvzone / removeBG

Method removeBG

cvzone/SelfiSegmentationModule.py:19–37  ·  view source on GitHub ↗

:param img: image to remove background from :param imgBg: Background Image. can be a color (255,0,255) or an image . must be same size :param cutThreshold: higher = more cut, lower = less cut :return:

(self, img, imgBg=(255, 255, 255), cutThreshold=0.1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected