WO2022148293A1 - 信息提示方法及装置 - Google Patents

信息提示方法及装置 Download PDF

Info

Publication number
WO2022148293A1
WO2022148293A1 PCT/CN2021/143004 CN2021143004W WO2022148293A1 WO 2022148293 A1 WO2022148293 A1 WO 2022148293A1 CN 2021143004 W CN2021143004 W CN 2021143004W WO 2022148293 A1 WO2022148293 A1 WO 2022148293A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
parameters
connected domain
target
parameter
Prior art date
Application number
PCT/CN2021/143004
Other languages
English (en)
French (fr)
Inventor
张泳祥
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022148293A1 publication Critical patent/WO2022148293A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence

Definitions

  • the present application belongs to the field of mobile communications, and in particular relates to an information prompting method and device.
  • the purpose of the embodiments of the present application is to provide an information prompting method and apparatus.
  • an embodiment of the present application provides an information prompting method, the method comprising:
  • the image parameters determine a first connected domain in the first image, and extract feature parameters of the first connected domain
  • an embodiment of the present application further provides an information prompting device, and the information prompting device includes:
  • a parameter acquisition module used for acquiring image parameters of the first image
  • a feature extraction module configured to determine a first connected domain in the first image according to the image parameters, and extract feature parameters of the first connected domain
  • an area determination module configured to determine the target area in the first connected domain according to the preset correspondence between the characteristic parameter and the target area
  • An information prompting module configured to issue prompt information corresponding to the azimuth relationship according to the azimuth relationship between the target area and the target object in the first image.
  • an embodiment of the present application further provides an electronic device, the electronic device includes a memory, a processor, and a program or instruction stored in the memory and executable on the processor, where the processor executes the program or When instructing, the steps in the above-mentioned information prompting method are implemented.
  • an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the above-mentioned information prompting method is implemented. step.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above method.
  • the image parameters of the first image are acquired; the first connected domain in the first image is determined according to the image parameters, and the characteristic parameters of the first connected domain are extracted; according to the characteristic parameters and the preset correspondence between the target areas, to determine the target area in the first connected domain; according to the azimuth relationship between the target area and the target object in the first image, send out the corresponding azimuth relationship.
  • the prompt information enables users to understand the orientation relationship between the target object and the target area, enhance the sensory experience of using electronic devices, and enrich the use functions of electronic devices.
  • FIG. 1 shows a flowchart of an information prompting method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a fifth example provided by an embodiment of the present application.
  • FIG. 3 shows a flowchart of a sixth example provided by an embodiment of the present application.
  • FIG. 4 shows one of the schematic diagrams of the sixth example provided by the embodiment of the present application.
  • FIG. 5 shows the second schematic diagram of the sixth example provided by the embodiment of the present application.
  • FIG. 6 shows the third schematic diagram of the sixth example provided by the embodiment of the present application.
  • FIG. 7 shows the fourth schematic diagram of the sixth example provided by the embodiment of the present application.
  • FIG. 8 shows a block diagram of an information prompting device provided by an embodiment of the present application.
  • FIG. 9 shows a block diagram of an electronic device provided by an embodiment of the present application.
  • an embodiment of the present application provides a method for prompting information.
  • the method may be applied to electronic devices, and the electronic devices include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or Other processing equipment connected to the wireless modem, as well as various forms of mobile stations (Mobile Station, MS), terminal equipment (Terminal Device) and so on.
  • the electronic devices include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or Other processing equipment connected to the wireless modem, as well as various forms of mobile stations (Mobile Station, MS), terminal equipment (Terminal Device) and so on.
  • the method includes:
  • Step 101 acquiring image parameters of the first image.
  • the first image may be an image captured from the display interface of the electronic device.
  • the first image may be a screenshot of the game interface; or if the electronic device currently runs a video APP, the first image It can be a screenshot of the video interface.
  • the image parameters are parameters describing image features, such as RGB parameters, HSV color space parameters or YUV parameters.
  • HSV is Hue, Saturation, and Value; wherein, Hue H is measured by an angle, and the value range is 0 degrees to 360 degrees; Saturation S means that the color is close to the spectrum The degree of color; lightness V represents the degree of brightness of the color.
  • the initial image parameters of the image are RGB color space parameters. For example, after the first image is obtained by intercepting the display interface of the electronic device, the RGB color space parameters of the first image are extracted, and then the HSV is converted according to the preset conversion relationship. Color space parameter.
  • Step 102 Determine a first connected domain in the first image according to the image parameters, and extract feature parameters of the first connected domain.
  • the connected region is the connected region, and the connected region usually refers to the image region composed of foreground pixels with the same pixel value and adjacent positions in the image.
  • the connected region usually refers to the image region composed of foreground pixels with the same pixel value and adjacent positions in the image.
  • a and B are adjacent to each other, and the two have the same or similar pixel values (pixel values such as gray value or HSV color space parameters, RGB parameters in the embodiment of the present application), then A and B are called Connected.
  • Connected pixel values such as gray value or HSV color space parameters, RGB parameters in the embodiment of the present application
  • a first connected domain with the same or similar pixel values is determined as a candidate region.
  • the number of the first connected domains may include one or more.
  • the feature parameters of the first connected domain are extracted. Feature parameters such as shape features of connected domains, etc.
  • Step 103 Determine the target area in the first connected domain according to the preset correspondence between the feature parameter and the target area.
  • the first connected domain is the target area.
  • the corresponding relationship may be obtained through training in advance.
  • the electronic device intercepts the display interface of the game APP as a template image; take the target area as an area where the opponent attacks in the template image as an example , extract the minimum rotating circumscribed rectangle that appears in the template image by the opponent's attack, and extract the feature parameters of the minimum rotating circumscribed rectangle as template parameters; extract a large number of template parameters, determine the value range of each feature parameter according to the template parameters, and then generate the Correspondence.
  • the extracted template parameters may be template parameters of the target area extracted when the opponent's attack occurs in different game modes, so as to improve the accuracy of identifying the target area by the corresponding relationship.
  • Step 104 according to the azimuth relationship between the target area and the target object in the first image, send out prompt information corresponding to the azimuth relationship.
  • the target object is an object in the first image, such as a virtual character corresponding to an electronic device in a game APP, or a virtual character in a video APP.
  • determine the azimuth relationship between the target area and the target object and control the electronic device to send out prompt information corresponding to the azimuth relationship; optionally, the azimuth relationship is the azimuth relationship between the target area and the target object in the first image Orientation relationship; for example, above, below, left, right, etc.
  • the control electronic device sends out prompt information corresponding to the azimuth relationship. For example, if the target area is to the left of the target object, the motor on the left side of the target object of the control electronic device will vibrate, or the electronic device will be controlled to vibrate on the left side of the target object.
  • the speaker on the left side of the target object sends out a preset reminder message, timely reminding the user that there is a target area on the left side, providing a somatosensory tactile experience and enriching the use functions of the electronic device.
  • the azimuth relationship between the opponent's attack and the target object is identified. If the azimuth relationship is that the opponent's attack is to the right of the target object (the virtual character of the user of the electronic device), the motor vibration is provided on the right or the The side speaker emits a tone to alert the user of the electronic device.
  • the target area is the preset scene area in the played video, such as the explosion area, the destination area of the trip, etc.; the target object is the subject person in the first image.
  • the azimuth relationship between the target area and the target object if the azimuth relationship is that the opponent is attacking above the target object (the virtual character of the user of the electronic device), the motor vibration is provided above or a prompt sound is issued through the right speaker to enrich the electronic device’s performance.
  • the image parameters of the first image are acquired; the first connected domain in the first image is determined according to the image parameters, and the characteristic parameters of the first connected domain are extracted; according to the characteristic parameters and the preset correspondence between the target areas, to determine the target area in the first connected domain; according to the azimuth relationship between the target area and the target object in the first image, send out the corresponding azimuth relationship.
  • the prompt information enables users to understand the orientation relationship between the target object and the target area, enhance the sensory experience of using electronic devices, and enrich the use functions of electronic devices.
  • the embodiments of the present application solve the problem in the related art that the functions provided by the electronic device are relatively single.
  • the image parameters include HSV color space parameters; the acquiring the image parameters of the first image includes:
  • a square area of 60% of the short side of the image can be selected in the center of the first image.
  • the center of the image intercepts a square area with a preset number of pixels of 648 ⁇ 648 as the second image. It can be understood that the preset number of pixels may also be other values.
  • the third image is converted from the RGB color space to the HSV color space to obtain image parameters of the first image.
  • the following first formula group is used for parameter conversion;
  • the first formula group is:
  • delta Max(R, G, B)-Min(R, G, B);
  • the determining the first connected domain in the first image according to the image parameter includes:
  • At least two sets of masks for the image parameters are obtained by filtering according to at least two sets of preset filtering thresholds; wherein each set of the preset filtering thresholds includes a second parameter range corresponding to each of the characteristic parameters;
  • a weighted sum is performed on each of the masks to obtain a target mask
  • a first connected domain in the target mask is extracted.
  • the mask is a binary image composed of 0s and 1s.
  • the mask is a binary image composed of 0s and 1s.
  • 1-valued regions are processed and masked 0-valued regions are not included in the calculation.
  • At least two sets of masks for the image parameters are obtained by filtering according to at least two sets of preset filtering thresholds.
  • the preset filtering thresholds are shown as hsvThr1, hsvThr2, hsvThr3, hsvThr4, hsvThr5 in the following second formula group; the second formula group is:
  • Each set of preset filtering thresholds filters out a mask; for example, the image parameters of the first image are filtered by hsvThr1 to obtain mask1, filtered by hsvThr2 to obtain mask2, ..., filtered by hsvThr5 to obtain mask5; then for each of the masks The mask is weighted and summed to obtain the target mask, wherein the corresponding weight of each mask can be preset.
  • the first connected domain in the target mask is extracted.
  • the characteristic parameter is determined according to a minimum rotated circumscribed rectangle of the first connected domain; wherein, the minimum rotated circumscribed rectangle is the smallest rectangle that accommodates the circumscribed rectangles of all the pixels of the first connected domain; Feature parameters such as the aspect ratio of the minimum rotated circumscribed rectangle, the area of the minimum rotated circumscribed rectangle, etc.;
  • At least one of the above geometric features is used as an image parameter.
  • the corresponding relationship includes a first parameter range corresponding to each of the characteristic parameters; the first parameter range is determined according to a preset corresponding relationship between the characteristic parameters and the target area.
  • a target region in a connected domain including:
  • the first feature parameter satisfies the second connected domain corresponding to the first parameter range; optionally, the first feature parameter includes the following At least one of the parameters: the aspect ratio, the minimum rotated circumscribed rectangle area, and the Euclidean distance; according to the first parameter range of the first characteristic parameter of the corresponding relationship, first select the second parameter from the first connected domain. connected domain;
  • the second feature parameter satisfies the target area of the corresponding first parameter range; optionally, the feature parameter includes at least one of the following parameters: the rotation angle and the area ratio.
  • first select the second connected domain that meets the requirements of the first characteristic parameter; then select the target connected domain that meets the second characteristic parameter from the second connected domain.
  • sending out prompt information corresponding to the azimuth relationship including:
  • a target prompting device corresponding to the azimuth relationship is determined, and the target prompting device is controlled to issue prompting information.
  • the target prompting device is such as a linear motor or a speaker; for example, the display interface of the electronic device is divided into N azimuth areas.
  • the display interface of the electronic device is divided into 8 azimuth areas, and each azimuth area is arranged A linear motor, after determining the position of the target area, selects the linear motor closest to the target area as the target prompt device, and sends out a prompt message.
  • Fig. 3 takes the game APP as an example, and the target area is the area where the attack of the opponent player occurs; wherein, the information prompting method mainly includes the following processes:
  • Step 301 Capture the game screen of the game APP as the first image, and capture the second image.
  • the interface S1 is a game screen, covering the full screen of the electronic device; S2 with a preset number of pixels is intercepted therefrom as the second image.
  • Step 302 Adjust the resolution of the second image to obtain a third image.
  • Step 303 Convert the third image from the RGB color space to the HSV color space.
  • Image color space conversion converting the RGB color space image of the third image into the HSV color space using the aforementioned first formula group.
  • Step 304 Filter to obtain at least two sets of masks for the image parameters according to at least two sets of preset filtering thresholds.
  • Multiple groups of narrow threshold combination strategies pre-statistically calculate the range of H, S, and V pixel values of the attack aperture displayed when the virtual character (player) corresponding to the electronic device is attacked by the opponent in different modes in the game APP; for example, select 5
  • the color filtering thresholds with a narrow group range are respectively hsvThr1, hsvThr2, hsvThr3, hsvThr4, and hsvThr5, and the specific values are shown in the second formula group above.
  • the strategy of using multiple sets of narrow-range filtering thresholds can avoid the problem of false detection of approximate attack areas caused by using a set of wide-range filtering thresholds.
  • Step 305 obtaining a first connected domain.
  • mask1, mask2, mask3, mask4, and mask5 are obtained by filtering using the preset filtering threshold in step 304; A weighted sum is obtained to obtain a target mask maskMerge; the first connected domain in the target mask is extracted.
  • Step 306 Calculate the characteristic parameters of the first connected domain.
  • the characteristic parameter is determined according to the minimum rotation circumscribed rectangle of the first connected domain; the characteristic parameter includes at least one of the following parameters: the aspect ratio whRatio of the minimum rotation circumscribed rectangle of the first connected domain, The area of the minimum rotated circumscribed rectangle, the Euclidean distance dist from the center point of the minimum rotated circumscribed rectangle to the center point of the first image, the rotation angle of the minimum rotated circumscribed rectangle, and the connected domain of the first connected domain The ratioMask of the area to the area of the minimum rotated circumscribed rectangle.
  • the minimum rotation circumscribed rectangle is shown by the white rectangle R in FIG. 6 .
  • Step 307 using the pre-established corresponding relationship as a classification template, select the target connected domain from the first connected domain.
  • the third formula group is:
  • the image shown in Figure 7 is the third image, where O is the center of the image, and O is the origin of the coordinates, select the X axis and the Y axis, and divide the third image into 4 quadrants, the 1st to 4th quadrants, As shown in Figure 7; center is the center coordinate of the minimum circumscribed rotation rectangle R, and x s is the X-axis data of the center coordinate.
  • first filter For each first connected domain, according to the third formula group, first filter three eigenvalues of each first connected domain, such as whRatio, area, dist, etc., to obtain a second connected domain that meets the requirements;
  • the angle and ratioMask features of the second connected domain are further screened to obtain the target area, which is the aperture area generated when the player is attacked.
  • Step 308 Determine the orientation relationship between the target area and the target object.
  • Step 309 control the motor vibration according to the azimuth relationship.
  • the motor corresponding to the left side will be controlled to vibrate.
  • the direction of the attack is the front, and the control electronic device and the motors on the left and right sides vibrate at the same time.
  • the image parameters of the first image are acquired; the first connected domain in the first image is determined according to the image parameters, and the characteristic parameters of the first connected domain are extracted; according to the characteristic parameters and the preset corresponding relationship between the target areas, determine the target area in the first connected domain; according to the azimuth relationship between the target area and the target object in the first image, send out the corresponding azimuth relationship.
  • the prompt information enables users to understand the orientation relationship between the target object and the target area, enhance the sensory experience of using electronic devices, and enrich the use functions of electronic devices.
  • the execution subject may be an information prompting device, or a control module in the information prompting device for executing the information prompting method.
  • the information prompting method provided by the embodiment of the present application is described by taking the information prompting apparatus executing the information prompting method as an example.
  • an embodiment of the present application further provides an information prompting apparatus 800, including:
  • the parameter obtaining module 801 is configured to obtain image parameters of the first image; wherein, the image parameters include HSV color space parameters.
  • the first image may be an image captured from the display interface of the electronic device.
  • the first image may be a screenshot of the game interface; or if the electronic device currently runs a video APP, the first image It can be a screenshot of the video interface.
  • the image parameters are parameters describing image characteristics, such as RGB parameters, HSV color space parameters or YUV parameters; the image parameters include HSV color space parameters, HSV is Hue, Saturation and Lightness Value; wherein, the hue H Measured by angle, the value ranges from 0 degrees to 360 degrees; saturation S represents the degree to which the color is close to the spectral color; lightness V represents the degree of brightness of the color.
  • the initial image parameters of the image are RGB color space parameters. For example, after the first image is obtained by intercepting the display interface of the electronic device, the RGB color space parameters of the first image are extracted, and then the HSV is converted according to the preset conversion relationship. Color space parameter.
  • a feature extraction module 802 is configured to determine a first connected domain in the first image according to the image parameters, and extract feature parameters of the first connected domain.
  • the connected region is the connected region, and the connected region usually refers to the image region composed of foreground pixels with the same pixel value and adjacent positions in the image.
  • the connected region usually refers to the image region composed of foreground pixels with the same pixel value and adjacent positions in the image.
  • a and B are adjacent to each other, and the two have the same or similar pixel values (pixel values such as gray value or HSV color space parameters, RGB parameters in the embodiment of the present application), then A and B are called Connected.
  • Connected pixel values such as gray value or HSV color space parameters, RGB parameters in the embodiment of the present application
  • a first connected domain with the same or similar pixel values is determined as a candidate region.
  • the number of the first connected domains may include one or more.
  • feature parameters of the first connected domain are extracted; the feature parameters are, for example, the shape feature of the connected domain.
  • the area determination module 803 is configured to determine the target area in the first connected domain according to the preset correspondence between the characteristic parameter and the target area.
  • the first connected domain is the target area; optionally, the corresponding relationship may be obtained through training in advance; as a first example, Taking the game APP scene as an example, when the user uses the game APP of the electronic device to play the game, the electronic device intercepts the display interface of the game APP as a template image; taking the target area as the area where the opponent's attack appears in the template image as an example, extract the template image. When the opponent attacks the smallest rotating circumscribed rectangle, extract the characteristic parameters of the smallest rotating circumscribed rectangle as template parameters; extract a large number of template parameters, determine the value range of each characteristic parameter according to the template parameters, and then generate the corresponding relationship.
  • the extracted template parameters may be template parameters of the target area extracted when the opponent's attack occurs in different game modes, so as to improve the accuracy of identifying the target area by the corresponding relationship.
  • the information prompting module 804 is configured to issue prompt information corresponding to the azimuth relationship according to the azimuth relationship between the target area and the target object in the first image.
  • the target object is an object in the first image, such as a virtual character corresponding to an electronic device in a game APP, or a virtual character in a video APP; after identifying the target area, determine the azimuth relationship between the target area and the target object, and control the
  • the electronic device sends out prompt information corresponding to the orientation relationship; optionally, the orientation relationship is the orientation relationship between the target area and the target object in the first image; for example, up, down, left, and right.
  • the control electronic device sends out prompt information corresponding to the azimuth relationship. For example, if the target area is to the left of the target object, the motor on the left side of the target object of the control electronic device will vibrate, or the electronic device will be controlled to vibrate on the left side of the target object.
  • the speaker on the left side of the target object sends out a preset reminder message, timely reminding the user that there is a target area on the left side, providing a somatosensory tactile experience and enriching the use functions of electronic devices.
  • the azimuth relationship between the opponent's attack and the target object is identified. If the azimuth relationship is that the opponent's attack is to the right of the target object (the virtual character of the user of the electronic device), the motor vibration is provided on the right or the The side speaker emits a tone to alert the user of the electronic device.
  • the target area is the preset scene area in the played video, such as the explosion area, the destination area of the trip, etc.; the target object is the subject person in the first image.
  • the azimuth relationship between the target area and the target object if the azimuth relationship is that the opponent is attacking above the target object (the virtual character of the user of the electronic device), the motor vibration is provided above or a prompt sound is issued through the right speaker to enrich the electronic device’s performance.
  • the image parameters include HSV color space parameters
  • the parameter acquisition module 801 includes:
  • an acquisition submodule for acquiring a second image with a preset number of pixels in the first image
  • an adjustment sub-module used to adjust the resolution of the second image, and adjust the resolution to be the third image of the target resolution
  • a conversion submodule configured to convert the third image from the RGB color space to the HSV color space to obtain image parameters of the first image.
  • the image parameters include HSV color space parameters;
  • the feature extraction module 802 includes:
  • a filtering sub-module configured to filter to obtain at least two sets of masks of the image parameters according to at least two sets of preset filtering thresholds; wherein, each set of the preset filtering thresholds includes a second parameter corresponding to each of the characteristic parameters scope;
  • a weighted submodule for performing weighted summation on each of the masks to obtain a target mask
  • the extraction submodule is used to extract the first connected domain in the target mask.
  • the characteristic parameter is determined according to a minimum rotation circumscribed rectangle of the first connected domain; the characteristic parameter includes at least one of the following parameters: the minimum rotation of the first connected domain The aspect ratio of the circumscribed rectangle, the area of the minimum rotated circumscribed rectangle, the Euclidean distance from the center point of the minimum rotated circumscribed rectangle to the center point of the first image, the rotation angle of the minimum rotated circumscribed rectangle, and the first connection The area ratio of the connected domain area of the domain to the area of the minimum rotated circumscribed rectangle.
  • the corresponding relationship includes a first parameter range corresponding to each of the characteristic parameters
  • the area determination module 803 includes:
  • a first screening sub-module configured to screen the characteristic parameters of the first connected domain according to a preset correspondence, where the first characteristic parameter satisfies the second connected domain corresponding to the first parameter range;
  • the second screening sub-module is configured to screen, according to the corresponding relationship, the feature parameters of the first connected domain, where the second feature parameter satisfies the target region corresponding to the first parameter range.
  • the first characteristic parameter includes at least one of the following parameters: the aspect ratio, the minimum rotated circumscribed rectangle area, and the Euclidean distance;
  • the second characteristic parameter includes at least one of the following parameters: the rotation angle and the area ratio.
  • the information prompting module 804 includes:
  • the prompting sub-module is used to determine the target prompting device corresponding to the azimuth relationship, and control the target prompting device to issue prompting information.
  • the parameter acquisition module 801 acquires the image parameters of the first image; the feature extraction module 802 determines the first connected domain in the first image according to the image parameters, and extracts the first connected domain
  • the area determination module 803 determines the target area in the first connected domain according to the preset correspondence between the characteristic parameter and the target area; The orientation relationship of the target object in the image, and the prompt information corresponding to the orientation relationship is sent out, so that the user can understand the orientation relationship between the target object and the target area, improve the sensory experience of using the electronic device, and enrich the use function of the electronic device.
  • the information prompting device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an Ultra-Mobile Personal Computer (UMPC), a netbook, or a personal digital assistant (Personal Digital Assistant).
  • UMPC Ultra-Mobile Personal Computer
  • netbook or a personal digital assistant (Personal Digital Assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (Personal Computer, PC), television (Television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • PC Personal Computer
  • TV Television, TV
  • teller machine or self-service machine etc.
  • the information prompting device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the information prompting apparatus provided in the embodiments of the present application can implement each process implemented by the information prompting apparatus in the method embodiments of FIG. 1 to FIG. 7 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device, including a processor 910, a memory 909, a program or instruction stored in the memory 909 and executable on the processor 910, the program or instruction being processed by the processor
  • an electronic device including a processor 910, a memory 909, a program or instruction stored in the memory 909 and executable on the processor 910, the program or instruction being processed by the processor
  • 910 When 910 is executed, each process of the above information prompting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 9 is a schematic diagram of a hardware structure of an electronic device 900 implementing various embodiments of the present application.
  • the electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power supply 911 and other components.
  • the electronic device 900 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 9 does not constitute a limitation to the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 910 is used to obtain the image parameters of the first image
  • the image parameters determine a first connected domain in the first image, and extract feature parameters of the first connected domain
  • the processor 910 is configured to obtain a second image in which the number of pixels is a preset number of pixels in the first image
  • the processor 910 is configured to filter to obtain at least two sets of masks of the image parameters according to at least two sets of preset filtering thresholds; wherein, each set of the preset filtering thresholds includes the corresponding values of each feature parameter.
  • a weighted sum is performed on each of the masks to obtain a target mask
  • a first connected domain in the target mask is extracted.
  • the characteristic parameter is determined according to the minimum rotation circumscribed rectangle of the first connected domain; the characteristic parameter includes at least one of the following parameters: the width of the minimum rotation circumscribed rectangle of the first connected domain Height ratio, the area of the minimum rotated circumscribed rectangle, the Euclidean distance from the center point of the minimum rotated circumscribed rectangle to the center point of the first image, the rotation angle of the minimum rotated circumscribed rectangle, and the connected domain of the first connected domain The ratio of the area to the area of the minimum rotated circumscribed rectangle.
  • the processor 910 is configured to, according to a preset correspondence, filter the characteristic parameters of the first connected domain, where the first characteristic parameter satisfies the second connected domain corresponding to the first parameter range;
  • the second feature parameter satisfies the target region corresponding to the first parameter range.
  • the first characteristic parameter includes at least one of the following parameters: the aspect ratio, the minimum rotated circumscribed rectangle area, and the Euclidean distance;
  • the second characteristic parameter includes at least one of the following parameters: the rotation angle and the area ratio.
  • the processor 910 is configured to determine a target prompting device corresponding to the azimuth relationship, and control the target prompting device to issue prompt information.
  • image parameters of the first image are acquired; according to the image parameters, a first connected domain in the first image is determined, and feature parameters of the first connected domain are extracted; according to the features
  • the preset corresponding relationship between the parameters and the target area is used to determine the target area in the first connected domain; according to the azimuth relationship between the target area and the target object in the first image, a message corresponding to the azimuth relationship is sent out.
  • the prompt information allows users to understand the azimuth relationship between the target object and the target area, enhance the sensory experience of using electronic devices, and enrich the use functions of electronic devices.
  • the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072 .
  • the touch panel 9071 is also called a touch screen.
  • the touch panel 9071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
  • Memory 909 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 910.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing information prompting method embodiment can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement the above information prompting method embodiment.
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used for running a program or an instruction to implement the above information prompting method embodiment.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Abstract

本申请实施例公开了一种信息提示方法及装置,属于移动通信领域。所述方法包括:获取第一图像的图像参数;根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。

Description

信息提示方法及装置
相关申请的交叉引用
本申请要求享有于2021年01月06日提交的中国专利申请202110015253.6的优先权,该申请的全部内容通过引用并入本文中。
技术领域
本申请属于移动通信领域,具体涉及一种信息提示方法及装置。
背景技术
随着移动通信技术的迅速发展,各种移动电子设备以及非移动电子设备已成为人们生活中各方面不可或缺的工具。电子设备的各种应用程序(Application,APP)的功能也逐渐完善,不再只是单纯地起到通信作用,较多的是为用户提供各种智能化服务,给用户工作、生活带来了极大的便利。
用户在使用电子设备的过程中,对电子设备的功能多样化要求逐渐提高,例如视觉体验和听觉体验,甚至体感触觉体验;然而,相关技术中,电子设备所提供的功能较为单一,难以满足用户的使用需求。例如游戏类APP中,目前,电子游戏已经占据了应用程序中较大的一部分,比如多人在线战术竞技游戏(Multiplayer Online Battle Arena,MOBA)。用户通过在电子设备中安装游戏类应用程序的客户端,通过客户端与应用程序的服务器进行通信,实现多人在线战术竞技。然而电子设备在运行游戏类APP时,所提供的功能通常仅是APP自带的操作功能,难以满足用户对功能的多样化要求。
发明内容
本申请实施例的目的是提供一种信息提示方法及装置。
第一方面,本申请实施例提供了一种信息提示方法,所述方法包括:
获取第一图像的图像参数;
根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;
根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;
根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
第二方面,本申请实施例还提供了一种信息提示装置,所述信息提示装置包括:
参数获取模块,用于获取第一图像的图像参数;
特征提取模块,用于根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;
区域确定模块,用于根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;
信息提示模块,用于根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
第三方面,本申请实施例还提供了一种电子设备,该电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的程序或指令,所述处理器执行所述程序或指令时实现如上所述的信息提示方法中的步骤。
第四方面,本申请实施例还提供了一种可读存储介质,该可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如上所述的信息提示方法中的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如上所述的方法。
本申请实施例中,获取第一图像的图像参数;根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域 中的目标区域;根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息,使用户了解目标对象与目标区域的方位关系,提升使用电子设备的感官体验,丰富电子设备的使用功能。
附图说明
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1表示本申请实施例提供的信息提示方法的流程图;
图2表示本申请实施例提供的第五示例的示意图;
图3表示本申请实施例提供的第六示例的流程图;
图4表示本申请实施例提供的第六示例的示意图之一;
图5表示本申请实施例提供的第六示例的示意图之二;
图6表示本申请实施例提供的第六示例的示意图之三;
图7表示本申请实施例提供的第六示例的示意图之四;
图8表示本申请的实施例提供的信息提示装置的框图;
图9表示本申请的实施例提供的电子设备的框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示 或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息提示方法进行详细地说明。
参见图1,本申请一实施例提供了一种信息提示方法,可选地,所述方法可应用于电子设备,所述电子设备包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的移动台(Mobile Station,MS),终端设备(Terminal Device)等等。
所述方法包括:
步骤101,获取第一图像的图像参数。
其中,第一图像可以是截取自电子设备的显示界面的图像,比如电子设备当前运行游戏类APP,则第一图像可以为游戏界面的截图;或者电子设备当前运行视频类APP,则第一图像可以是视频界面的截图。
所述图像参数为描述图像特征的参数,例如RGB参数、HSV颜色空间参数或YUV参数。以所述图像参数包括HSV颜色空间参数为例,HSV即色调Hue、饱和度Saturation以及明度Value;其中,色调H用角度度量,取值范围为0度至360度;饱和度S表示颜色接近光谱色的程度;明度V表示颜色明亮的程度。通常情况下,图像的初始图像参数为RGB颜色空间参数,比如截取电子设备显示界面得到第一图像之后,提取所述第一图像的RGB颜色空间参数,然后根据预设的转换关系,转换得到HSV颜色空间参数。
步骤102,根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数。
其中,连通域即连通区域,连通区域通常是指图像中具有相同像素值且位置相邻的前景像素点组成的图像区域。对于一幅图像,如果像素点A与B邻接,且二者具有相同或相近像素值(像素值例如灰度值或本申请实施例中的HSV颜色空间参数、RGB参数),则称A与B连通。从视觉上 看,彼此连通的且具有相同或相近像素值像素点形成了一个区域,而不连通的像素点形成了不同的区域;一个图形中,所有相同像素值的像素点彼此连通点构成的集合,称为一个连通区域。
根据图像参数,确定具有相同或相近像素值的第一连通域,作为候选区域。其中,第一连通域的数目可以包括一个或多个。确定第一连通域之后,提取第一连通域的特征参数。特征参数例如连通域的形状特征等。
步骤103,根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域。
若第一连通域中每个特征参数,均满足对应关系中的要求,则该第一连通域为目标区域。可选地,所述对应关系可以是预先经过训练得到的。作为第一示例,以游戏APP场景为例,用户在使用电子设备的游戏APP进行游戏时,电子设备截取游戏APP的显示界面作为模板图像;以目标区域为模板图像中出现对方攻击的区域为例,提取模板图像中对方攻击出现的最小旋转外接矩形,提取该最小旋转外接矩形的特征参数作为模板参数;提取大量的模板参数,根据模板参数确定每个特征参数的取值范围,然后生成所述对应关系。所提取的模板参数中,可以是不同游戏模式下所述对方攻击发生时所提取的目标区域的模板参数,以提升对应关系识别目标区域的准确率。
步骤104,根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
其中,目标对象为第一图像中的对象,例如游戏类APP中电子设备对应的虚拟角色,或视频类APP中的虚拟角色。在识别目标区域后,确定目标区域与目标对象的方位关系,控制电子设备发出与所述方位关系对应的提示信息;可选地,方位关系为目标区域与目标对象在所述第一图像中的方位关系;例如,上方、下方、左方以及右方等。
确定方位关系之后,控制电子设备发出与所述方位关系对应的提示信息,例如,目标区域在目标对象的左方,则控制电子设备的在目标对象左方的马达产生振动,或者控制电子设备在目标对象左方的扬声器发出预设提醒消息,以及时提醒用户左侧存在目标区域,提供体感触觉体验,丰富 电子设备的使用功能。
比如上述第一示例中,识别出对方攻击与目标对象的方位关系,假如方位关系为对方攻击在目标对象(电子设备的用户的虚拟角色)的右方,则在右方提供马达振动或通过右侧扬声器发出提示音,以提示电子设备的用户。
作为第二示例,再以视频APP为例,目标区域为所播放视频中的预设场景区域,例如爆炸区域、出行的目的地区域等;目标对象为第一图像中的主题人物,当识别出目标区域与目标对象的方位关系,假如方位关系为对方攻击在目标对象(电子设备的用户的虚拟角色)的上方,则在上方提供马达振动或通过右侧扬声器发出提示音,以丰富电子设备的使用功能。
本申请实施例中,获取第一图像的图像参数;根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息,使用户了解目标对象与目标区域的方位关系,提升使用电子设备的感官体验,丰富电子设备的使用功能。本申请实施例解决了相关技术中,电子设备所提供的功能较为单一的问题。
在一个可选实施例中,所述图像参数包括HSV颜色空间参数;所述获取第一图像的图像参数,包括:
获取第一图像中,像素数目为预设像素数目的第二图像;
对第二图像进行分辨率调整,调整分辨率为目标分辨率的第三图像;
将第三图像由RGB颜色空间转换至所述HSV颜色空间,得到所述第一图像的图像参数。
为了降低电子设备的功耗和减少处理时间,可选择在第一图像中心截取图像短边的60%的正方形区域,例如像素数目(分辨率)为2400×1080的第一图像,只在第一图像中心截取预设像素数目为648×648的正方形区域作为第二图像。可以理解的是,预设像素数目还可以是其他数值。
对第二图像进行采样,以减少计算量。例如使用双线性插值标准化到 目标为150×150像素数目(分辨率),一方面可以减少后续图像处理计算量,另一方面将不同分辨率的第二图像调整为相同分辨率的第三图像,能够兼容不同分辨率的输入图像。可以理解的是,目标分辨率还可以是其他数值。
得到第三图像后,将第三图像由RGB颜色空间转换至所述HSV颜色空间,得到所述第一图像的图像参数。作为第三示例,例如,采用以下第一公式组进行参数转换;
第一公式组为:
Figure PCTCN2021143004-appb-000001
其中,delta=Max(R,G,B)-Min(R,G,B);
R、G、B分别表示RGB参数值;其中,当R值为R、G、B的最大值时,H=(G-B)/delta。
在一个可选实施例中,所述根据所述图像参数,确定所述第一图像中的第一连通域,包括:
根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜;其中,每组所述预设过滤阈值包括每个所述特征参数对应的第二参数范围;
对每个所述掩膜进行加权求和,得到目标掩膜;
提取所述目标掩膜中的第一连通域。
其中,掩模(mask)是由0和1组成的一个二进制图像。当应用掩模时,1值区域被处理,被屏蔽的0值区域不被包括在计算中。根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜。作为第四示例,预设过滤阈值如以下第二公式组中的hsvThr1、hsvThr2、hsvThr3、hsvThr4、hsvThr5所示;第二公式组为:
Figure PCTCN2021143004-appb-000002
Figure PCTCN2021143004-appb-000003
Figure PCTCN2021143004-appb-000004
Figure PCTCN2021143004-appb-000005
Figure PCTCN2021143004-appb-000006
每组预设过滤阈值过滤出一个掩膜;例如,将第一图像的图像参数分别经过hsvThr1过滤得到mask1,经过hsvThr2过滤得到mask2,……,经过hsvThr5过滤得到mask5;然后对每个所述掩膜进行加权求和,得到目标掩膜,其中每个掩膜对应的权值可以预先设定。
确定目标掩膜之后,提取所述目标掩膜中的第一连通域。
在一个可选实施例中,所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;其中,最小旋转外接矩形即容纳第一连通域所有像素点的外接矩形的最小矩形;特征参数例如最小旋转外接矩形的宽高比、所述最小旋转外接矩形面积等;
所述特征参数包括以下参数中的至少一种:
所述第一连通域的最小旋转外接矩形的宽高比、
所述最小旋转外接矩形面积、
所述最小旋转外接矩形中心点到所述第一图像中心点的欧式距离、
所述最小旋转外接矩形的旋转角度以及
所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值。
利用以上几种几何特征中的至少一种作为图像参数。
在一个可选实施例中,所述对应关系中包括与每个所述特征参数对应的第一参数范围;所述根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域,包括:
根据预设的对应关系,筛选所述第一连通域的所述特征参数中,第一特征参数满足对应的第一参数范围的第二连通域;可选地,所述第一特征参数包括以下参数中的至少一种:所述宽高比、所述最小旋转外接矩形面积、所述欧式距离;根据对应关系的第一特征参数的第一参数范围,首先从第一连通域中选择第二连通域;
然后所述对应关系,筛选所述第一连通域的所述特征参数中,第二特征参数满足对应的第一参数范围的目标区域;可选地,特征参数包括以下参数中的至少一种:所述旋转角度以及所述面积比值。
在从第一连通域中筛选目标连通域的过程中,首先选择满足第一特征参数要求的第二连通域;再从第二连通域中选择满足第二特征参数的目标连通域。
在一个可选实施例中,发出与所述方位关系对应的提示信息,包括:
确定与所述方位关系对应的目标提示设备,控制所述目标提示设备发出提示信息。目标提示设备例如线性马达或者扬声器;比如,将电子设备的显示界面分成N个方位区域,作为第五示例,图2所示,将电子设备的显示界面分成8个方位区域,每个方位区域布设一个线性马达,在确定目标区域的位置之后,选择与目标区域最近的线性马达作为目标提示设备,发出提示消息。
作为第六示例,参见图3,图3以游戏APP为例,目标区域为对方玩家的攻击发生的区域;其中,所述信息提示方法主要包括以下过程:
步骤301,截取游戏APP的游戏画面,作为第一图像,并截取第二图像。
进入游戏,截取当前游戏画面。通过截图方法,获得游戏画面数据。为了降低功耗和减少处理时间,可选择在图像中心截取图像短边60%的正方形区域,例如分辨率为2400×1080的图像,只在图像中心截取预设像素数目648×648的正方形区域。如图4所示。界面S1为游戏画面,铺满电子设备全屏;从中截取像素数目为预设像素数目的S2作为第二图像。
步骤302,对第二图像进行分辨率调整,得到第三图像。
对第二图像进行图像下采样,减少计算量,将不同分辨率的图像使用双线性插值标准化到150×150的目标分辨率;一方面可以减少后续步骤的计算量,另一方面能够兼容不同分辨率的输入图像。
步骤303,将第三图像由RGB颜色空间转换至所述HSV颜色空间。
图像颜色空间转换,将第三图像的RGB颜色空间图像用前述第一公式组转换到HSV颜色空间。
步骤304,根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜。
多组窄阈值组合策略;预先统计该游戏APP中不同模式下,电子设备对应的虚拟角色(玩家)受到对方攻击时,所显示攻击光圈的H、S、V像素值的区间范围;例如选择5组范围较窄的颜色过滤阈值,分别为hsvThr1、hsvThr2、hsvThr3、hsvThr4、hsvThr5,具体数值前述第二公式组所示。使用多组窄范围过滤阈值的策略可以避免使用一组宽范围过滤阈值导致近似攻击区域误检的问题。
步骤305,获取第一连通域。
如图5所示,对于图4中的第二图像的第三图像,利用步骤304中的预设过滤阈值,分别过滤得到mask1、mask2、mask3、mask4、mask5;对每个所述掩膜进行加权求和,得到目标掩膜maskMerge;提取所述目标掩膜中的第一连通域。
步骤306,计算第一连通域的特征参数。
所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;所述特征参数包括以下参数中的至少一种:所述第一连通域的最小旋转外接矩形的宽高比whRatio、所述最小旋转外接矩形面积area、所述最小旋转外 接矩形中心点到所述第一图像中心点的欧式距离dist、所述最小旋转外接矩形的旋转角度angle以及所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值ratioMask。
最小旋转外接矩形例如图6中的白色矩形框R所示。
步骤307,以预先建立的对应关系作为分类模板,从第一连通域中筛选目标连通域。
预先统计玩家受到对方攻击时产生的目标区域的whRatio、area、dist、angle、ratioMask等几何特征,确定每种特征的数值上限和下限,作为后续的对应关系中的分类模版,具体数值对应关系如以下第三公式组所示:
第三公式组为:
Figure PCTCN2021143004-appb-000007
如图7所示,图7所示图像为第三图像,其中O为图像中心,以O为坐标原点,选择X轴和Y轴,将第三图像分成4个象限,第1至4象限,如图7所示;center最小外接旋转矩形R的中心坐标,x s为中心坐标的X轴数据。
对于每个第一连通域,根据第三公式组,首先筛选每个第一连通域的whRatio、area、dist等三个特征值,得到满足要求的第二连通域;
然后对第二连通域的angle和ratioMask特征做进一步筛选,得到目标区域,为该目标区域为玩家受到攻击时产生的光圈区域。
步骤308,确定目标区域与目标对象的方位关系。
结合图7,如果x s位于图像中心点的左侧,即小于x 1,则玩家所受到 攻击的方位为左方(left);如果x s位于图像中心点的附近,即x 1与x 2之间,则玩家所受到攻击的方位为前方(front);如果x s位于图像中心点的右侧,即大于x 2,则玩家所受到攻击的方位为右方(right)。
步骤309,根据方位关系,控制马达振动。
若玩家所受到攻击的方位为左方,则控制电子设备与左方对应的马达振动;若玩家所受到攻击的方位为右方,则控制电子设备与右方对应的马达振动;若玩家所受到攻击的方位为前方,则控制电子设备与左右两侧马达同时振动。
本申请实施例中,获取第一图像的图像参数;根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息,使用户了解目标对象与目标区域的方位关系,提升使用电子设备的感官体验,丰富电子设备的使用功能。
以上介绍了本申请实施例提供的信息提示方法,下面将结合附图介绍本申请实施例提供的信息提示装置。
需要说明的是,本申请实施例提供的信息提示方法,执行主体可以为信息提示装置,或者该信息提示装置中的用于执行信息提示方法的控制模块。本申请实施例中以信息提示装置执行信息提示方法为例,说明本申请实施例提供的信息提示方法。
参见图8,本申请实施例还提供了一种信息提示装置800,包括:
参数获取模块801,用于获取第一图像的图像参数;其中,所述图像参数包括HSV颜色空间参数。
其中,第一图像可以是截取自电子设备的显示界面的图像,比如电子设备当前运行游戏类APP,则第一图像可以为游戏界面的截图;或者电子设备当前运行视频类APP,则第一图像可以是视频界面的截图。
所述图像参数为描述图像特征的参数,例如RGB参数、HSV颜色空间参数或YUV参数;以所述图像参数包括HSV颜色空间参数,HSV即色 调Hue、饱和度Saturation以及明度Value;其中,色调H用角度度量,取值范围为0度至360度;饱和度S表示颜色接近光谱色的程度;明度V表示颜色明亮的程度。通常情况下,图像的初始图像参数为RGB颜色空间参数,比如截取电子设备显示界面得到第一图像之后,提取所述第一图像的RGB颜色空间参数,然后根据预设的转换关系,转换得到HSV颜色空间参数。
特征提取模块802,用于根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数。
其中,连通域即连通区域,连通区域通常是指图像中具有相同像素值且位置相邻的前景像素点组成的图像区域。对于一幅图像,如果像素点A与B邻接,且二者具有相同或相近像素值(像素值例如灰度值或本申请实施例中的HSV颜色空间参数、RGB参数),则称A与B连通。从视觉上看,彼此连通的且具有相同或相近像素值像素点形成了一个区域,而不连通的像素点形成了不同的区域;一个图形中,所有相同像素值的像素点彼此连通点构成的集合,称为一个连通区域。
根据图像参数,确定具有相同或相近像素值的第一连通域,作为候选区域。其中,第一连通域的数目可以包括一个或多个。确定第一连通域之后,提取第一连通域的特征参数;特征参数例如连通域的形状特征等。
区域确定模块803,用于根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域。
若第一连通域中每个特征参数,均满足对应参数中的要求,则该第一连通域为目标区域;可选地,所述对应关系可以是预先经过训练得到的;作为第一示例,以游戏APP场景为例,用户在使用电子设备的游戏APP进行游戏时,电子设备截取游戏APP的显示界面作为模板图像;以目标区域为模板图像中出现对方攻击的区域为例,提取模板图像中对方攻击出现的最小旋转外接矩形,提取该最小旋转外接矩形的特征参数作为模板参数;提取大量的模板参数,根据模板参数确定每个特征参数的取值范围,然后生成所述对应关系。所提取的模板参数中,可以是不同游戏模式下所述对方攻击发生时所提取的目标区域的模板参数,以提升对应关系识别目标区 域的准确率。
信息提示模块804,用于根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
其中,目标对象为第一图像中的对象,例如游戏类APP中电子设备对应的虚拟角色,或视频类APP中的虚拟角色;在识别目标区域后,确定目标区域与目标对象的方位关系,控制电子设备发出与所述方位关系对应的提示信息;可选地,方位关系为目标区域与目标对象在所述第一图像中的方位关系;例如,上方、下方、左方以及右方等。
确定方位关系之后,控制电子设备发出与所述方位关系对应的提示信息,例如,目标区域在目标对象的左方,则控制电子设备的在目标对象左方的马达产生振动,或者控制电子设备在目标对象左方的扬声器发出预设提醒消息,以及时提醒用户左侧存在目标区域,提供体感触觉体验,丰富电子设备的使用功能。
比如上述第一示例中,识别出对方攻击与目标对象的方位关系,假如方位关系为对方攻击在目标对象(电子设备的用户的虚拟角色)的右方,则在右方提供马达振动或通过右侧扬声器发出提示音,以提示电子设备的用户。
作为第二示例,再以视频APP为例,目标区域为所播放视频中的预设场景区域,例如爆炸区域、出行的目的地区域等;目标对象为第一图像中的主题人物,当识别出目标区域与目标对象的方位关系,假如方位关系为对方攻击在目标对象(电子设备的用户的虚拟角色)的上方,则在上方提供马达振动或通过右侧扬声器发出提示音,以丰富电子设备的使用功能。
在一个可选实施例中,所述图像参数包括HSV颜色空间参数;
所述参数获取模块801包括:
获取子模块,用于获取第一图像中,像素数目为预设像素数目的第二图像;
调整子模块,用于对第二图像进行分辨率调整,调整分辨率为目标分辨率的第三图像;
转换子模块,用于将第三图像由RGB颜色空间转换至所述HSV颜色 空间,得到所述第一图像的图像参数。
在一个可选实施例中,所述图像参数包括HSV颜色空间参数;所述特征提取模块802包括:
过滤子模块,用于根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜;其中,每组所述预设过滤阈值包括每个所述特征参数对应的第二参数范围;
加权子模块,用于对每个所述掩膜进行加权求和,得到目标掩膜;
提取子模块,用于提取所述目标掩膜中的第一连通域。
在一个可选实施例中,所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;所述特征参数包括以下参数中的至少一种:所述第一连通域的最小旋转外接矩形的宽高比、所述最小旋转外接矩形面积、所述最小旋转外接矩形中心点到所述第一图像中心点的欧式距离、所述最小旋转外接矩形的旋转角度以及所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值。
在一个可选实施例中,所述对应关系中包括与每个所述特征参数对应的第一参数范围;
所述区域确定模块803包括:
第一筛选子模块,用于根据预设的对应关系,筛选所述第一连通域的所述特征参数中,第一特征参数满足对应的第一参数范围的第二连通域;
第二筛选子模块,用于根据所述对应关系,筛选所述第一连通域的所述特征参数中,第二特征参数满足对应的第一参数范围的目标区域。
在一个可选实施例中,所述第一特征参数包括以下参数中的至少一种:所述宽高比、所述最小旋转外接矩形面积、所述欧式距离;
所述第二特征参数包括以下参数中的至少一种:所述旋转角度以及所述面积比值。
在一个可选实施例中,所述信息提示模块804包括:
提示子模块,用于确定与所述方位关系对应的目标提示设备,控制所述目标提示设备发出提示信息。
本申请的实施例中,参数获取模块801获取第一图像的图像参数;特 征提取模块802根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;区域确定模块803根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;信息提示模块804根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息,使用户了解目标对象与目标区域的方位关系,提升使用电子设备的感官体验,丰富电子设备的使用功能。
本申请实施例中的信息提示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(Personal Computer,PC)、电视机(Television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息提示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息提示装置能够实现图1至图7的方法实施例中信息提示装置实现的各个过程,为避免重复,这里不再赘述。
可选的,本申请实施例还提供一种电子设备,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的程序或指令,该程序或指令被处理器910执行时实现上述信息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图9为实现本申请各个实施例的一种电子设备900的硬件结构示意图;
该电子设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。
本领域技术人员可以理解,电子设备900还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器910,用于获取第一图像的图像参数;
根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;
根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;
根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
可选地,处理器910,用于获取第一图像中,像素数目为预设像素数目的第二图像;
对第二图像进行分辨率调整,调整分辨率为目标分辨率的第三图像;
将第三图像由RGB颜色空间转换至所述HSV颜色空间,得到所述第一图像的图像参数。
可选地,处理器910,用于根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜;其中,每组所述预设过滤阈值包括每个所述特征参数对应的第二参数范围;
对每个所述掩膜进行加权求和,得到目标掩膜;
提取所述目标掩膜中的第一连通域。
可选地,所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;所述特征参数包括以下参数中的至少一种:所述第一连通域的最小旋转外接矩形的宽高比、所述最小旋转外接矩形面积、所述最小旋转外接 矩形中心点到所述第一图像中心点的欧式距离、所述最小旋转外接矩形的旋转角度以及所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值。
可选地,处理器910,用于根据预设的对应关系,筛选所述第一连通域的所述特征参数中,第一特征参数满足对应的第一参数范围的第二连通域;
根据所述对应关系,筛选所述第一连通域的所述特征参数中,第二特征参数满足对应的第一参数范围的目标区域。
可选地,所述第一特征参数包括以下参数中的至少一种:所述宽高比、所述最小旋转外接矩形面积、所述欧式距离;
所述第二特征参数包括以下参数中的至少一种:所述旋转角度以及所述面积比值。
可选地,处理器910,用于确定与所述方位关系对应的目标提示设备,控制所述目标提示设备发出提示信息。
本申请的实施例中,获取第一图像的图像参数;根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息,使用户了解目标对象与目标区域的方位关系,提升使用电子设备的感官体验,丰富电子设备的使用功能。
应理解的是,本申请实施例中,输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元906可包括显示面板9061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板9061。用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其他输入设备9072可以包括但不限于物理键盘、功能键 (比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器909可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息提示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特 征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (13)

  1. 一种信息提示方法,所述方法包括:
    获取第一图像的图像参数;
    根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;
    根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;
    根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
  2. 根据权利要求1所述的信息提示方法,其中,所述图像参数包括HSV颜色空间参数;
    所述获取第一图像的图像参数,包括:
    获取第一图像中,像素数目为预设像素数目的第二图像;
    对第二图像进行分辨率调整,调整分辨率为目标分辨率的第三图像;
    将第三图像由RGB颜色空间转换至所述HSV颜色空间,得到所述第一图像的图像参数。
  3. 根据权利要求1所述的信息提示方法,其中,所述根据所述图像参数,确定所述第一图像中的第一连通域,包括:
    根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜;其中,每组所述预设过滤阈值包括每个所述特征参数对应的第二参数范围;
    对每个所述掩膜进行加权求和,得到目标掩膜;
    提取所述目标掩膜中的第一连通域。
  4. 根据权利要求1所述的信息提示方法,其中,所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;
    所述特征参数包括以下参数中的至少一种:所述第一连通域的最小旋转外接矩形的宽高比、所述最小旋转外接矩形面积、所述最小旋转外接矩形中心点到所述第一图像中心点的欧式距离、所述最小旋转外接矩形的旋 转角度以及所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值。
  5. 根据权利要求4所述的信息提示方法,其中,所述对应关系中包括与每个所述特征参数对应的第一参数范围;
    所述根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域,包括:
    根据预设的对应关系,筛选所述第一连通域的所述特征参数中,第一特征参数满足对应的第一参数范围的第二连通域;
    根据所述对应关系,筛选所述第一连通域的所述特征参数中,第二特征参数满足对应的第一参数范围的目标区域。
  6. 一种信息提示装置,所述装置包括:
    参数获取模块,用于获取第一图像的图像参数;
    特征提取模块,用于根据所述图像参数,确定所述第一图像中的第一连通域,并提取所述第一连通域的特征参数;
    区域确定模块,用于根据所述特征参数以及目标区域之间预设的对应关系,确定所述第一连通域中的目标区域;
    信息提示模块,用于根据所述目标区域与所述第一图像中的目标对象的方位关系,发出与所述方位关系对应的提示信息。
  7. 根据权利要求6所述的信息提示装置,其中,所述图像参数包括HSV颜色空间参数;
    所述参数获取模块包括:
    获取子模块,用于获取第一图像中,像素数目为预设像素数目的第二图像;
    调整子模块,用于对第二图像进行分辨率调整,调整分辨率为目标分辨率的第三图像;
    转换子模块,用于将第三图像由RGB颜色空间转换至所述HSV颜色空间,得到所述第一图像的图像参数。
  8. 根据权利要求6所述的信息提示装置,其中,所述图像参数包括HSV颜色空间参数;
    所述特征提取模块包括:
    过滤子模块,用于根据至少两组预设过滤阈值,过滤得到所述图像参数的至少两组掩膜;其中,每组所述预设过滤阈值包括每个所述特征参数对应的第二参数范围;
    加权子模块,用于对每个所述掩膜进行加权求和,得到目标掩膜;
    提取子模块,用于提取所述目标掩膜中的第一连通域。
  9. 根据权利要求6所述的信息提示装置,其中,所述特征参数为根据所述第一连通域的最小旋转外接矩形确定的;所述特征参数包括以下参数中的至少一种:所述第一连通域的最小旋转外接矩形的宽高比、所述最小旋转外接矩形面积、所述最小旋转外接矩形中心点到所述第一图像中心点的欧式距离、所述最小旋转外接矩形的旋转角度以及所述第一连通域的连通域面积与所述最小旋转外接矩形面积的面积比值。
  10. 根据权利要求9所述的信息提示装置,其中,所述对应关系中包括与每个所述特征参数对应的第一参数范围;
    所述区域确定模块包括:
    第一筛选子模块,用于根据预设的对应关系,筛选所述第一连通域的所述特征参数中,第一特征参数满足对应的第一参数范围的第二连通域;
    第二筛选子模块,用于根据所述对应关系,筛选所述第一连通域的所述特征参数中,第二特征参数满足对应的第一参数范围的目标区域。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的信息提示方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的信息提示方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的信息提示方法。
PCT/CN2021/143004 2021-01-06 2021-12-30 信息提示方法及装置 WO2022148293A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110015253.6A CN112767430A (zh) 2021-01-06 2021-01-06 信息提示方法及装置
CN202110015253.6 2021-01-06

Publications (1)

Publication Number Publication Date
WO2022148293A1 true WO2022148293A1 (zh) 2022-07-14

Family

ID=75700235

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143004 WO2022148293A1 (zh) 2021-01-06 2021-12-30 信息提示方法及装置

Country Status (2)

Country Link
CN (1) CN112767430A (zh)
WO (1) WO2022148293A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115187346A (zh) * 2022-09-14 2022-10-14 深圳市明源云空间电子商务有限公司 租控图展示方法、装置、电子设备及可读存储介质
CN117237442A (zh) * 2023-11-16 2023-12-15 宁德时代新能源科技股份有限公司 连通域定位方法、图形处理器、设备和生产线
CN117412451A (zh) * 2023-12-13 2024-01-16 深圳市千岩科技有限公司 氛围灯设备及其映射配色方法和相应的装置、介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767430A (zh) * 2021-01-06 2021-05-07 维沃移动通信有限公司 信息提示方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517101A (zh) * 2014-12-19 2015-04-15 中南大学 一种基于像素平方差匹配的游戏扑克牌识别方法
CN106096601A (zh) * 2016-06-06 2016-11-09 深圳辰通智能股份有限公司 一种自动检测票据中字符类型的方法和系统
US20190126151A1 (en) * 2017-10-27 2019-05-02 Netease (Hangzhou) Network Co.,Ltd. Visual display method for compensating sound information, computer readable storage medium and electronic device
CN111957032A (zh) * 2019-02-22 2020-11-20 网易(杭州)网络有限公司 游戏角色控制方法、装置、设备和存储介质
CN112767430A (zh) * 2021-01-06 2021-05-07 维沃移动通信有限公司 信息提示方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107930119B (zh) * 2017-11-21 2021-04-06 网易(杭州)网络有限公司 信息处理方法、装置、电子设备及存储介质
CN109126120B (zh) * 2018-08-17 2022-06-03 Oppo广东移动通信有限公司 马达控制方法及相关产品
CN109788130A (zh) * 2018-12-27 2019-05-21 努比亚技术有限公司 终端及其方位提醒方法、及计算机可读存储介质
CN110064196A (zh) * 2019-03-27 2019-07-30 努比亚技术有限公司 移动终端控制方法、移动终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104517101A (zh) * 2014-12-19 2015-04-15 中南大学 一种基于像素平方差匹配的游戏扑克牌识别方法
CN106096601A (zh) * 2016-06-06 2016-11-09 深圳辰通智能股份有限公司 一种自动检测票据中字符类型的方法和系统
US20190126151A1 (en) * 2017-10-27 2019-05-02 Netease (Hangzhou) Network Co.,Ltd. Visual display method for compensating sound information, computer readable storage medium and electronic device
CN111957032A (zh) * 2019-02-22 2020-11-20 网易(杭州)网络有限公司 游戏角色控制方法、装置、设备和存储介质
CN112767430A (zh) * 2021-01-06 2021-05-07 维沃移动通信有限公司 信息提示方法及装置

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115187346A (zh) * 2022-09-14 2022-10-14 深圳市明源云空间电子商务有限公司 租控图展示方法、装置、电子设备及可读存储介质
CN117237442A (zh) * 2023-11-16 2023-12-15 宁德时代新能源科技股份有限公司 连通域定位方法、图形处理器、设备和生产线
CN117237442B (zh) * 2023-11-16 2024-04-09 宁德时代新能源科技股份有限公司 连通域定位方法、图形处理器、设备和生产线
CN117412451A (zh) * 2023-12-13 2024-01-16 深圳市千岩科技有限公司 氛围灯设备及其映射配色方法和相应的装置、介质
CN117412451B (zh) * 2023-12-13 2024-03-15 深圳市千岩科技有限公司 氛围灯设备及其映射配色方法和相应的装置、介质

Also Published As

Publication number Publication date
CN112767430A (zh) 2021-05-07

Similar Documents

Publication Publication Date Title
WO2022148293A1 (zh) 信息提示方法及装置
US11114130B2 (en) Method and device for processing video
CN109639982B (zh) 一种图像降噪方法、装置、存储介质及终端
CN109191410B (zh) 一种人脸图像融合方法、装置及存储介质
CN107256555B (zh) 一种图像处理方法、装置及存储介质
CN109741280B (zh) 图像处理方法、装置、存储介质及电子设备
CN107292817B (zh) 一种图像处理方法、装置、存储介质和终端
CN112333385B (zh) 电子防抖控制方法及装置
CN113018856A (zh) 图像处理方法、装置、电子设备及存储介质
CN111627076A (zh) 换脸方法、装置及电子设备
CN113645476B (zh) 画面处理方法、装置、电子设备及存储介质
CN106210446B (zh) 饱和度增强方法及装置
CN110944163A (zh) 一种图像处理方法及电子设备
CN113870100A (zh) 图像处理方法和电子设备
CN109784327A (zh) 边界框确定方法、装置、电子设备及存储介质
CN117455753A (zh) 特效模板生成方法、特效生成方法、装置及存储介质
CN111968605A (zh) 曝光度调整方法及装置
CN112435173A (zh) 一种图像处理和直播方法、装置、设备和存储介质
CN112634155B (zh) 图像处理方法、装置、电子设备及存储介质
CN113332720A (zh) 一种游戏地图展示方法、装置、计算机设备和存储介质
CN112843697A (zh) 一种图像处理方法、装置、存储介质及计算机设备
CN111870950A (zh) 游戏控件的显示控制方法、装置和电子设备
CN111097169A (zh) 一种游戏图像的处理方法、装置、设备及存储介质
US11011134B2 (en) Non-transitory storage medium encoded with information processing program readable by computer of information processing apparatus which can enhance zest, information processing apparatus, method of controlling information processing apparatus, and information processing system
CN113703901A (zh) 图形码显示方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21917332

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21917332

Country of ref document: EP

Kind code of ref document: A1