Method for realizing free conversion function of horizontal and vertical screens of camera
Through the camera design integrating Gyro sensor and intelligent control unit, the camera's horizontal and vertical screens can be freely converted, solving the problems of cumbersome operation and insufficient portability of existing cameras, and improving shooting flexibility and user experience.
Patent Information
- Application Number
- CN202510373559.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-07-01
AI Technical Summary
The horizontal and vertical screen switching of existing cameras relies on physical rotation or external brackets, which are cumbersome and difficult to meet the real-time shooting needs. The inseparable structure of traditional cameras leads to inefficient portability and maintenance efficiency.
The detachable camera module design is adopted, combined with Gyro sensors and intelligent control units, to realize the camera's attitude perception and adaptive encoding, ensure accurate rotation through mechanical locking structure and spring balls, and combine real-time adjustment of UI and encoding format to achieve free conversion of horizontal and vertical screens.
It realizes the flexible application of cameras in diversified shooting scenes, reduces equipment costs, improves user experience and shooting stability, and adapts to real-time switching of horizontal and vertical shooting needs.
Smart Images

Figure CN120238735A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of camera horizontal and vertical screen conversion functions, and specifically relates to a method for realizing the free conversion function of a camera's horizontal and vertical screens. Background Art
[0002] In the same interview shooting or live broadcast scenario, the difference between horizontal and vertical screens may have a huge impact on aspects such as the composition and hierarchy of real-time images. In horizontal screen shooting, the picture has a larger display space horizontally, with the characteristics of broadness and openness, so it is suitable for shooting large scenes, such as long-distance photos with backgrounds, group photos, etc.; in vertical screen shooting, the image is compressed horizontally, but has a larger display space vertically, and is more suitable for showing the details of the interviewed person and the depth of the photo.
[0003] In the existing camera technology, the horizontal and vertical screen switching function mostly relies on physical rotation devices or external brackets for assistance, with cumbersome operations and difficult to meet the real-time shooting requirements. Traditional cameras generally adopt an integrated structure design, integrating the aperture lens combination, CMOS image sensor, viewfinder, etc. into a fixed body, resulting in a large overall volume and heavy weight of the whole machine. It is only suitable for being fixed on a tripod and needs to be carried on the shoulder during mobile interviews, lacking flexibility and portability. In addition, the existing camera structure is not separable, and disassembling the whole machine is required for maintenance, which is time-consuming and laborious.
[0004] To achieve horizontal and vertical screen switching, the current solutions usually require dual-camera shooting, respectively adapting to the horizontal and vertical screen requirements, which not only increases the equipment cost but also has the problem of synchronization in real-time switching. Some cameras attempt to achieve horizontal and vertical screen conversion by rotating the lens module, but limited by the insufficient stability of the mechanical structure, it is easy to cause attitude deviation due to external interference or vibration, affecting the shooting quality. For example, some rotating devices lack a precise limiting mechanism, resulting in deviation of the rotation angle, or the damping adjustment is not flexible, affecting the operation feel.
[0005] In response to the above problems, a patent application with the application number 2024114164890 and the invention name of a camera proposes innovative improvements: adopting a separable camera main body and camera module design, realizing modular connection through screw connection and pin positioning, simplifying the disassembly and maintenance process; the rotating device integrates a spring ball and a limiting pin structure to ensure precise locking after manual rotation of 90°, avoiding free rotation or attitude deviation; the front frame, middle frame, and rear frame are combined by snap screws to enhance the structural stability and reduce the overall weight. In addition, the ball track design cooperates with the front frame ball support to make the rotation process of the camera module smooth and unobstructed, further improving the user experience. This structural basis provides reliable hardware support for the free conversion function of horizontal and vertical screens, effectively solving the technical bottlenecks of traditional cameras in terms of flexibility, portability, and maintenance efficiency.
[0006] However, the above patent application does not provide a method for implementing the free conversion function between portrait and landscape modes of the camera. Based on the structure of the above patent application, the present invention proposes a solution based on attitude perception and adaptive encoding, which realizes the free conversion between portrait and landscape modes without external assistance by integrating sensors and intelligent control units. Summary of the Invention
[0007] 1. Object of the Invention
[0008] The invention aims to provide a method for implementing the free conversion function between portrait and landscape modes of the camera. By intelligently analyzing the attitude of the camera and cooperating with the manually rotatable camera module of the camera, the physical switching of the portrait and landscape shooting of the current camera module is realized, which perfectly compatible with the display of traditional large-screen TVs and the vertical screen requirements of the media convergence. Its lens module adopts an integrated design, integrating the device CMOS, arithmetic chip, lens and screen. This camera solves the problems that existing professional interview cameras cannot freely switch between portrait and landscape modes.
[0009] 2. Technical Solution
[0010] The present invention provides a method for implementing the free conversion function between portrait and landscape modes of the camera, which is realized based on its underlying hardware structure design and combined with the technical architecture process.
[0011] In the structural design, the zoom lens of the camera and the PCB board with sensors are combined into a camera module by an integrated design. The camera module is connected to the internal rotating device of the camera main body in a screwed connection form and positioned in the form of a pin at the same time, and the rotating device is connected to the camera main body frame. It provides structural support for the accurate implementation of the subsequent portrait and landscape conversion function.
[0012] In the feedback mechanism, the sensor PCB board of the camera integrates a Gyro sensor, that is, an inertial measurement unit, which can obtain the attitude information of the camera module covering angles with extremely high precision and high sensitivity, thereby building a real-time and accurate attitude perception system for the camera module.
[0013] The camera includes a rotatable camera module, a control unit and a built-in Gyro sensor. The method for implementing the free conversion function between portrait and landscape modes of a camera includes the following steps:
[0014] The attitude information of the camera module is collected in real time by the Gyro sensor at a millisecond-level response speed;
[0015] Rotate the camera module to trigger the portrait and landscape switching. When the rotation angle reaches 90°, the camera module is fixed in the target attitude by a mechanical locking structure;
[0016] The control unit determines that the rotation is completed according to the attitude data collected by the Gyro sensor and synchronously executes the following operations:
[0017] Adjust the coordinate mapping relationship of the UI display interface to achieve a 90° rotation of the displayed content;
[0018] Switch the video encoding format between the 16:9 landscape mode and the 9:16 portrait mode;
[0019] Adapt the image processing parameters of the focus area, exposure parameters, and anti-shake algorithm.
[0020] Preferably, the mechanical locking structure includes:
[0021] Multiple sets of spring balls arranged on the turntable of the rotating device;
[0022] Corresponding limit holes on the fixed plate, the diameter of the limit holes is smaller than the diameter of the balls;
[0023] When rotated to 90°, the spring presses the balls into the limit holes to achieve mechanical locking and provide tactile feedback.
[0024] Preferably, the camera module is connected to the rotating device through a double positioning method of screwing and pinning, and the rotating device is fixed to the camera host frame through snap screws.
[0025] Preferably, the data update frequency of the Gyro sensor is not less than 100Hz, and the rotation angle detection error is less than ±1°.
[0026] Preferably, the adjustment of the UI display interface includes:
[0027] Recalculate the touch area mapping relationship of the touch screen;
[0028] Keep the ergonomic layout of the operation buttons unchanged;
[0029] Perform real-time 90° rotation rendering on the viewfinder screen.
[0030] Preferably, the video encoding format switching includes:
[0031] The resolution is switched from 1920×1080 to 1080×1920 or vice versa;
[0032] Adjust the macroblock partitioning strategy of the H.264 / H.265 encoder;
[0033] Keep the audio acquisition parameters unchanged.
[0034] Preferably, the adaptation of the image processing parameters includes:
[0035] Adjust the focus area from a horizontal strip to a vertical strip;
[0036] Increase the exposure metering weight of the central area of the picture;
[0037] Switch the electronic image stabilization algorithm to the vertical axis priority mode.
[0038] Preferably, it further includes an anti-misoperation mechanism:
[0039] Set a rotation angle hysteresis range of ±5°;
[0040] When it is detected that the rotation angle fluctuates within the range of 85° to 95°, the current display mode remains unchanged.
[0041] The present invention also provides a camera, which adopts the implementation method of the function of freely switching between horizontal and vertical screens.
[0042] 3. Technical effects
[0043] In the present invention, when a manual or automatic rotation operation is performed on the camera module, the built-in Gyro sensor will transmit the attitude information of the camera sensor to the control unit in real time at a response speed of milliseconds. After the camera module rotates 90°, the spring ball built in the rotating device is limited in the limit hole, and the attitude of the camera module is firmly locked in the target position, ensuring that there will be no attitude deviation caused by external interference or device vibration during the subsequent shooting process. At the same time, the control unit determines that the attitude of the camera sensor has been successfully rotated 90° based on the accurate attitude data fed back by the Gyro sensor, and then starts the preset horizontal and vertical screen conversion program. In this process, the control unit will perform in-depth graphic transformation operations on the UI display system, including but not limited to performing a 90° rotation mapping process on the coordinate system of the display interface, and at the same time making an adaptive adjustment to the image coding format, seamlessly switching the original coding mode based on the 16:9 aspect ratio to the 9:16 vertical screen coding mode, so as to fully adapt to the vertical screen display requirements in the acquisition, processing, and transmission links of the video stream, and finally successfully realize the function of freely switching between horizontal and vertical screens of the camera.
[0044] The present invention greatly expands the application flexibility of the camera in diversified shooting scenarios. Whether it is used for conventional horizontal shooting scenarios or vertical shooting tasks with special requirements such as live broadcast and virtual background, it can easily cope with them, significantly improving the user experience and market competitiveness of the camera product.
[0045] A single camera adopting the present invention can be compatible with both horizontal and vertical screen shooting, reducing equipment costs; the millisecond-level response ensures real-time performance and improves the user experience; the spring ball structure enhances the rotation stability and avoids shooting jitter. Description of the drawings
[0046] Figure 1 is the overall flowchart of the present invention;
[0047] Figure 2 is the schematic installation structure diagram of the camera module, the camera mainframe frame and the rotating device of the present invention;
[0048] Figure 3 It is a schematic diagram of the installation structure of the camera module and the rotating device of the present invention;
[0049] Figure 4 It is a schematic diagram of the structure of the rotating device of the present invention. Specific embodiments
[0050] As Figure 2 、 3 shown, an existing camera includes a camera module 1 and a camera host composed of a front frame 2, a middle frame, a rear frame, and a rotating device 5. The front frame 2 is L-shaped and includes a side part and a bottom part. The camera module 1 is connected to the rotating device 5 in a screwed manner and positioned in a pin form; the rotating device 5 is connected to the front frame 2 in a screwed manner; the front frame 2 and the middle frame are connected by snap screws; the middle frame and the rear frame are connected by snap screws. A ball track is engraved on the cylindrical body of the camera module 1, which allows the balls to roll in the raceway.
[0051] As Figure 4 shown, the rotating device 5 is composed of a turntable 51, a fixing plate 52, a connecting flange 53, a nut 54, a combined washer 55, a spring ball 56, and a limit pin 57. A through hole is provided on the turntable 51, and a threaded hole is provided on the camera module 1, and the two are fixedly connected by screws. The fixing plate 52 is fixedly connected to the front frame 2 by screws. The fixing plate 52 and the turntable 51 are locked by a connecting flange 53 with a threaded top end and a nut 54, and a combined washer 55 is provided in the middle to adjust the locking force and the spring compression amount of the spring ball 56 to control the rotation damping feeling of the camera module 1. The turntable 51 can rotate relative to the fixing plate 52. Four groups of spring balls 56 are provided on the turntable 51, and the spring balls 56 roll on the fixing plate 52. There are four limit holes on the fixing plate 52 with a diameter smaller than the diameter of the balls. When the spring balls 56 roll to the corresponding positions, the springs limit the balls in the limit holes to prevent the camera module 1 from rotating freely. Two limit pins 57 are provided on the fixing plate 52 to limit the rotation angle of the camera module 1 to 90°.
[0052] See Figure 1 , for the method of realizing the function of freely switching between horizontal and vertical screens of the camera described in the present invention, a lens module with integrated lenses and its attached control unit are provided inside the camera module, and a screen with a viewfinder function is provided outside the camera module. The entire camera module is connected to the camera host through a rotating device.
[0053] A Gyro sensor is built into the PCB board of the camera module, which can provide real-time attitude information of the camera module including the tilt angle, providing data support for subsequent attitude adjustment and UI interface rotation.
[0054] The camera module can be rotated manually or automatically in terms of its structure, and users can rotate the camera module to the required angle according to needs to adapt to different shooting requirements. When the camera lens module rotates, the Gyro sensor will feedback the attitude information of the camera sensor to the control unit in real time. The control unit can understand the current state of the lens module and provide an accurate data basis for subsequent processing.
[0055] When the camera module rotates by 90°, there is a specific structure to fix its attitude and ensure the camera module remains stable during shooting. At this time, the control unit obtains the information that the camera sensor attitude rotates by 90° through the Gyro sensor, and accordingly changes the UI interface (such as rotating the UI interface by 90°) and adjusts the encoding format (such as changing from 16:9 to 9:16) to achieve the free conversion function between landscape and portrait screens.
[0056] Embodiment 1: Application in news interview scenario
[0057] 1. Initial state: The camera is in landscape mode (16:9) and is used to shoot the panoramic view of a press conference.
[0058] 2. Rotation trigger: When the reporter needs to shoot a close-up of the speaker, manually rotate the camera module by 90°.
[0059] 3. Mechanical locking: During the rotation process, the spring ball on the turntable rolls along the fixed plate. When it reaches the 90° position, the ball is pressed into the limit hole, providing a "click" tactile feedback and locking the position.
[0060] 4. Attitude perception: The Gyro sensor (model MPU-6050) monitors the rotation angle in real time at a frequency of 100Hz. When a 90° change is detected, an interrupt signal is sent to the control unit within 10ms.
[0061] 5. UI adjustment:
[0062] After receiving the signal, the control unit recalculates the display coordinate mapping matrix;
[0063] Rotates the viewfinder interface elements by 90° while maintaining the ergonomic layout of the operation buttons;
[0064] Adjusts the touch area mapping relationship of the touch screen.
[0065] 6. Encoding switching:
[0066] The video processor switches the encoding format from 1920×1080 (16:9) to 1080×1920 (9:16);
[0067] Synchronously adjusts the macroblock partitioning strategy of the H.264 encoder;
[0068] Keeps the audio acquisition parameters unchanged.
[0069] 7. Parameter Optimization:
[0070] The focus area is adjusted from a horizontal strip area to a vertical strip area;
[0071] The exposure metering weight is concentrated towards the center of the screen;
[0072] The electronic image stabilization algorithm is switched to the vertical axis priority mode.
[0073] Example 2: Application in the Live E-commerce Scenario
[0074] 1. Initial State: The camera shoots the host showing products in the vertical screen mode (9:16).
[0075] 2. Rotation Trigger: When multiple products need to be displayed horizontally, rotate 90° in the reverse direction to return to the horizontal screen mode.
[0076] 3. Mechanical Lock: The spring ball pops out of the limit hole and is locked again when rotated to 0°.
[0077] 4. Quick Switch:
[0078] The Gyro sensor detects a -90° change;
[0079] The control unit completes the following operations within 15 ms:
[0080] a) The display interface rotates counterclockwise by 90°;
[0081] b) The encoding format is switched back to 16:9;
[0082] c) Restore the color optimization parameters dedicated to the horizontal screen.
[0083] 5. Seamless Transition: Ensure no frame loss during the switching process through the frame buffer technology, and there is no lag in the live stream.
[0084] Example 3: Special Angle Shooting
[0085] 1. 45° Rotation: The user tries to rotate the camera module by 45°.
[0086] 2. System Response:
[0087] The Gyro sensor detects the angle change, but it does not reach the 90° threshold;
[0088] The control unit maintains the original display and encoding formats;
[0089] The spring ball does not enter the limit hole, and the turntable can rotate freely.
[0090] 3. Full Rotation: When continuing to rotate to 90°, the system triggers the complete switching process.
[0091] 4. Anti-misoperation mechanism: Set a hysteresis interval of ±5° to prevent frequent switching of critical angles.
Claims
1. A method for realizing a horizontal and vertical screen free conversion function of a camera, wherein the camera comprises a rotatable camera module, a control unit and a built-in Gyro sensor, characterized in that: The following steps are involved: The Gyro sensor collects the posture information of the camera module in real time at a millisecond response speed; Rotating the camera module triggers the horizontal and vertical screen switching, and when the rotation angle reaches 90°, the camera module is fixed in the target posture through a mechanical locking structure; The control unit determines that the rotation is completed according to the posture data collected by the Gyro sensor, and simultaneously performs the following operations: Adjust the coordinate mapping relationship of the UI display interface to achieve 90° rotation of the displayed content; Switch the video encoding format between 16:9 horizontal mode and 9:16 vertical mode; Adapt the image processing parameters of the focus area, exposure parameters, and anti-shake algorithm.
2. The implementation method according to claim 1, characterized in that: The mechanical locking structure comprises: A plurality of sets of spring balls are arranged on the rotating disk of the rotating device; The corresponding limiting hole on the fixed plate has a hole diameter smaller than the ball diameter; When rotated to 90°, the spring presses the ball into the limit hole to achieve mechanical locking and provide tactile feedback.
3. The method according to claim 1 or 2, characterized in that: The camera module is connected to the rotating device by a double positioning method of screw connection and pins, and the rotating device is fixed to the camera host frame by snap screws.
4. The method according to claim 1, characterized in that: The data update frequency of the Gyro sensor is not less than 100 Hz, and the rotation angle detection error is less than ±1°.
5. The method according to claim 1, characterized in that The adjustment of the UI display interface includes: Recalculate the touch area mapping relationship of the touch screen; Keep the ergonomic layout of the operating buttons unchanged; Real-time 90° rotation rendering of the viewfinder image.
6. The method according to claim 1, characterized in that The video encoding format switching includes: The resolution is switched from 1920×1080 to 1080×1920 or vice versa; Adjust the macroblock partitioning strategy of H.264 / H.265 encoder; Keep the audio acquisition parameters unchanged.
7. The method according to claim 1, characterized in that The image processing parameter adaptation includes: Adjust the focus area from horizontal bands to vertical bands; Increase the exposure metering weight of the central area of the frame; Switch the electronic image stabilization algorithm to vertical axis priority mode.
8. The method according to claim 1, characterized in that: Also includes an anti-mistouch mechanism: Set the rotation angle hysteresis range to ±5°; When it is detected that the rotation angle fluctuates within the range of 85° to 95°, the current display mode is maintained unchanged.
9. A camera, characterized in that: A method for realizing the horizontal and vertical screen free conversion function as described in any one of claims 1 to 8 is adopted.