Dual-Camera Preview Transition for Smooth Video Mode Switching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices experience a rigid and 'frame freezing' visual effect during mode switching in video shooting due to delays in displaying picture data from different cameras on the photographing preview interface, affecting user experience.
Innovation Solution
Implement animation processing during mode switching, including transition animations and Gaussian blur effects, to smoothly transition between split-screen and full-screen display modes, enhancing the fluency of picture switching.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If picture data from different cameras is directly displayed during mode switching, then the switching speed is fast, but the visual effect becomes rigid with frame freezing
Solution Approach 1:
The patent applies preliminary action by pre-rendering transition animation frames before mode switching occurs. When a mode switch is detected, the system has already prepared intermediate transition frames that blend the old and new display modes, eliminating the rigid frame-freezing effect while maintaining fast switching. This is evident in the implementation where transition animations are prepared in advance to smooth the switch between single-camera and multi-camera modes.
2Ease of manufacture
If transition animations are added during mode switching, then the visual fluency is improved, but the processing complexity increases
Solution Approach 1:
The patent applies dynamics by implementing dynamic transition animations that adaptively adjust during the mode switching process. The transition frames are dynamically generated based on the timing and nature of the mode switch, creating a smooth visual effect. The system dynamically blends between different camera preview sources during the transition, maintaining visual fluency while managing processing complexity through efficient frame generation strategies.
Data Source
Figure 1A
Figure 1B
Figure 2A
AI summary
Embodiments of this application provide a video shooting method and an electronic device, and relate to the field of terminal technologies. The method is applied to an electronic device including a display, a first camera, and a second camera, the first camera and the second camera are located on different sides of the display, and the first camera and the display are located on a same side of the electronic device. The method includes: displaying, in a first region of the display, a first image collected in real time by the first camera, and displaying, in a second region of the display, a second image collected in real time by the second camera, where the second region is the entire display region of the display, and the first region is smaller than the second region; in response to a detected user operation, gradually decreasing an opacity of the first image displayed in the first region from a second opacity to a first opacity; and displaying a third image in a third region of the display, where the third image is a second image collected in real time by the second camera, and the third region of the display is the entire display region of the display.