Posture determination method and posture determination device of trackball and trackball interaction system

By setting pattern marks on the surface of the trackball and identifying the target pattern marks using the image acquisition component, the wear problem caused by friction between the trackball and the Hall element is solved, and the accurate determination of the trackball posture information and the improvement of the stability and reliability of the equipment are achieved.

CN119810183APending Publication Date: 2025-04-11ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311317976.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-11
Publication Date
2025-04-11

Smart Images

  • Figure CN119810183A_ABST
    Figure CN119810183A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a posture determination method and a posture determination device of a trackball and a trackball interaction system. At least one pattern mark is arranged on the surface of the trackball, and the method comprises the steps that an image collecting assembly is used for collecting a track image of the trackball, and the track image at least comprises the pattern mark; identifying a target pattern identifier in the track image; and determining attitude information of the trackball according to the target pattern identifier. According to the embodiment of the invention, the attitude information of the trackball is determined, and meanwhile, the use consumption of the trackball is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a trackball posture determination method, a posture determination device, and a trackball interaction system. Background Art

[0002] A trackball is an input device that is usually used to control cursor movement, selection, and operation of computer graphical interfaces. It looks like a small ball that can be rolled, rotated, or moved. With a trackball, users can easily control the movement of the cursor on the computer screen, similar to the function of a mouse. When implementing applications with trackball functions, it is usually necessary to use the direction of the trackball as an input signal to perform the corresponding operation. Therefore, it is crucial to accurately determine the direction of the trackball.

[0003] In the related art, a Hall element is usually installed on the trackball, and the mechanical rotation of the trackball drives the rotation of the Hall element, and the direction of the trackball is determined according to the change of magnetic flux of the Hall element during the rotation. However, this method easily causes the trackball to gradually wear out due to friction with the Hall element during long-term use, which in turn causes the movement of the trackball to become less smooth, the accuracy to decrease, and even the trackball may not work properly. Summary of the invention

[0004] The present application provides a method for determining a trackball's posture, a device for determining a trackball's posture, and a computer-readable storage medium, aiming to reduce the consumption of the trackball while achieving determination of the trackball's posture information.

[0005] To achieve the above object, the present application provides a method for determining the posture of a trackball, wherein at least one pattern mark is provided on the surface of the trackball, and the method comprises:

[0006] Using an image acquisition component to acquire a track image of the trackball, wherein the track image at least includes a pattern mark;

[0007] Identifying a target pattern identifier in the trajectory image;

[0008] The posture information of the trackball is determined according to the target pattern identifier.

[0009] In addition, to achieve the above-mentioned purpose, the present application also provides a posture determination device, the posture determination device comprising:

[0010] A trackball, wherein at least one pattern mark is provided on the surface of the trackball;

[0011] An image acquisition component, used for acquiring a track image of the trackball, wherein the track image at least includes a pattern mark;

[0012] A processing unit is connected to the image acquisition component and is used to implement the method for determining the posture of a trackball as described in any one of the embodiments of the present application.

[0013] In addition, to achieve the above purpose, the present application also provides a trackball interaction system including:

[0014] Wearable devices;

[0015] A posture determination device is communicatively connected to the wearable device and sends an input signal to the wearable device so that the wearable device performs a corresponding operation based on the input signal, wherein the posture determination device is any one of the posture determination devices provided in the embodiments of the present application.

[0016] The trackball posture determination method, posture determination device and trackball interaction system disclosed in the embodiments of the present application can use an image acquisition component to capture the track image of the trackball, wherein at least one pattern identifier is provided on the surface of the trackball. Further, the target pattern identifier in the track image can be identified. Thus, the posture information of the trackball can be determined based on the target pattern identifier. The present application can obtain the target pattern identifier by identifying and more accurately determining the posture information of the trackball. Since the determination of the trackball posture information can be achieved without relying on the Hall element, the situation in which the trackball gradually wears out due to friction with the Hall element during long-term use and then fails to work is avoided. In addition, the target pattern identifier in the track image can provide more accurate posture calculation, thereby ensuring the stability and reliability of the calculated posture information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 It is a flow chart of a method for determining the posture of a trackball provided in an embodiment of the present application;

[0019] Figure 2 is a scene schematic diagram of a method for determining a trackball posture provided by an embodiment of the present application;

