Target-Object Video Cropping for Orientation-Adaptive Playback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video playback technologies lack the ability to automatically highlight a target object in a video, leading to a suboptimal user experience when switching between landscape and portrait modes or when manually editing videos to focus on specific objects.
Innovation Solution
A video processing method that allows an electronic device to determine a target object in a video based on user input, and generate a new video centered on that object by cropping and adjusting the frame size accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If manual video editing is used to focus on a target object, then the target object can be highlighted, but the operation complexity and time consumption increase significantly
Solution Approach 1:
The system automatically identifies and tracks target objects in video frames without requiring manual user intervention. The video processing device performs object detection, cropping, and composition operations autonomously based on user selection of target objects, eliminating the need for manual frame-by-frame editing while maintaining focus on desired subjects.
Solution Approach 2:
The system pre-processes video frames by detecting and identifying target objects before final video generation. By performing object detection and tracking in advance, the system prepares cropped versions of video frames centered on target objects, so that when users select a target object, the processing is already optimized and ready for immediate playback without time-consuming manual editing.
2Adaptability or versatility
If video is switched from landscape-mode to portrait-mode play, then the video can adapt to different display orientations, but the target object may be lost or become incomplete
Solution Approach 1:
The system dynamically adjusts the cropping and composition of video frames based on the display orientation. When switching between landscape and portrait modes, the video processing device recalculates the optimal crop region for each frame to ensure the target object remains complete and properly positioned, adapting the video presentation in real-time to different display orientations while maintaining object integrity.
Solution Approach 2:
The system applies different processing strategies to different regions of video frames based on the presence and position of target objects. By identifying the local region containing the target object and prioritizing its preservation during mode switching, the system ensures that the target object maintains its completeness and visibility regardless of the overall display orientation changes.
3Area of stationary object
If the entire video frame is displayed, then all content is visible, but the target object does not receive sufficient focus and attention
Solution Approach 1:
The system extracts and isolates the target object from the full video frame by performing intelligent cropping operations. The video processing device identifies the region containing the target object and crops video frames to focus specifically on this area, removing distracting surrounding content while maintaining the target object as the central focus. This extraction approach enhances viewer attention on the target object without requiring display of the entire original frame.
Data Source
AI summary
This application provides a video processing method and an electronic device. The method includes: obtaining a first video, where the first video includes a first video frame and a second video frame, the first video frame and the second video frame include at least one object, and the at least one object includes a first target object; responding to a first operation of selecting the first target object by a user and obtaining a second video, where the second video includes a third video frame and a fourth video frame, the third video frame and the fourth video frame include the first target object, the third video frame is obtained through cropping based on the first target object in the first video frame, and the fourth video frame is obtained through cropping based on the first target object in the second video frame; and playing the second video.


