Public

Public API documentation for RemBG.

Index

Public Interface

RemBG.remove — Function
remove(img; kwargs...)

Remove background from image.

Examples

remove(img)
remove(img; session=new_session(U2Net))  # or use specific session
source
RemBG.new_session — Function
new_session(::MattingModel)

Constructs an InferenceSession object by input type.

Examples

session = new_session(U2Net)
source
RemBG.U2Net — Constant

U2NetModel object. U2NetModel is a subtype of MattingModel.

source
RemBG.U2Netp — Constant

U2NetpModel object. U2NetpModel is a subtype of MattingModel.

source
RemBG.Silueta — Constant

SiluetaModel object. SiluetaModel is a subtype of MattingModel.

source