[0020] Figure 3 This is a schematic diagram of a process for identifying a target pattern identifier provided by an embodiment of the present application;

[0021] Figure 4 is a schematic diagram of a process for determining the posture information of a trackball provided by an embodiment of the present application;

[0022] Figure 5 is a schematic block diagram of a posture determination device provided in an embodiment of the present application;

[0023] Figure 6 It is a schematic block diagram of a trackball interaction system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor do they have to be executed in the order described. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions. In addition, although the functional modules are divided in the device schematic, in some cases, the module division can be different from that in the device schematic.

[0026] The term "and / or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0027] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0028] See also Figure 1 as well as Figure 2 , Figure 1 It is a flow chart of a method for determining the posture of a trackball provided in an embodiment of the present application; Figure 2 Schematic diagram of a scene of a method for determining the posture of a trackball provided in an embodiment of the present application. Figure 1 As shown, the method for determining the posture of the trackball includes steps S11 to S13.

[0029] Step S11: using an image acquisition component to acquire a track image of the trackball, wherein the track image at least includes a pattern mark.

[0030] The image acquisition component at least includes a camera, a camera head, etc., for acquiring the track image of the trackball.

[0031] It should be noted that the trackball track image refers to an image captured by the image acquisition component based on the current field of view and displayed with pattern marks on the surface of the trackball. The pattern marks include at least one type of characters, maps, leaf texture images, and landscape images, which are not limited in this application.

[0032] Specifically, when the trackball starts to rotate, the image acquisition component can be turned on so that the image acquisition component can collect the track image of the trackball, and then obtain the pattern mark on the track image. Since the track image of the trackball changes as the trackball rotates, the collected pattern mark can be used to determine the orientation angle and tilt angle of the trackball and other posture information.

[0033] It should be noted that the heading angle usually refers to the rotation angle of a trackball or other device relative to a certain reference direction. It describes the direction of the trackball or other device on the horizontal plane, usually expressed in degrees, starting from 0 degrees, and the counterclockwise direction is the positive direction.

[0034] Tilt angle refers to the rotation angle of a trackball or other device relative to the vertical axis. It describes the degree to which a trackball or other device is tilted in the vertical direction, and is usually expressed in degrees.

[0035] Optionally, during the rotation of the trackball, the image acquisition component can also capture the track image of the trackball by periodically taking photos based on a preset time period, so as to obtain relatively continuous feedback of the trackball posture information. The preset time period can be 2s, 3s, etc., which is not limited in this application. In this way, it is possible to capture the track image of the trackball and obtain relatively continuous feedback of the trackball posture information. Compared with continuously capturing the track image, this method reduces the power consumption in the process of capturing the track image.

[0036] Optionally, before the track image of the trackball is captured by the image capture component, at least one pattern mark is provided on the surface of the trackball, and the pattern mark includes at least one type of characters, maps, leaf texture images, and landscape images, which is not limited in the present application.

[0037] Specifically, different patterns can be set on the surface of the trackball for encoding, for example, different characters, maps, leaf textures, and landscapes can be used to mark various positions on the trackball. For ease of understanding, this application uses characters as an example for illustration.

[0038] For example, the trackball can be regarded as a globe. The north pole of the trackball is marked with the number o, and the south pole of the trackball is marked with the letter z. Further, other positions of the trackball are coded according to longitude and latitude. Thus, a pattern mark is set on the surface of the trackball.

[0039] Optionally, the field of view of the image acquisition component can accommodate at least one pattern identifier and at most four pattern identifiers.

[0040] Specifically, the field of view of the image acquisition component may be limited to contain at least one pattern identifier, so as to ensure that at least one pattern identifier can be captured by the image acquisition component, and then used to determine the posture information of the trackball. In addition, the field of view of the image acquisition component may be limited to contain at most four pattern identifiers, so as to simplify the subsequent image processing and posture information calculation process, and prevent the number of pattern identifiers contained in the field of view from being too large, which may complicate image processing and calculation, or even introduce errors.

[0041] In one embodiment, in order to ensure that at least one pattern identifier can be captured, the area ratio of the pattern identifier on the surface of the trackball can also be limited to be greater than a preset threshold (which can be set according to specific needs), so that the image acquisition component can reliably capture the pattern identifier, thereby achieving reliable image recognition, etc.

[0042] Optionally, the image acquisition component includes an image acquisition unit and a fill light unit, and using the image acquisition component to acquire the track image of the trackball includes: using the fill light unit to fill light the trackball, and using the image acquisition unit to acquire the track image of the trackball during the fill light period.

[0043] Among them, the fill light unit includes an LED light, a flash light, etc., which is used to provide supplementary lighting; the image acquisition unit includes a camera, a camera, etc., which is used to capture the track image of the trackball. This application takes the image acquisition unit as a camera as an example for explanation. Furthermore, the camera includes at least one of a color camera, a grayscale camera and a time-of-flight camera, and this application does not limit this.

[0044] Specifically, before capturing the track image of the trackball, if the current ambient light is insufficient, the fill light unit can be enabled to provide an additional light source to ensure that the image acquisition unit can still capture a clear track image in the case of insufficient light. For example, when the brightness of the ambient light is less than a set brightness threshold, the fill light unit is enabled to provide an additional light source through the fill light unit to ensure that the image acquisition component can successfully capture a relatively clear track image. Furthermore, while the fill light unit is filling light, the image acquisition unit can capture the track image of the trackball surface within the current field of view, and ensure the quality and accuracy of the image.

[0045] Optionally, after the image acquisition component acquires the track image of the trackball, the fill light unit may be turned off to save energy and reduce power consumption.

[0046] In the embodiment of the present application, the track image of the trackball may be acquired by the image acquisition component, so as to determine the subsequent posture information of the trackball based on the track image.

[0047] Step S12: Identify the target pattern identifier in the trajectory image.

[0048] Step S13: determining the posture information of the trackball according to the target pattern identifier.

[0049] The target pattern identifier is the pattern identifier on the collected trajectory image.

[0050] Furthermore, the posture information of the trackball includes the orientation angle and tilt angle of the trackball, etc., which are not limited in the present application.

[0051] It is understandable that, since corresponding pattern marks are set at different positions of the trackball, the orientation angle and tilt angle (relative to a certain reference direction) of the trackball corresponding to each pattern mark can be preset. Therefore, when the target pattern mark in the track image is identified by an image processing algorithm such as a template matching algorithm or a feature detection algorithm, the current trackball posture information can be directly determined according to the target pattern mark.

[0052] Optionally, the position of the target pattern mark in the track image may be further determined, and the orientation angle and tilt angle of the trackball and other posture information may be calculated based on the target pattern mark and the position of the target pattern mark in the track image.

[0053] It is understandable that if the same target pattern identifier is obtained before and after the rotation of the trackball, then there will be errors in determining the posture information of the trackball only based on the target pattern identifier, so the position information of the target pattern identifier in the track image can be further determined, thereby determining the current posture information of the trackball based on the target pattern identifier and the position information of the target pattern identifier in the track image.

[0054] Specifically, the position information of the target pattern mark in the trajectory image can be expressed in the form of pixel coordinates. For example, for a trajectory image with a resolution of 640*480, the width of the trajectory image is 640 pixels and the height is 480 pixels. If the position information of the target pattern mark obtained by recognition is at a position of 320*240, it means that the pixel coordinates of the target pattern mark are (320, 240), that is, the target pattern mark is located at the horizontal center and vertical center of the trajectory image. In this way, the position information of the target pattern mark in the trajectory image is determined.

[0055] Furthermore, after determining the position information of the target pattern mark, the angle between the target pattern mark and the reference direction (such as the direction of the center of the trackball) can be calculated based on the position information of the target pattern mark, thereby obtaining the angle of the trackball relative to the reference direction, that is, the orientation angle. In addition, by determining the height of the target pattern mark on the trackball, the degree of inclination of the trackball relative to the reference plane (such as the horizontal plane of the trackball), that is, the inclination angle, can be calculated. In this way, the determination of the posture information of the trackball is achieved.

[0056] In the embodiment of the present application, the target pattern identifier in the track image can be identified, and then the posture information of the trackball can be more accurately determined according to the target pattern identifier. The method can simultaneously calculate the orientation angle and tilt angle of the trackball, thereby achieving more complete posture information.

[0057] Optionally, the trackball is communicatively connected to the posture determination device, and after determining the posture information of the trackball according to the target pattern identifier, it also includes: determining a corresponding input signal according to the posture information, and sending the input signal to the posture determination device, so that the posture determination device performs a corresponding operation based on the input signal.

[0058] It should be noted that the posture determination device may be a wearable device, such as AR glasses, VR glasses, etc. This application does not limit this.

[0059] Furthermore, the trackball and the posture determination device may be connected via wired or wireless means. The wired connection may include Ethernet connection, Universal Serial Bus (USB) connection, etc.; the wireless connection may include Bluetooth connection, wireless LAN connection, long-distance radio connection, etc., which are not limited in this application.

[0060] Specifically, for the posture information obtained according to the calculation, a set of rules or mappings can be established to map different posture information to specific operations or input signals. It can be specifically defined according to the application scenario and the design of the device. For example, rotating the device to the left can trigger a volume reduction operation, rotating the device to the right can trigger a volume increase operation, etc. Further, the input signal can be a digital signal, an analog signal, etc., to represent different control instructions or operations, which is not limited in this application. Thus, the generated input signal can be sent to the posture determination device, so that the posture determination device can receive the input signal from the trackball and perform the corresponding operation according to the input signal. For example, operations such as switching interfaces, starting applications, switching applications, and adjusting volume.

[0061] In the embodiment of the present application, the trackball can be connected to the posture determination device through communication, and an input signal can be generated in combination with the posture information to control the posture determination device to respond to the corresponding operation based on the input signal, thereby realizing interaction between the two.

[0062] The method for determining the posture of a trackball disclosed in an embodiment of the present application can use an image acquisition component to capture a track image of a trackball, wherein at least one pattern identifier is provided on the surface of the trackball. Furthermore, a target pattern identifier in the track image can be identified. Thus, the posture information of the trackball can be determined based on the target pattern identifier. The present application can obtain the target pattern identifier by identifying it, and more accurately determine the posture information of the trackball. The method can determine the posture information of the trackball without relying on a Hall element, thereby avoiding the situation in which the trackball gradually wears out due to friction with the Hall element during long-term use, and then fails to work. In addition, the target pattern identifier in the track image can provide more accurate posture calculation, thereby ensuring the stability and reliability of the calculated posture information.

[0063] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of a method for identifying a target pattern provided in an embodiment of the present application. Figure 3 As shown, the target pattern identification in the trajectory image can be recognized through steps S121 to S122.

[0064] Step S121: extracting the pattern mark to be recognized in the trajectory image.

[0065] Specifically, the pattern identifier to be identified can be determined by detecting specific features, colors, shapes, etc. in the trajectory image. It is understandable that if the pattern identifier has obvious color differences or shapes, the pattern identifier to be identified including the pattern identifier can be extracted by color segmentation or shape detection.

[0066] Step S122: performing identification matching on the identification area of ​​the pattern to be identified, and identifying and obtaining the target pattern identification.

[0067] For the extracted pattern identification to be identified, identification matching can be performed through an image processing algorithm to obtain a target pattern identification. If the pattern identification to be identified highly matches the preset pattern identification, the pattern identification to be identified can be determined as the target pattern identification.

[0068] It should be noted that the present application does not limit the type of image processing algorithm, including, for example, template matching algorithm, feature detection algorithm, etc., to compare the extracted area with a pre-prepared target pattern identification.

[0069] Among them, the template matching algorithm is an algorithm based on pixel-level comparison, which is used to determine whether the image to be detected matches the predefined template. Specifically, for each position on the image to be detected, the similarity metric between the template image and the image area at the current position can be calculated, including mean square error, correlation coefficient, cross-correlation, etc., and then it can be confirmed whether the image to be detected matches the template image based on the similarity metric.

[0070] A feature detection algorithm is an algorithm that extracts key feature points or descriptors from an image. These features can uniquely represent certain local areas of the image. Specifically, the feature detection algorithm looks for key feature points with special properties or structures in the image, such as corners, edges, angles, etc. For each key feature point, the feature detection algorithm generates a descriptor to represent the feature information of the area around the feature point. Furthermore, the descriptors of the feature points in the image to be detected can be compared with the descriptors of the feature points in the template image to confirm whether the image to be detected matches the template image.

[0071] In the embodiment of the present application, the pattern identifier to be identified can be extracted from the trajectory image, and then the target pattern identifier can be matched to provide a basis for the subsequent determination of the posture information.

[0072] See also Figure 4 , Figure 4 FIG. 1 is a flow chart of determining the posture information of a trackball provided by an embodiment of the present application. Figure 4 As shown, the posture information of the trackball can be determined according to the target pattern identifier through steps S131 to S132.

[0073] Step S131: obtaining the position information of the target pattern mark in the trajectory image.

[0074] Step S132: determining the posture information of the trackball according to the target pattern identifier and the position information.

[0075] Optionally, obtaining position information of the target pattern marker in the trajectory image includes: obtaining resolution information of the trajectory image, and determining pixel coordinate information corresponding to the target pattern marker based on the resolution information; and determining position information of the target pattern marker in the trajectory image based on the pixel coordinate information.

[0076] It is understandable that if the same target pattern identifier is obtained before and after the rotation of the trackball, then there will be errors in determining the posture information of the trackball only based on the target pattern identifier, so the position information of the target pattern identifier in the track image can be further determined, thereby determining the current posture information of the trackball based on the target pattern identifier and the position information of the target pattern identifier in the track image.

[0077] Specifically, the position information of the target pattern mark in the collected trajectory image can be determined for subsequent posture information calculation. The position information in the trajectory image can be determined by obtaining the resolution information of the trajectory image and the pixel coordinate information corresponding to the target pattern mark.

[0078] Further, the resolution information includes the resolution of the trajectory image, and the pixel coordinate information includes the pixel coordinates of the target pattern marker on the trajectory image.

[0079] For example, for a trajectory image with a resolution of 640*480, it means that the width of the trajectory image is 640 pixels and the height is 480 pixels. If the position information of the target pattern logo obtained by recognition is at the position of 320*240, it can be determined that the pixel coordinates of the target pattern logo are (320, 240), that is, the target pattern logo is located at the horizontal center and vertical center of the trajectory image. In this way, the position information of the target pattern logo in the trajectory image is determined.

[0080] Furthermore, the target pattern identifier and the position information of the target pattern identifier in the track image may be used to calculate the posture information of the trackball, for example, including the orientation angle, the tilt angle, etc.

[0081] Specifically, the angle between the target pattern mark and the reference direction (such as the direction of the trackball center) can be calculated based on the position information of the target pattern mark, so as to obtain the angle of the trackball relative to the reference direction, that is, the orientation angle. In addition, the inclination degree of the trackball relative to the reference plane (such as the horizontal plane of the trackball) can be calculated by determining the height of the target pattern mark on the trackball, that is, the inclination angle. In this way, the posture information of the trackball is obtained.

[0082] In the embodiment of the present application, the position information of the target pattern mark in the track image can be obtained, and then the posture information of the trackball can be more accurately determined based on the position information and the target pattern mark. The method can simultaneously calculate the orientation angle and tilt angle of the trackball, thereby achieving more complete posture information.

[0083] The method and apparatus of the present application can be used in many general or special computing system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer terminal devices, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices.

[0084] Exemplarily, the above method and apparatus may be implemented in the form of a computer program. The computer program may be implemented in Figure 5 The posture determination device shown is running.

[0085] See also Figure 5 , Figure 5 Schematic diagram of a posture determination device provided in an embodiment of the present application. The posture determination device may be a server.

[0086] like Figure 5 As shown, the posture determination device 200 includes a trackball 201, an image acquisition component 202, a processing unit 203 and a network interface connected via a system bus. The processor 201 is used to provide computing and control capabilities to support the operation of the entire posture determination device 200.

[0087] Wherein, at least one pattern mark is provided on the surface of the trackball 201;

[0088] An image acquisition component 202, used for acquiring a track image of the trackball 201;

[0089] The processing unit 203 is connected to the image acquisition component 201 and is used to implement the method for determining the posture of the trackball described in any one of the present applications.

[0090] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that the structure of the posture determination device is only a block diagram of a part of the structure related to the present application scheme, and does not constitute a limitation on the posture determination device 200 to which the present application scheme is applied. The specific posture determination device 200 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0091] It should be understood that the processor 201 may be a central processing unit (CPU), and the processor 201 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0092] In some embodiments, the processor 201 is used to run a computer program stored in a memory to implement the following steps: using an image acquisition component to acquire a track image of the trackball, wherein the track image at least includes a pattern identifier; identifying a target pattern identifier in the track image; and determining the posture information of the trackball according to the target pattern identifier.

[0093] In some implementations, the processor 201 is further configured to use the fill light unit to fill light the trackball, and use the image acquisition unit to capture a track image of the trackball during the fill light period.

[0094] In some implementations, the processor 201 is further configured to extract a pattern identification region to be identified in the trajectory image; perform identification matching on the pattern identification region to be identified, and identify and obtain the target pattern identification.

[0095] In some implementations, the processor 201 is further configured to obtain position information of the target pattern marker in the track image; and determine the posture information of the trackball according to the target pattern marker and the position information.

[0096] In some implementations, the processor 201 is further configured to determine a corresponding input signal according to the posture information, and send the input signal to the wearable device, so that the wearable device performs a corresponding operation based on the input signal.

[0097] In some embodiments, the field of view of the image acquisition component 202 can accommodate at least one pattern identifier and at most four pattern identifiers.

[0098] In some embodiments, the pattern identification includes at least one type of characters, maps, leaf texture images, and landscape images.

[0099] In some embodiments, the image acquisition unit includes at least one of a color camera, a grayscale camera, and a time-of-flight camera.

[0100] See also Figure 6 , Figure 6 Schematic diagram of a trackball interactive system provided by an embodiment of the present application. Figure 6 As shown, the embodiment of the present application further provides a trackball interaction system 300 , and the trackball interaction system 300 includes a wearable device 301 and a posture determination device 302 .

[0101] Among them, the posture determination device 302 is communicatively connected with the wearable device 301, and sends an input signal to the wearable device 301, so that the wearable device 301 performs a corresponding operation based on the input signal, wherein the posture determination device 302 is the posture determination device described in any one of the present application.

[0102] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for determining the posture of a trackball, characterized in that: The trackball surface is provided with at least one pattern mark, and the method comprises: Using an image acquisition component to acquire a track image of the trackball, wherein the track image at least includes a pattern mark; Identifying a target pattern identifier in the trajectory image; The posture information of the trackball is determined according to the target pattern identifier.

2. The method according to claim 1, characterized in that: The image acquisition component includes an image acquisition unit and a fill light unit. The method of acquiring the track image of the trackball by using the image acquisition component includes: The fill light unit is used to fill light for the trackball, and the image acquisition unit is used to acquire a track image of the trackball during the fill light period.

3. The method according to claim 1, characterized in that The identifying the target pattern identifier in the trajectory image includes: Extracting a pattern identifier to be identified in the trajectory image; The to-be-recognized pattern identifier is matched to obtain the target pattern identifier.

4. The method according to claim 1, characterized in that: The step of determining the posture information of the trackball according to the target pattern identifier includes: Acquire the position information of the target pattern marker in the trajectory image; The posture information of the trackball is determined according to the target pattern identifier and the position information.

5. The method according to claim 4, characterized in that The obtaining the position information of the target pattern marker in the trajectory image includes: Acquire resolution information of the trajectory image, and determine pixel coordinate information corresponding to the target pattern identifier based on the resolution information; The position information of the target pattern marker in the trajectory image is determined based on the pixel coordinate information.

6. The method according to claim 1, characterized in that The trackball is in communication with a posture determination device, and after determining the posture information of the trackball according to the target pattern identifier, the method further includes: A corresponding input signal is determined according to the posture information, and the input signal is sent to the posture determination device, so that the posture determination device performs a corresponding operation based on the input signal.

7. A posture determination device, characterized in that: The posture determination device comprises: A trackball, wherein at least one pattern mark is provided on the surface of the trackball; An image acquisition component, used for acquiring a track image of the trackball, wherein the track image at least includes a pattern mark; A processing unit is connected to the image acquisition component and is used to implement the method for determining the posture of a trackball as described in any one of claims 1 to 6.

8. The posture determination device according to claim 7, characterized in that: The field of view of the image acquisition component can accommodate at least one pattern identifier and at most four pattern identifiers.

9. The posture determination device according to claim 7, characterized in that: The pattern identification includes at least one type of characters, maps, leaf texture images, and landscape images.

10. A trackball interactive system, characterized in that: The trackball interactive system comprises: attitude determination device; A posture determination device is communicatively connected to the posture determination device and sends an input signal to the posture determination device so that the posture determination device performs a corresponding operation based on the input signal, wherein the posture determination device is the posture determination device described in any one of claims 7-9.