Questions tagged [chromakey]

The technique has been used in many fields to remove a background from the subject of a photo or video – particularly the newscasting, motion picture, and video game industries. A color range in the foreground footage is made transparent, allowing separately filmed background footage or a static image to be inserted into the scene. The chroma keying technique is commonly used in video production and post-production. This technique is also referred to as color keying, colour-separation overlay (CSO; primarily by the BBC), or by various terms for specific color-related variants such as green screen, and blue screen – chroma keying can be done with backgrounds of any color that are uniform and distinct, but green and blue backgrounds are more commonly used because they differ most distinctly in hue from most human skin colors. No part of the subject being filmed or photographed may duplicate the color used as the backing.

It is commonly used for weather forecast broadcasts, wherein a news presenter is usually seen standing in front of a large CGI map during live television newscasts, though in actuality it is a large blue or green background. When using a blue screen, different weather maps are added on the parts of the image where the color is blue. If the news presenter wears blue clothes, his or her clothes will also be replaced with the background video. Chroma keying is also common in the entertainment industry for visual effects in movies and video games.

87 questions
32
votes
5 answers

FFMPEG: chroma key / greenscreen filter for images / video

I need for a video to use chroma key filter / greenscreen filter and overlay it over another video and output it as new video. Are there any existing libraries, scripts, filters or solutions for this purpose?
user753676
15
votes
2 answers

How to real time preview change of Video recorder on camera like Vigo Video Hypstar

I want to change the Surface preview bottom overlay with gif or image Like Vigo Like this Please tell me any sdk or what I am using for this Filter I am able to change the overlay on the top view using this Help of this PictureCallback…
Arjun saini
  • 4,223
  • 3
  • 23
  • 51
13
votes
2 answers

Remove background from Image & take only Image part for save in iOS

This is what i need to achieve: Take image from camera or Gallery Remove background from image & save it Background should be anything black or white Also need to remove shadow along with the background Result Example: Original Image Result…
cyberlobe
  • 1,783
  • 1
  • 18
  • 30
12
votes
5 answers

How to remove a "green screen" portrait background

I'm looking for a way to automatically remove (=make transparent) a "green screen" portrait background from a lot of pictures. My own attempts this far have been... ehum... less successful. I'm looking around for any hints or solutions or papers on…
Dan Byström
  • 9,067
  • 5
  • 38
  • 68
10
votes
2 answers

How to accurately filter RGB value for chroma-key effect

I just read this tutorial and tried this example. So I downloaded a video from web for my own testing. All I have to do is tweak rgb values in if conditions HERE is the sample code from example computeFrame: function() { …
Skyyy
  • 1,539
  • 2
  • 23
  • 60
9
votes
2 answers

Smoothen Edges of Chroma Key -CoreImage

I'm using the following code to remove green background from an image.But the edges of the image has green tint to it and some pixels are damaged.How can i smoothen this and make the cut out perfect. func chromaKeyFilter(fromHue: CGFloat, toHue:…
techno
  • 6,100
  • 16
  • 86
  • 192
6
votes
1 answer

chroma key with openframeworks/opengl

I need to implement chroma keying (removal of a solid color background) in an openFrameworks application. I'll be playing many (10 or more) videos simultaneously (in the same frame), and drawing them to the screen along with alternate backgrounds. …
user85461
  • 6,510
  • 2
  • 34
  • 40
6
votes
1 answer

Green screen chroma-key using ImageMagick

I had been searching for good algorithm for green screen chroma key using ImageMagick, but no satisfactory answer so far. I would like to explore a simple method of using range selection along the HSV/HSB color space (similar to -fuzz) to select the…
jhloke
  • 155
  • 1
  • 2
  • 6
5
votes
3 answers

c# .NET green screen background remove

I am working on a photo software for desktop PC that works on Windows 8. I would like to be able to remove the green background from the photo by means of chroma keying. I'm a beginner in image manipulation, i found some cool links ( like…
user2964381
  • 111
  • 1
  • 1
  • 9
4
votes
3 answers

How to Batch Chroma Key Photos (Masking Green Screen)

Goal I have hundreds of images that all look similar to this one here: I simply want to use the green screen to create a mask for each image that looks like this one here (the border should preferably be smoothed out a little bit): Here is the…
4
votes
2 answers

Chroma key shader for WebCamTexture in Unity3D

How can I make chroma key attribute to eleminate a color from WebCamTexture. WebCamTexture provides very limited control on texture.
3
votes
1 answer

Looking for Chromakey library in Java

I was wondering if anyone knows of a library for chromakey that is written in Java? I am looking to edit the contents of a green screen image using Java to compliment an existing Java development. I know that there is a C library known as open-CV…
pie154
  • 603
  • 3
  • 10
  • 28
3
votes
2 answers

Why I can't get the red color of tomatoes out of image?

I tried a code from stackoverflow but it shows black color for me. what I want to do is: Get Tomatoes white and other things black of this image To get red colors out of this image I used this code: import cv2 import numpy as np img =…
Ariya Mirzaei
  • 95
  • 1
  • 10
3
votes
1 answer

How to not cause dark gray color to be transparent removing background from image

I'm having an issue where when I try to remove the green from an image (in this case the image background) but all the dark grays (within the part of the image I want to keep) become semi-transparent. I am unsure why, would like some advice on how…
Joshua Hart
  • 772
  • 1
  • 21
  • 31
3
votes
0 answers

Issue with output RTSP stream converted using ffmpeg filter-complex

I have a camera feed which I am getting in RTSP for example: rtsp://172.16.1.177:8554/test here are the stream details I got using ffmpeg -i rtsp://172.16.1.177:8554/test Input #0, rtsp, from 'rtsp://172.16.1.177:8554/test': Metadata: title …
Mehul Panchasara
  • 288
  • 2
  • 12
1
2 3 4 5 6