-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hi,
I am working on a project where I need to detect a green frame in a video and overlay an image inside that frame. The green frame is dynamically positioned and may change size and location within each video frame. I want to achieve the following:
1 . Green Frame Detection: Detect the green frame in each video frame.
2. Image Overlay: Place an image (such as a flyer) onto the green frame in the video, ensuring it fits perfectly without overlapping the border.
3. Output: Generate a new video with the overlaid image.
I am currently using OpenCV in Python for this task and would appreciate any guidance or advice regarding:
- How to detect and mask the green frame reliably in each frame.
- How to correctly resize and place the image onto the green frame.
- How to handle issues like frame jitter and ensure smooth overlay during video playback.
Any help or suggestions would be greatly appreciated.
Thanks in advance!
Expected Outcome:
- A video with an image overlaid inside the green frame, correctly sized and aligned, for every frame in the video.
Attchements:
helicopter.mp4

Metadata
Metadata
Assignees
Labels
No labels