CN107818007A - A kind of method and device played automatically - Google Patents
A kind of method and device played automatically Download PDFInfo
- Publication number
- CN107818007A CN107818007A CN201711084164.7A CN201711084164A CN107818007A CN 107818007 A CN107818007 A CN 107818007A CN 201711084164 A CN201711084164 A CN 201711084164A CN 107818007 A CN107818007 A CN 107818007A
- Authority
- CN
- China
- Prior art keywords
- values
- pixel
- value
- compared
- photo current
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Abstract
The invention provides a kind of method and device played automatically, this method, including:Determine the normal pictures of the broadcast button of player under a halt condition;During the player is run, periodically perform:Obtain the photo current of the broadcast button of the player;Determine the similarity of the photo current and the normal pictures;When the similarity is more than or equal to the first preset value, the broadcast button is clicked on.The invention provides a kind of method and device played automatically, it is possible to increase Consumer's Experience.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device played automatically.
Background technology
Player is often used in life, the files such as video, audio are played by player.In existing broadcasting
In device, some players can set the mechanism of some automatic pauses.Such as:Player automatic detection playing duration, when playing
When length exceedes preset duration, automatic pause, or, the time that player automatic detection mouse or keyboard are not operated, if inspection
Measure mouse or keyboard alreadys exceed preset duration and do not operated, then automatic pause.
Visible by foregoing description, there is the mechanism of automatic pause in some players, user is in the process using player
In, it may be necessary to repeatedly play manually, Consumer's Experience is poor.
The content of the invention
The embodiments of the invention provide a kind of method and device played automatically, it is possible to increase Consumer's Experience.
On the one hand, the embodiments of the invention provide a kind of method played automatically, including:
Determine the normal pictures of the broadcast button of player under a halt condition;
During the player is run, periodically perform:
Obtain the photo current of the broadcast button of the player;
Determine the similarity of the photo current and the normal pictures;
When the similarity is more than or equal to the first preset value, the broadcast button is clicked on.
Further,
The normal pictures of the broadcast button for determining player under a halt condition, including:
The target location of the broadcast button of user's input is received, and, target size;
According to the target location and the target size, the standard of the broadcast button under a halt condition is intercepted
Picture;
The photo current of the broadcast button for obtaining the player, including:
According to the target location and the target size, the photo current of the broadcast button is intercepted.
Further,
This method further comprises:
Determine R values, G values and the B values of each standard pixel in the normal pictures;
The similarity for determining the photo current and the normal pictures, including:
Determine R values, G values and the B values of each pixel to be compared of the photo current;
According to the R values, G values and B values of each standard pixel, and R values, G values and the B of each pixel to be compared
Value, determine the similarity of the photo current and the normal pictures.
Further,
The basis each the R values of the standard pixel, G values and B values, and the R values of each pixel to be compared, G
Value and B values, the similarity of the photo current and the normal pictures is determined, including:
For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is right
Whether the absolute value of the difference of the R values for the standard pixel answered is less than or equal to the second preset value, if it is, determining that similar value adds
One, otherwise, it determines dissimilar value plus one;Judge the G values of the current pixel to be compared and the difference of the G values of corresponding standard pixel
Whether the absolute value of value is less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines institute
State dissimilar value plus one;Judge the B values of current pixel to be compared and the difference of the B values of corresponding standard pixel absolute value whether
Less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;
Wherein, the current position of the pixel to be compared in the photo current with corresponding standard pixel in the normal pictures
Position it is identical;
According to formula one, the similarity is determined, wherein, the formula one is:
Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
Further,
The click broadcast button, including:
Click on the target location.
On the other hand, the embodiments of the invention provide a kind of device played automatically, including:
Standard determination unit, for determining the normal pictures of the broadcast button of player under a halt condition;
Automatic broadcast unit, during being run in the player, periodically perform:Obtain the player
The photo current of broadcast button;Determine the similarity of the photo current and the normal pictures;When the similarity be more than etc.
When the first preset value, the broadcast button is clicked on.
Further,
The standard determination unit, the target location of the broadcast button for receiving user's input, and, target chi
It is very little;According to the target location and the target size, the normal pictures of the broadcast button under a halt condition are intercepted;
The automatic broadcast unit, for according to the target location and the target size, intercepting the broadcast button
The photo current.
Further,
The device further comprises:
Color determining unit, for determining R values, G values and the B values of each standard pixel in the normal pictures;
The automatic broadcast unit, R values, G values and the B values of each pixel to be compared for determining the photo current;
According to the R values, G values and B values of each standard pixel, and R values, G values and the B values of each pixel to be compared, it is determined that
The photo current and the similarity of the normal pictures.
Further,
The automatic broadcast unit, is used for:
For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is right
Whether the absolute value of the difference of the R values for the standard pixel answered is less than or equal to the second preset value, if it is, determining that similar value adds
One, otherwise, it determines dissimilar value plus one;Judge the G values of the current pixel to be compared and the difference of the G values of corresponding standard pixel
Whether the absolute value of value is less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines institute
State dissimilar value plus one;Judge the B values of current pixel to be compared and the difference of the B values of corresponding standard pixel absolute value whether
Less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;
Wherein, the current position of the pixel to be compared in the photo current with corresponding standard pixel in the normal pictures
Position it is identical;
According to formula one, the similarity is determined, wherein, the formula one is:
Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
Further,
The automatic broadcast unit, for clicking on the target location.
In embodiments of the present invention, the normal pictures of the broadcast button of player under a halt condition are obtained, in player
During operation, the photo current of broadcast button is periodically obtained, be more than in the similarity of photo current and normal pictures etc.
When the first preset value, illustrate broadcast button under a halt condition, at this moment, automatically clicking broadcast button causes player to continue to broadcast
Put, user can play out without clicking on manually, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for method played automatically that one embodiment of the invention provides;
Fig. 2 is the flow chart for the method that the another kind that one embodiment of the invention provides plays automatically;
Fig. 3 is a kind of schematic diagram for device played automatically that one embodiment of the invention provides;
Fig. 4 is the schematic diagram for the device that the another kind that one embodiment of the invention provides plays automatically.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of method played automatically, this method can include following step
Suddenly:
Step 101:Determine the normal pictures of the broadcast button of player under a halt condition;
Step 102:During the player is run, periodically perform:
Obtain the photo current of the broadcast button of the player;
Determine the similarity of the photo current and the normal pictures;
When the similarity is more than or equal to the first preset value, the broadcast button is clicked on.
In embodiments of the present invention, the normal pictures of the broadcast button of player under a halt condition are obtained, in player
During operation, the photo current of broadcast button is periodically obtained, be more than in the similarity of photo current and normal pictures etc.
When the first preset value, illustrate broadcast button under a halt condition, at this moment, automatically clicking broadcast button causes player to continue to broadcast
Put, user can play out without clicking on manually, improve Consumer's Experience.
In an embodiment of the present invention, the normal pictures of the broadcast button for determining player under a halt condition, bag
Include:
The target location of the broadcast button of user's input is received, and, target size;
According to the target location and the target size, the standard of the broadcast button under a halt condition is intercepted
Picture;
The photo current of the broadcast button for obtaining the player, including:
According to the target location and the target size, the photo current of the broadcast button is intercepted.
In embodiments of the present invention, the position of the normal pictures of interception and photo current and size are consistent, can
More accurately judge broadcast button whether placed in a suspend state.Goal position is the position of broadcast button.
For example, if position is different from target location corresponding to photo current, photo current may intercept not
It is broadcast button, can not be thus accurately judged to the current state of broadcast button.If size corresponding to photo current and mesh
Dimensioning is different, even if all containing broadcast button in two pictures, because size difference is when relatively, similarity difference also compared with
Greatly, and then the state of broadcast button in photo current can not accurately be determined.
In an embodiment of the present invention, this method further comprises:
Determine R values, G values and the B values of each standard pixel in the normal pictures;
The similarity for determining the photo current and the normal pictures, including:
Determine R values, G values and the B values of each pixel to be compared of the photo current;
According to the R values, G values and B values of each standard pixel, and R values, G values and the B of each pixel to be compared
Value, determine the similarity of the photo current and the normal pictures.
R values, G values and the B values of pixel are the underlying attributes of pixel, can be more accurate by the R values, G values and B values of pixel
Determine the similarity of photo current and normal pictures in ground.
Specifically, the R values, G values and B values of each pixel can be obtained in the following manner:
Pixel is converted into binary code, the R values, G values and B values of pixel are determined according to binary code.
In an embodiment of the present invention, the basis each the R values of the standard pixel, G values and B values, and each institute
The R values, G values and B values of pixel to be compared are stated, determines the similarity of the photo current and the normal pictures, including:
For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is right
Whether the absolute value of the difference of the R values for the standard pixel answered is less than or equal to the second preset value, if it is, determining that similar value adds
One, otherwise, it determines dissimilar value plus one;Judge the G values of the current pixel to be compared and the difference of the G values of corresponding standard pixel
Whether the absolute value of value is less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines institute
State dissimilar value plus one;Judge the B values of current pixel to be compared and the difference of the B values of corresponding standard pixel absolute value whether
Less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;
Wherein, the current position of the pixel to be compared in the photo current with corresponding standard pixel in the normal pictures
Position it is identical;
According to formula one, the similarity is determined, wherein, the formula one is:
Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
In embodiments of the present invention, it is necessary to which the position of two pixels contrasted is identical.Such as:Pixel 1 to be compared exists
On the xth row y row of photo current, standard pixel 1 is on the xth row y row of normal pictures, and the two position is identical, so treating
Compared pixels 1 are corresponding with standard pixel 1, it is necessary to compared with by the two.
In order to facilitate calculating, the R values, G values and B values of each standard pixel of normal pictures can be saved in two-dimensional array
In A, wherein, two-dimensional array A each element includes the R values, G values and B values of a standard pixel.By the every of photo current
R values, G values and the B values of individual pixel to be compared are saved in two-dimensional array B, wherein, two-dimensional array B each element includes
R values, G values and the B values of one pixel to be compared.Specifically, for either standard pixel A, pixel A to be compared and standard pixel A
Corresponding, standard pixel A corresponds to two-dimensional array A elements A, and pixel A to be compared corresponds to two-dimensional array B element B, wherein, member
Position of positions of the plain A in two-dimensional array A with element B in two-dimensional array B is identical.So, can be directly by two-dimensional array A
It is compared with two-dimensional array B.
Specifically, the similarity of photo current and normal pictures can be determined by code below:
// change over binary code
// compare picture similarity
In embodiments of the present invention, the second preset value can be 5.
In an embodiment of the present invention, the click broadcast button, including:Click on the target location.
In embodiments of the present invention, because target location is the position of broadcast button, so, clicking on target location can be real
Now click on broadcast button.
Specifically, clicking on broadcast button can be realized by code below:
As shown in Fig. 2 the embodiments of the invention provide a kind of method played automatically, this method can include following step
Suddenly:
Step 201:The target location of the broadcast button of user's input is received, and, target size.
Specifically, can be realized by catching the operation of user.Such as:User irises out broadcast button to come, by user
The part irised out is as target location, and the size for the part that user is irised out is as target size.
Step 202:According to target location and target size, the normal pictures of interception broadcast button under a halt condition.
Specifically, the part that interception user irises out, using the part sectional drawing as normal pictures.
Step 203:Determine R values, G values and the B values of each standard pixel in normal pictures.
During the player is run, periodically perform:
Step 204:According to target location and target size, the photo current of broadcast button is intercepted.
Specifically, the photo current of size identical with normal pictures is being intercepted with normal pictures identical position.Intercepting
When, it is ensured that the current zoom ratio of player is identical with scaling during interception normal pictures, so can just obtain more
Accurately determine the current state of broadcast button.Such as:The scaling of player is full frame, user when intercepting normal pictures
Also to keep full frame in viewing.
Step 205:Determine R values, G values and the B values of each pixel to be compared of photo current.
Step 206:For each pixel to be compared of photo current, perform:Judge the R values of current pixel to be compared with it is right
Whether the absolute value of the difference of the R values for the standard pixel answered is less than or equal to the second preset value, if it is, determining that similar value adds
One, otherwise, it determines dissimilar value plus one;Judge the G values and the difference of the G values of corresponding standard pixel of current pixel to be compared
Whether absolute value is less than or equal to the second preset value, if it is, determining that similar value adds one, otherwise, it determines dissimilar value plus one;Sentence
The B values of disconnected current pixel to be compared are preset with whether the absolute value of the difference of the B values of corresponding standard pixel is less than or equal to second
Value, if it is, determining that similar value adds one, otherwise, it determines dissimilar value plus one;Wherein, current pixel to be compared is schemed currently
Position of the position with corresponding standard pixel in normal pictures in piece is identical.
Specifically, the second preset value can be 5.
For example, the second preset value is 5.Currently R values, G values and the B values of pixel to be compared are successively:102,203,76.
R values, G values and the B values of standard pixel are successively corresponding to current pixel to be compared:106,213,70.The difference of the two R value it is exhausted
5 are less than to value, similar value adds one, and the absolute value of the difference of the two G value is more than 5, dissmilarity value plus one, the difference of the two B value
Absolute value is more than 5, dissmilarity value plus one.
Step 207:According to formula one, the similarity of photo current and normal pictures is determined, wherein, formula one is:
Wherein, S is similarity, and A is similar value, and B is worth to be dissimilar.
Step 208:When similarity is more than or equal to the first preset value, target location is clicked on.
Specifically, the first preset value can be 90%.
Specifically, when similarity is more than or equal to the first preset value, target location is clicked on so that player continues to play,
Then, after waiting this end cycle, the processing of next cycle is continued.When similarity is less than the first preset value, do not make
For processing, after waiting this end cycle, continue the processing of next cycle.Such as:Cycle is 1 minute.
Specifically, in embodiments of the present invention, photo current and normal pictures can be intercepted by code below:
The embodiment of the present invention can be realized by java.
As shown in Figure 3, Figure 4, the embodiments of the invention provide a kind of device played automatically.Device embodiment can pass through
Software is realized, can also be realized by way of hardware or software and hardware combining.For hardware view, as shown in figure 3, being this
A kind of hardware structure diagram of equipment where a kind of device played automatically that inventive embodiments provide, except the processing shown in Fig. 3
Outside device, internal memory, network interface and nonvolatile memory, the equipment in embodiment where device can also generally include
Other hardware, such as it is responsible for the forwarding chip of processing message.Exemplified by implemented in software, as shown in figure 4, being anticipated as a logic
Device in justice, it is to be read corresponding computer program instructions in nonvolatile memory by the CPU of equipment where it
Operation is formed in internal memory.A kind of device played automatically that the present embodiment provides, including:
Standard determination unit 401, for determining the normal pictures of the broadcast button of player under a halt condition;
Automatic broadcast unit 402, during being run in the player, periodically perform:Obtain the broadcasting
The photo current of the broadcast button of device;Determine the similarity of the photo current and the normal pictures;When the similarity is big
When equal to the first preset value, the broadcast button is clicked on.
In an embodiment of the present invention, the standard determination unit, the broadcast button inputted for receiving user
Target location, and, target size;According to the target location and the target size, intercept the broadcast button and suspending
The normal pictures under state;
The automatic broadcast unit, for according to the target location and the target size, intercepting the broadcast button
The photo current.
In an embodiment of the present invention, the device further comprises:
Color determining unit, for determining R values, G values and the B values of each standard pixel in the normal pictures;
The automatic broadcast unit, R values, G values and the B values of each pixel to be compared for determining the photo current;
According to the R values, G values and B values of each standard pixel, and R values, G values and the B values of each pixel to be compared, it is determined that
The photo current and the similarity of the normal pictures.
In an embodiment of the present invention, the automatic broadcast unit, is used for:
For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is right
Whether the absolute value of the difference of the R values for the standard pixel answered is less than or equal to the second preset value, if it is, determining that similar value adds
One, otherwise, it determines dissimilar value plus one;Judge the G values of the current pixel to be compared and the difference of the G values of corresponding standard pixel
Whether the absolute value of value is less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines institute
State dissimilar value plus one;Judge the B values of current pixel to be compared and the difference of the B values of corresponding standard pixel absolute value whether
Less than or equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;
Wherein, the current position of the pixel to be compared in the photo current with corresponding standard pixel in the normal pictures
Position it is identical;
According to formula one, the similarity is determined, wherein, the formula one is:
Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
In an embodiment of the present invention, the automatic broadcast unit, for clicking on the target location.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
The embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the computing device of storage control
During the execute instruction, the storage control performs any one method for playing automatically provided in an embodiment of the present invention.
The embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;
The memory is used to store execute instruction, and the processor is connected with the memory by the bus, when
During the storage control operation, the execute instruction of memory storage described in the computing device, so that the storage control
Device performs any one method for playing automatically provided in an embodiment of the present invention.
The each embodiment of the present invention at least has the advantages that:
In embodiments of the present invention, the normal pictures of the broadcast button of player under a halt condition are obtained, in player
During operation, the photo current of broadcast button is periodically obtained, be more than in the similarity of photo current and normal pictures etc.
When the first preset value, illustrate broadcast button under a halt condition, at this moment, automatically clicking broadcast button causes player to continue to broadcast
Put, user can play out without clicking on manually, improve Consumer's Experience.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that
Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
- A kind of 1. method played automatically, it is characterised in that including:Determine the normal pictures of the broadcast button of player under a halt condition;During the player is run, periodically perform:Obtain the photo current of the broadcast button of the player;Determine the similarity of the photo current and the normal pictures;When the similarity is more than or equal to the first preset value, the broadcast button is clicked on.
- 2. according to the method for claim 1, it is characterised in thatThe normal pictures of the broadcast button for determining player under a halt condition, including:The target location of the broadcast button of user's input is received, and, target size;According to the target location and the target size, the standard drawing of the broadcast button under a halt condition is intercepted Piece;The photo current of the broadcast button for obtaining the player, including:According to the target location and the target size, the photo current of the broadcast button is intercepted.
- 3. according to the method for claim 1, it is characterised in thatFurther comprise:Determine R values, G values and the B values of each standard pixel in the normal pictures;The similarity for determining the photo current and the normal pictures, including:Determine R values, G values and the B values of each pixel to be compared of the photo current;According to the R values, G values and B values of each standard pixel, and R values, G values and the B values of each pixel to be compared, Determine the similarity of the photo current and the normal pictures.
- 4. according to the method for claim 3, it is characterised in thatThe basis each the R values of the standard pixel, G values and B values, and R values, G values and the B of each pixel to be compared Value, the similarity of the photo current and the normal pictures is determined, including:For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is corresponding Whether the absolute value of the difference of the R values of standard pixel is less than or equal to the second preset value, if it is, determine that similar value adds one, it is no Then, it is determined that dissimilar value plus one;Judge the G values and the difference of the G values of corresponding standard pixel of the current pixel to be compared Whether absolute value is less than or equal to second preset value, if it is, determine that the similar value adds one, otherwise, it determines it is described not Similar value adds one;Judge whether the B values of current pixel to be compared are less than with the absolute value of the difference of the B values of corresponding standard pixel Equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;Its In, the current position of the pixel to be compared in the photo current is with corresponding standard pixel in the normal pictures Position is identical;According to formula one, the similarity is determined, wherein, the formula one is:<mrow> <mi>S</mi> <mo>=</mo> <mfrac> <mi>A</mi> <mrow> <mi>A</mi> <mo>+</mo> <mi>B</mi> </mrow> </mfrac> <mo>;</mo> </mrow>Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
- 5. according to the method for claim 2, it is characterised in thatThe click broadcast button, including:Click on the target location.
- A kind of 6. device played automatically, it is characterised in that including:Standard determination unit, for determining the normal pictures of the broadcast button of player under a halt condition;Automatic broadcast unit, during being run in the player, periodically perform:Obtain the broadcasting of the player The photo current of button;Determine the similarity of the photo current and the normal pictures;When the similarity is more than or equal to the During one preset value, the broadcast button is clicked on.
- 7. device according to claim 6, it is characterised in thatThe standard determination unit, the target location of the broadcast button for receiving user's input, and, target size; According to the target location and the target size, the normal pictures of the broadcast button under a halt condition are intercepted;The automatic broadcast unit, for according to the target location and the target size, intercepting the institute of the broadcast button State photo current.
- 8. device according to claim 6, it is characterised in thatFurther comprise:Color determining unit, for determining R values, G values and the B values of each standard pixel in the normal pictures;The automatic broadcast unit, R values, G values and the B values of each pixel to be compared for determining the photo current;According to R values, G values and the B values of each standard pixel, and R values, G values and the B values of each pixel to be compared, it is determined that described Photo current and the similarity of the normal pictures.
- 9. device according to claim 8, it is characterised in thatThe automatic broadcast unit, is used for:For each pixel to be compared of the photo current, perform:Judge the R values of current pixel to be compared with it is corresponding Whether the absolute value of the difference of the R values of standard pixel is less than or equal to the second preset value, if it is, determine that similar value adds one, it is no Then, it is determined that dissimilar value plus one;Judge the G values and the difference of the G values of corresponding standard pixel of the current pixel to be compared Whether absolute value is less than or equal to second preset value, if it is, determine that the similar value adds one, otherwise, it determines it is described not Similar value adds one;Judge whether the B values of current pixel to be compared are less than with the absolute value of the difference of the B values of corresponding standard pixel Equal to second preset value, if it is, determining that the similar value adds one, otherwise, it determines the dissimilar value plus one;Its In, the current position of the pixel to be compared in the photo current is with corresponding standard pixel in the normal pictures Position is identical;According to formula one, the similarity is determined, wherein, the formula one is:<mrow> <mi>S</mi> <mo>=</mo> <mfrac> <mi>A</mi> <mrow> <mi>A</mi> <mo>+</mo> <mi>B</mi> </mrow> </mfrac> <mo>;</mo> </mrow>Wherein, S is the similarity, and A is the similar value, and B is the dissimilar value.
- 10. device according to claim 7, it is characterised in thatThe automatic broadcast unit, for clicking on the target location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711084164.7A CN107818007A (en) | 2017-11-07 | 2017-11-07 | A kind of method and device played automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711084164.7A CN107818007A (en) | 2017-11-07 | 2017-11-07 | A kind of method and device played automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107818007A true CN107818007A (en) | 2018-03-20 |
Family
ID=61604817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711084164.7A Pending CN107818007A (en) | 2017-11-07 | 2017-11-07 | A kind of method and device played automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107818007A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795340A (en) * | 2019-10-04 | 2020-02-14 | 广州易方信息科技股份有限公司 | Non-invasive Flash player automatic testing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559236A (en) * | 2013-10-25 | 2014-02-05 | 华为终端有限公司 | Image displaying method and terminal |
US20160275711A1 (en) * | 2014-06-27 | 2016-09-22 | Tencent Technology (Shenzhen) Company Limited | Picture processing method and apparatus |
-
2017
- 2017-11-07 CN CN201711084164.7A patent/CN107818007A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103559236A (en) * | 2013-10-25 | 2014-02-05 | 华为终端有限公司 | Image displaying method and terminal |
US20160275711A1 (en) * | 2014-06-27 | 2016-09-22 | Tencent Technology (Shenzhen) Company Limited | Picture processing method and apparatus |
Non-Patent Citations (3)
Title |
---|
瑾兰: "https://www.jianshu.com/p/a6859ad9448c", 《图片识别之图片相似度》 * |
百度经验: "https://jingyan.baidu.com/article/ca2d939d0a1ad2eb6d31ce65.html", 《按键精灵设置找到图片脚本一键完成指定的动作》 * |
谢厂节_编程圈: "https://blog.csdn.net/xundh/article/details/78255037?utm_source=blogxgwz6", 《图像基础10 比较图片是否一样》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795340A (en) * | 2019-10-04 | 2020-02-14 | 广州易方信息科技股份有限公司 | Non-invasive Flash player automatic testing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9313444B2 (en) | Relational display of images | |
US20190158934A1 (en) | Video frame capturing method and device | |
WO2017181598A1 (en) | Method and device for playing video | |
JP2014513468A (en) | Video signature | |
US20160112727A1 (en) | Method, Apparatus And Computer Program Product For Generating Semantic Information From Video Content | |
WO2022143688A1 (en) | Video frame extraction processing method, apparatus and device, and medium | |
US9384400B2 (en) | Method and apparatus for identifying salient events by analyzing salient video segments identified by sensor information | |
CN106657774A (en) | Method and device for recording video | |
WO2016062220A1 (en) | Video playing detection method and device | |
CN111079741A (en) | Image frame position detection method and device, electronic equipment and storage medium | |
CN110764986A (en) | Page fluency detection method and device | |
CN109791501B (en) | System and method for reducing download requirements | |
CN107818007A (en) | A kind of method and device played automatically | |
US20170161871A1 (en) | Method and electronic device for previewing picture on intelligent terminal | |
CN113010738B (en) | Video processing method, device, electronic equipment and readable storage medium | |
US8358381B1 (en) | Real-time video segmentation on a GPU for scene and take indexing | |
US8345769B1 (en) | Real-time video segmentation on a GPU for scene and take indexing | |
US11823716B2 (en) | Video timed anchors | |
CN116049490A (en) | Material searching method and device and electronic equipment | |
CN113038218B (en) | Video screenshot method, device, equipment and readable storage medium | |
US20230224528A1 (en) | Method of processing video stream, computer device, and medium | |
TWI722853B (en) | Method, device, storage medium and terminal equipment for generating video cover | |
KR102557267B1 (en) | Display device for securing storage capacity of memory | |
US20230412889A1 (en) | Bullet-screen comment display | |
CN111124862A (en) | Intelligent equipment performance testing method and device and intelligent equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180320 |
|
RJ01 | Rejection of invention patent application after publication |