Green screen despill
Last updated
Last updated
The Remove Background API offers a feature to handle green screen despill.
Green screen despill works by automatically removing colored reflections that have been left on the main subject by a green background.
Please note that the green screen despill feature is currently in beta and is subject to changes.
To enable green screen despill, set the argument despill
to the value true
:
(original image) | |
| |
|
Known limitations
This feature only works for green screen: it will not do anything for pictures that use a blue screen or any color other than green
All green color tones on the main subject will be affected by the feature: this means that for a person wearing green clothing, the color of the clothing will be modified
If you want to give it a try, here's the code to reproduce the example above: