This application claims the priority benefit of Taiwan application serial no. 111129409, filed on Aug. 4, 2022. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a manner of configuring an input device, and more particularly, to a system and a method of configuring a virtual button.
In recent years, functions that computers can perform have become more and more diverse, and buttons of traditional keyboards are gradually unable to meet user needs. As an example, when using computers for a live broadcast, users often need to switch between various applications to play video and audio effects in real time. In order to make the live broadcast more convenient, external controllers dedicated to live broadcasts have been launched in the market. The external controller provides buttons with various functions. When the user needs to perform a specific function (e.g. play video and audio effects), the user only needs to press the buttons of the external controller without using a hot key of a mouse or a keyboard, for example.
However, using the external controller not only requires an additional cost from the user, but also takes up space. Furthermore, the external controller may be very inconvenient for the user. If the user wants to operate the computers in different locations, the user needs to carry the external controller with them.
The disclosure provides a system and a method of configuring a virtual button, which quickly transfer a virtual button configuration customarily used by a user to different keyboards.
A system for configuring a virtual button of the disclosure includes a keyboard, an image capturing device and a first processor. The keyboard includes a touch screen, in which the touch screen displays a first virtual button and a first icon corresponding to the first virtual button. The image capturing device captures an image of the touch screen, in which the image includes the first virtual button and the first icon. The first processor is communicatively connected to the image capturing device, in which the first processor generates a first virtual button configuration according to the first virtual button and the first icon in the image and outputs the first virtual button configuration.
In an embodiment of the disclosure, the above-mentioned keyboard further includes a transceiver and a second processor. The transceiver is communicatively connected to the first processor. The second processor is coupled to the transceiver and the touch screen, in which the second processor receives a second virtual button configuration through the transceiver and configures a second virtual button on the touch screen according to the second virtual button configuration.
In an embodiment of the disclosure, the above-mentioned second virtual button configuration includes a button position and a page corresponding to the second virtual button, in which the second processor configures the second virtual button according to the button position and the page.
In an embodiment of the disclosure, the above-mentioned second virtual button configuration includes a usage count ranking corresponding to the second virtual button, in which the second processor configures the second virtual button according to the usage count ranking.
In an embodiment of the disclosure, the above-mentioned first processor generates the first virtual button configuration according to at least one of a position and a color of the first icon.
In an embodiment of the disclosure, the above-mentioned keyboard includes a first mode and a second mode, in which in response to the keyboard switching from the first mode to the second mode, the touch screen shrinks the first virtual button to display the first icon around the first virtual button.
In an embodiment of the disclosure, the above-mentioned touch screen displays the first icon according to at least one of a page and a usage count ranking of the first virtual button.
In an embodiment of the disclosure, the above-mentioned first processor performs image recognition on the image according to a machine learning model to generate the first virtual button configuration.
In an embodiment of the disclosure, the above-mentioned first processor trains the machine learning model according to a plurality of historical touch screen images and a plurality of historical virtual button configurations respectively corresponding to the plurality of historical touch screen images.
In an embodiment of the disclosure, the above-mentioned machine learning model includes one of the following: a YOLO neural network model and a region convolution neural network model.
A method of configuring a virtual button of the disclosure includes the following. A first virtual button and a first icon corresponding to the first virtual button are displayed by a touch screen on a keyboard. An image of the touch screen is captured by an image capturing device, in which the image includes the first virtual button and the first icon. A first virtual button configuration is generated and output by a first processor according to the first virtual button and the first icon in the image.
Based on the above, the system of the disclosure automatically generates the virtual button configuration customarily used by the user through image recognition technology. The virtual button configuration may be transferred to different keyboards to allow the user to operate computers in a customary manner from different locations.
In order to make the above-mentioned features and advantages of the disclosure clearer and easier to understand, the following embodiments are given and described in details with accompanying drawings as follows.
In order to make the content of the disclosure easier to understand, the following specific embodiments are given as examples to exemplify implementations of the disclosure. Moreover, where possible, components/elements/steps using the same reference numerals in the drawings and the embodiments represent the same or similar parts.
The keyboard 100 includes a processor 110, a touch screen 120, an input device 130 and a transceiver 140. The processor 110 is coupled to the touch screen 120, the input device 130, and the transceiver 140.
The processor 110 is, for example, a central processing unit (CPU), or a programmable general-purpose or special-purpose micro control unit (MCU), a microprocessor, a digital signal processor (DSP), a programmable controller, an application specific integrated circuit (ASIC), a graphics processor unit (GPU), an image signal processor (ISP), an image processing unit (IPU), an arithmetic logic unit (ALU), a complex programmable logic device (CPLD), a field programmable gate array (FPGA), or other similar components or a combination of the above components. The processor 110 includes any type of fixed or movable random access memory (RAM), read-only memory (ROM), flash memory, hard disk drive (HDD), solid state drive (SSD), or similar components or a combination of the above components, and is used to store a plurality of modules or various applications performable by the processor 110.
The touch screen 120 includes a capacitive touch screen or a resistive touch screen. The input device 130 is used for receiving user operations and transmits input signals to the processor 110 according to the operations. The input device 130 is, for example, a button. The transceiver 140 transmits and receives signals in a wireless or wired manner, in which the signals are, for example, communication signals or input/output signals. As an example, the transceiver 140 receives input signals from an input device such as a mouse and forwards the input signals to the processor 110. The transceiver 140 also performs operations such as low noise amplification, impedance matching, frequency mixing, up or down frequency conversion, filtering, amplification, and the like. The transceiver 140 supports communication protocols such as Bluetooth or Wi-Fi.
The image capturing device 200 is, for example, a camera or a photographing device used for capturing images. The image capturing device 200 includes an image sensor such as a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD).
The processor 300 is, for example, a CPU, or a programmable general-purpose or special-purpose MCU, a microprocessor, a DSP, programmable controller, an ASIC, a GPU, an ISP, an IPU, an ALU, a CPLD, a FPGA, or other similar components or a combination of the above components. The processor 300 includes any type of fixed or movable RAM, ROM, flash memory, HDD, SSD, or similar components or a combination of the above components, and is used to store a plurality of modules or various applications performable by the processor 300. The processor 300 further includes a transceiver used for transmitting or receiving signals, in which the transceiver supports communication protocols such as Bluetooth or Wi-Fi.
The touch screen 120 is used for displaying the virtual keyboard.
Taking
The processor 110 receives the virtual button configuration and configures the virtual buttons for the virtual keyboard displayed by the touch screen 120 according to the virtual button configuration. The processor 110 may also generate the virtual button configuration according to the virtual keyboard customarily used by the user and export the virtual button configuration for other keyboards to use. A keyboard 100 includes a normal mode and a pairing mode, in which the normal mode is the mode used by the user when operating a computer through the keyboard 100, and the pairing mode is the mode used by the user when exporting the virtual button configuration. The user can switch the keyboard 100 to the normal mode or the pairing mode through operating the touch screen 120 or the input device 130. When the user operates the virtual keyboard on the touch screen 120 in the normal mode, the processor 110 records usage counts of the virtual buttons and generates usage count rankings of the virtual buttons according to the usage counts.
The processor 110 receives the virtual button configuration through the transceiver 140. As an example, the processor 110 receives the virtual button configuration from an electronic device (e.g., a processor 300) through the transceiver 140 and configures the virtual buttons on the touch screen 120 according to the virtual button configuration. Table 1 is an example of the information contained in the virtual button configuration corresponding to
In an embodiment, the virtual button configuration includes the button position and the page of the virtual buttons. The processor 110 configures the virtual buttons according to the button position and the page. Taking the virtual button 121 as an example, the processor 110 obtains information of the button position and the page recorded in Table 1 from the virtual button configuration. The processor 110 configures the button 121 to be in the upper-left corner of page 21 according to the button position “upper-left corner” and the page “21” corresponding to the button 121.
In an embodiment, the virtual button configuration includes the usage count rankings of the virtual buttons. The processor 110 configures the virtual buttons according to the usage count rankings. Taking Table 1 as an example, the processor 110 arranges each of the virtual buttons in accordance with the order of the virtual button 121, the virtual button 122, the virtual button 123, the virtual button 124, the virtual button 125, and the virtual button 126 based on the usage count rankings.
When the keyboard is switched to the pairing mode, the processor 110 controls the touch screen 120 to display corresponding icons for each of the virtual buttons.
In an embodiment, the touch screen 120 displays the icons of the virtual buttons according to the page or the usage counts of the virtual buttons. As shown in
When the keyboard 100 is in the pairing mode, an image capturing device 200 captures an image of the touch screen 120, in which the image includes images of the virtual buttons and the corresponding icons. A processor 300 generates a virtual button configuration according to the virtual buttons and the icons in the image. Specifically, the processor 300 uses a pre-stored machine learning model to perform image recognition on the images including the virtual buttons and the icons, thereby generating the virtual button configuration. After the virtual button configuration is generated, the processor 300 outputs the virtual button configuration for other keyboards to use. In this way, the virtual button configuration customarily used by a user in the keyboard 100 is quickly transferred to other keyboards.
The machine learning model is, for example, a YOLO neural network model or a region convolution neural network (R-CNN) model, but the disclosure is not limited thereto. The processor 300 trains the machine learning model according to multiple pieces of training data. Each piece of the training data includes historical touch screen images and historical virtual button configurations corresponding to the historical touch screen images, in which the historical touch screen images include the virtual buttons and the corresponding icons.
The machine learning model can identify positions or colors of the icons associated with the virtual buttons through image recognition technology, thereby generating the virtual button configuration. Taking the virtual button 121 shown in
To sum up, the keyboard of the disclosure has two modes. When the keyboard is in the normal mode, the touch screen on the keyboard provides virtual buttons for the user to use, and the layout of the virtual buttons is changeable in accordance with the user's preference. When the keyboard is in the pairing mode, the touch screen on the keyboard displays special icons for each of the virtual buttons, in which the icons contain configuration information related to the virtual buttons. By recognizing the icons through image recognition technology, the system of the disclosure generates the virtual button configuration. The virtual button configuration generated by the system transfers the layout of the virtual buttons customarily used by the user to different keyboards, so as to facilitate the user to operate the computer in a customary manner in different locations.
Number | Date | Country | Kind |
---|---|---|---|
111129409 | Aug 2022 | TW | national |