CN107545214A - Image sequence number determines method, the method to set up of feature, device and smart machine - Google Patents

Image sequence number determines method, the method to set up of feature, device and smart machine Download PDF

Info

Publication number
CN107545214A
CN107545214A CN201610486739.7A CN201610486739A CN107545214A CN 107545214 A CN107545214 A CN 107545214A CN 201610486739 A CN201610486739 A CN 201610486739A CN 107545214 A CN107545214 A CN 107545214A
Authority
CN
China
Prior art keywords
image
sequence number
image feature
determined
feature
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.)
Granted
Application number
CN201610486739.7A
Other languages
Chinese (zh)
Other versions
CN107545214B (en
Inventor
龚悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610486739.7A priority Critical patent/CN107545214B/en
Publication of CN107545214A publication Critical patent/CN107545214A/en
Application granted granted Critical
Publication of CN107545214B publication Critical patent/CN107545214B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of image sequence number to determine method, for providing a kind of scheme for determining image sequence number.Method includes:Determine the first quantity of the first pre-set image feature included in the first image;According to first quantity, the sequence number of described first image is determined.In addition, the embodiment of the present application additionally provides a kind of image sequence determining device, a kind of method to set up of characteristics of image and device, a kind of smart machine.

Description

Image sequence number determines method, the method to set up of feature, device and smart machine
Technical field
The application is related to image processing field, and a kind of image sequence number determines method, the method to set up of characteristics of image, device And smart machine.
Background technology
Under some scenes, it is thus necessary to determine that the sequence number of image.For example test equipment plays the frame of video image frame sequence Under the scene of speed (Frames Per Second, FPS), it is necessary to determine the sequence number of image.
Specifically, the mode of the frame rate of test equipment broadcasting video image frame sequence includes:When video frame image sequence When row playback equipment plays out to video image frame sequence, with high-speed camera the video image frame sequence in video image Whole playing process on frame sequence playback equipment all is recorded;The whole video image frame sequence that high-speed camera is recorded The quantity of included image is counted, and calculates FPS according to statistical result.
In view of the FPS used during recorded video picture frame sequence due to high-speed camera, generally higher than video image Frame sequence playback equipment plays FPS during video image frame sequence, so as to cause to be deposited in the image that high-speed camera is recorded to In many identical images, the FPS of the video image frame sequence played so as to real video frame sequence playback equipment meter It is as follows to calculate formula:
The total playing duration T of total N/ video image frame sequences for the different images that FPS=is recorded to
Wherein, sequence number-bat of original image corresponding to the last frame image for the video image frame sequence that N=is photographed The sequence number of original image corresponding to first two field picture of the video image frame sequence taken the photograph.
In above-mentioned scene, it is necessary to determine the sequence number for the image that video image frame sequence playback equipment plays.It is similar Ground, the demand may also can be produced in other scenes --- for example, image is carried out in the A images shown to image display Intercept after obtaining corresponding B images, can also may it is expected to determine the sequence number of B images.
At present, in above-mentioned scene, the sequence number of image how is effectively determined, prior art is also without the solution for providing maturation Certainly scheme.
The content of the invention
The embodiment of the present application provides a kind of image sequence number and determines method, for providing a kind of side for determining image sequence number Case.
The embodiment of the present application also provides a kind of image sequence determining device, for providing a kind of determination image sequence number Scheme.
The embodiment of the present application also provides the method to set up and device of a kind of characteristics of image.
A kind of image sequence number determines method, and methods described includes:
Determine the first quantity of the first pre-set image feature included in the first image;
According to first quantity, the sequence number of described first image is determined.
A kind of method to set up of characteristics of image, including:
According to the sequence number of image, it is determined that the first quantity to be arranged on the first pre-set image feature in described image;
According to first quantity, the first pre-set image feature of first quantity is set in described image.
A kind of image sequence determining device, described device include:
First quantity determining unit, for the first quantity of the first pre-set image feature for determining to include in the first image;
Sequence number determining unit, for according to first quantity, determining the sequence number of described first image.
A kind of setting device of characteristics of image, described device include:
Determining unit, for the sequence number according to image, it is determined that special to be arranged on the first pre-set image in described image First quantity of sign;
Pre-set image feature setting unit, for according to first quantity, first number to be set in described image First pre-set image feature of amount.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
Due to the quantity according to the first pre-set image feature included in image can be realized, the sequence number of image is determined, Thus provide a kind of scheme for the sequence number for effectively determining image.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present application, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 a are the schematic flow sheet that a kind of image sequence number that the embodiment of the present application provides determines method;
Fig. 1 b are that the image sequence number that the embodiment of the present application provides determines a kind of implement scene signal of method in practice Figure;
Fig. 1 c are reached schematic diagram during maximum by the quantity for the watermark that watermark display area 03 is shown;
Fig. 1 d are the watermark display area 03 and watermark display area 06, Yi Jiqu of certain two field picture in the embodiment of the present application The schematic diagram of watermark shown in domain;
Fig. 1 e are the watermark display area 03 and watermark display area 06, Yi Jiqu of certain two field picture in the embodiment of the present application The schematic diagram of watermark shown in domain;
Fig. 1 f are the process schematic that the first pre-set image feature is set in the embodiment of the present application;
Fig. 2 is a kind of concrete structure schematic diagram for image sequence determining device that the embodiment of the present application provides;
Fig. 3 is a kind of concrete structure schematic diagram for smart machine that the embodiment of the present application provides;
Fig. 4 is a kind of implementation process schematic diagram of the method to set up for characteristics of image that the embodiment of the present application provides;
Fig. 5 is a kind of concrete structure schematic diagram of the setting device for characteristics of image that the embodiment of the present application provides;
Fig. 6 is the FPS of test video picture frame sequence playback equipment implementation process figure.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out under the premise of creative work the every other embodiment obtained, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application provides is described in detail.
Embodiment 1
The embodiment of the present application 1 provides a kind of image sequence determination method, for providing a kind of determination image sequence number Scheme.The executive agent of this method, can be, but not limited to for mobile phone, tablet personal computer, PC (Personal Computer, ) etc. PC can be configured as performing at least one of user terminal of this method that the embodiment of the present application provides, or, the party The executive agent of method, it can also be operating system or a kind of using (Application, APP), or, the execution of this method Main body, it can also be server, etc..
For ease of this method that clearly description the embodiment of the present application 1 provides, hereafter the executive agent in method is possesses Exemplified by the PC of camera, the method that the embodiment of the present application provides is discussed in detail.It will be understood by those skilled in the art that this method Executive agent is that to possess the PC of camera be a kind of exemplary illustration, is not the specific limit to the executive agent of this method It is fixed.
Specifically, the image sequence number that embodiment 1 provides determines the implementation process schematic diagram of method as shown in Figure 1a, including Following key step:
Step 11, the PC for possessing camera determines the quantity of the first pre-set image feature included in the first image (for just Described in distinguishing, the quantity is referred to as the first quantity hereinafter);
First image, refer to the image of images to be recognized sequence number.For example can be the video image that user terminal plays Certain two field picture in frame sequence.
First image, can be set in advance in PC;Can also be it needs to be determined that the sequence number of the first image When, it is sent to PC's by server;It can also be and certain image display (such as mobile phone) is shown using the camera by PC Image shot, scan or image interception obtained from;Etc..The embodiment of the present application is not limited the source of the first image It is fixed.
First pre-set image feature, is the characteristics of image being set in advance in the first image, namely image feature vector.
The first pre-set image feature in the first image, can use image recognition in the embodiment of the present application The feature that identifies of mode.Usually, the characteristics of image that can be visualized when being shown to the first image, Tend to identify by the way of image recognition.Such as face characteristic or the target for possessing designated shape (such as strip) Size (or shape) feature on the border of object, etc., such feature, is generally possible to identify by the way of image recognition Go out.
The first pre-set image feature in first image, can be arranged on previously according to the sequence number of the first image In one image.Such as the first pre-set image feature, can be " white strip " (in the embodiment of the present application, can should " white strip " is referred to as " watermark ") possessed color value, shape value (as corresponding to " circle " value of shape facility, or " square The value of shape facility corresponding to shape ") and the multidimensional characteristic vectors that collectively form of size value, then, if the sequence number of the first image For 1, then white strip as 1 can be set in the first image;, can be if the Serial No. 2 of the first image White strip as 2 is set in one image;By that analogy.That is, the quantity of the first pre-set image feature is arranged on, Mapping relations be present with the sequence number of the first image.
In the embodiment of the present application, the specific implementation of step 11, it can at least include following two ways:
First way:Possess the PC of camera by the way of image recognition is carried out to the first image, determine the first figure The first pre-set image feature identical characteristics of image with pre-saving whether is included as in;If comprising, it is determined that the first image In the quantity (i.e. the first quantity) of the first pre-set image feature that includes.
It should be noted that the first pre-set image feature that the PC for possessing camera is pre-saved, for example can be advance It is arranged in the PC, or, can be that server is sent to the PC and preserved, or, can be that user is input to this In PC, etc..The embodiment of the present application is not done to the source of the first pre-set image feature preserved in the PC and acquisition opportunity Limit.
With reference to the scene described in background technology, second of specific implementation of step 11 can include:Determine second Second quantity of the specified characteristics of image included in image;And the second quantity is defined as the first quantity.
Wherein, the second image mentioned here, it is the image associated with the first image.Specific interrelational form, such as It can include but is not limited to:Second image, it is that the first image is shot, scanned or image that image interception obtains.
In addition, specified characteristics of image mentioned here, is and the first pre-set image feature identical characteristics of image.When first Pre-set image feature, when being the characteristics of image that can be identified by way of image recognition, characteristics of image is specified, is also often The characteristics of image that can be identified by way of image recognition.
It is specific to above-mentioned second below in conjunction with Fig. 1 b for ease of intuitively understanding above-mentioned second of specific implementation Implementation describes in detail.
In scene shown in Fig. 1 b, including two equipment, the respectively tool described in image display 01 and step 11 The PC of standby camera (mark is 05 in Fig. 1 b) (mark is in Fig. 1 b).
In Fig. 1 b, image display 01, for playing video image frame sequence, i.e., according to certain frame per second, show successively Show each frame video image that video image frame sequence includes;Possesses the PC02 of camera 05, for being clapped using the camera 05 The video image frame sequence of the broadcasting of image display 01 is taken the photograph, and by way of image recognition, to being wrapped in the image that photographs The the first pre-set image feature contained is identified, and, the first pre-set image feature is included in the image photographed is identified When, the quantity that the first pre-set image feature in the image of the first pre-set image feature is included to each frame counts.
As shown in Figure 1 b, the video image frame sequence that image display 01 is played, it is assumed that be to be provided with advance The image (i.e. the first image) of first pre-set image feature.In the scene shown in Fig. 1 b, the first pre-set image feature, tool For body, refer to the face of the single watermark 04 in the watermark display area 03 in the image upper left corner shown by image display 01 The multidimensional characteristic vectors that colour, shape value and size value collectively form.It should be noted that the watermark show area in Fig. 1 b The border in domain 03, for the ease of reader understands and draws, in actual applications, the side of the watermark display area 03 in Fig. 1 b Boundary can be sightless in the picture.PC02 can be according to watermark display area 03 in image coordinate system coordinate value, really The location in the picture of watermark display area 03 is determined, so as to targetedly carry out image knowledge to watermark display area 03 Not.
PC02 is shot in certain video image frame sequence played to image display 01, corresponding so as to obtain After the image (the second i.e. associated with the first image image) of pending characteristics of image identification, according to the single water pre-saved The multidimensional characteristic vectors of print, judge whether that the multidimensional characteristic vectors identical with preserving can be identified from the second image Characteristic vector;If can, statistics identified from the second image, with preserve the multidimensional characteristic vectors identical feature to The quantity of amount;Further, the quantity (equivalent to the second quantity) is defined as the institute that image display 01 is played by PC02 State the quantity of the multidimensional characteristic vectors in certain two field picture (equivalent to the first quantity).
It is that the video image frame sequence played to image display 01 enters it should be noted that due to the second image Row shooting obtains, then, in the second image, it can typically include and respective image (the first figure in the video image frame sequence Picture) the first pre-set image feature identical characteristics of image, also, the second image included the of the first pre-set image feature Two quantity, the first of the first pre-set image feature included in the first image that typically can be also played with image display 01 Quantity is identical.It can be seen that if the first quantity of the first pre-set image feature in described first image, is according to described first image Sequence number come what is set, then the second quantity of the first pre-set image feature included in the second image can be defined as institute The first quantity of the first pre-set image feature included in respective image is stated, and then the video image is determined according to the first quantity The sequence number of frame sequence image.
Step 12, according to the first quantity determined by performing step 11, the sequence number of the first image is determined.
Understood based on description above, the first quantity of the first pre-set image feature being arranged in the first image, typically Mapping relations be present with the sequence number of the first image.Therefore,, can be true according to the mapping relations after the first quantity is determined Make the sequence number with the first quantity maps mutually, the sequence number as the first image.
Specifically, by taking the scene shown in Fig. 1 b as an example, PC02 is being counted being identified from the second image and preserved The multidimensional characteristic vectors identical characteristic vector quantity (the second quantity) after, second quantity can be defined as the first number Amount;And according to first quantity, according to image sequence number and be arranged on the video frame image sequence of the broadcasting of image display 01 The mapping relations of the quantity of the first pre-set image feature in row image, it is determined that the sequence number with the first quantity maps mutually.
The sequence number determined, as PC02 shoot the sequence number of the second obtained image, are also image display The sequence number of 01 certain the frame video image frame sequence image played.
The above method used using the embodiment of the present application, due to that can realize according to the default figure of first included in image As the quantity of feature, the sequence number of image is determined, thus provides a kind of scheme for the sequence number for effectively determining image.
It should be noted that in the embodiment of the present application, except the first pre-set image feature can be set in the first image Outside, auxiliary identification information can also be set in the first image.The auxiliary identification information, the first pre-set image feature can be used as The first quantity side information, with the first pre-set image feature jointly as the first image sequence number determination foundation.
Such as so that the first pre-set image is characterized as the multidimensional characteristic vectors of previously described watermark as an example, in such as Fig. 1 b institutes Under the application scenarios shown, for some video image frame sequence that image display 01 plays, if assuming:
The sequence number of the two field picture of the 1st frame that the video image frame sequence includes~the 40th is followed successively by 1,2 ..., 40, be designated as Ni, i span are [Isosorbide-5-Nitrae 0];
It is respectively the quantity for the first pre-set image feature that they are set for the two field picture of the 1st frame~the 40th For Xi, i span is [Isosorbide-5-Nitrae 0];
For the two field picture of the 1st frame~the 40th, Xi and Ni mapping relations are:Xi=Ni, i span is [Isosorbide-5-Nitrae 0].
So, if it is further assumed that Ni=40, namely during i=40, watermark display area 03 as shown in Figure 1 b is shown The quantity of watermark reach maximum (as illustrated in figure 1 c), then how to be included in the video image frame sequence, sequence number>40 The pre-set image feature for the sequence number that image can be uniquely determined out is set in image, turns into urgent problem to be solved.
,, can also be according to the sequence of the first image for the first image in the embodiment of the present application to solve the problem Number, other characteristics of image different from the first pre-set image feature are set in the first image.Describe for ease of distinguishing, hereinafter will Other characteristics of image described in being set in the first image, referred to as the second pre-set image feature.
Still it is video figure when the image that the current time of image display 01 plays by taking the scene shown in Fig. 1 b as an example As the 40th two field picture of frame sequence, so as to occur as illustrated in figure 1 c, the quantity for the watermark that watermark display area 03 is shown reaches During to maximum situation, from the 41st two field picture that the video image frame sequence includes, it can set in the picture such as Fig. 1 d institutes The watermark display area 06 shown.It should be noted that being shown in the round dot in watermark display area 03 in Fig. 1 c, represent in Fig. 1 c Omit and unshowned watermark 04.
Fig. 1 d are described in detail below:
The destination object 07 shown in watermark display area 06 in Fig. 1 d, it is that a color is red, width is 10 Pixel, the highly red strip for 20 pixels.Red the strip possessed color value and size value, can collectively form one Individual characteristic vector, as the second described pre-set image feature.The red strip can also be considered as a kind of watermark.Need what is illustrated It is the border of the watermark display area 06 in Fig. 1 d, for the ease of reader understands and draws, in actual applications, Fig. 1 d In the border of watermark display area 06 can be sightless in the picture.PC02 can scheme according to watermark display area 06 As the coordinate value in coordinate system, the location in the picture of watermark display area 06 is determined, so as to targetedly to watermark Display area 06 carries out image recognition.
Based on the second pre-set image feature, the watermark show area in the 41st two field picture that above-mentioned video image frame sequence includes The watermark that domain 03 and watermark display area 06 are shown, can be as shown in Figure 1 d;And that above-mentioned video image frame sequence includes The watermark that watermark display area 03 and the display area of watermark display area 06 in 42 two field pictures are shown, then can be such as Fig. 1 e institutes Show;The rest may be inferred.
In Fig. 1 d and Fig. 1 e, the characteristic vector (i.e. the second pre-set image feature) of the red strip, it is mapped in predetermined Sequence number carry amount H under scale.Specifically, the characteristic vector of the red strip shown in Fig. 1 d and Fig. 1 e, is mapped in Sequence number carry amount " 1 " under 40 systems.Sequence number carry amount mentioned here, generally refers to the sequence number under predetermined system All carry digits on numeral.By taking the sequence number " 42 " under 10 systems as an example, the sequence number is converted into the sequence under 40 systems After number, the numeral on the carry digit of the sequence number under 40 systems is " 1 ", the numeral on the carry digit, that is, sequence number carry Amount, can map certain second pre-set image feature x;By taking the sequence number " 87 " under 10 systems as an example, the sequence number is converted into 40 and entered After sequence number under system, the numeral on the carry digit of the sequence number under 40 systems is " 2 ", and the sequence number carry amount " 2 " can reflect Penetrate certain second pre-set image feature y;The like.
Continue by taking Fig. 1 d and Fig. 1 e as an example, it is contemplated that from the 81st two field picture that the video image frame sequence includes, meeting Occur with red strip and white strip can not only table diagram picture sequence number the problem of.For it is such the problem of, this Shen Please be in embodiment, from the 81st two field picture, thus it is possible to vary the second pre-set image feature so that set in the two field picture of the 41st frame~80 The second pre-set image feature, different from the second pre-set image feature set in the two field picture of the 81st frame~120.
For example by taking the 81st two field picture as an example, a color can be set in the 81st two field picture, and for green, width is 10 Pixel, the highly green strip for 20 pixels.The green strip can be considered as a kind of watermark, positioned at watermark display area 03 In.Green the strip possessed color value and size value, can collectively form a characteristic vector, as the 81st two field picture Second pre-set image feature.
Again for example, still by taking the 81st two field picture as an example, a color can be set in the 81st two field picture for red, width For 20 pixels, the highly red strip for 20 pixels.Due to being set in the frame of width value and the 41st frame~80 of the red strip The width value for the red strip put is different, and therefore, the size value of the red strip set in the 81st two field picture (includes width value Inside) and the characteristic vector that collectively forms of color value, it is different from the second pre-set image feature set in the frame of the 41st frame~80.
The first pre-set image feature is both included for the first image, and includes the situation of the second pre-set image feature, this Shen Please be in embodiment, can be according to the second pre-set image feature and H after the second pre-set image feature is determined from the first image Mapping relations, determine H;And according to the first quantity of the first pre-set image feature and the sequence number of the first image predetermined The mapping relations of unit numbers under scale, it may be determined that go out (false with the unit numbers of the first quantity maps mutually If it is designated as H').In this case, the sequence number of the first image=(radix of H × predetermined scale)+H'.With Fig. 1 d Exemplified by, the sequence number under 10 systems=(H × 40 that red strip is mapped) of image shown in Fig. 1 d+(white strip The H' that total quantity is mapped)=40+1=41.
Below in conjunction with practical application scene, illustrate how to determine the second pre-set image feature phase with including in the first image Sequence number carry amount H under the predetermined scale of mapping:
It is as the target being arranged in the first image when each second pre-set image feature with reference to practical application scene During the width value of the rectangle watermark of object, following manner can be used, it is determined that second with being included in described first image is preset Sequence number carry amount H under the predetermined scale of characteristics of image maps mutually:
According to the default mapping relations of the sequence number carry amount under each width value and the predetermined scale, it is determined that and institute State the sequence number carry under width value maps mutually, the described predetermined scale of first watermark included in the first image Amount.In default mapping relations mentioned here, different in width value maps the different sequence number carries under the predetermined scale Measure H.
It is as the target being arranged in the first image when each second pre-set image feature with reference to practical application scene When the color-values and width value of the rectangle watermark of object, following manner can be used, it is determined that with being included in described first image Sequence number carry amount H under the predetermined scale of second pre-set image feature maps mutually:
The characteristic element combination formed according to each color-values and each width value and the sequence number under the predetermined scale The mapping relations of carry amount, it is determined that with the color-values and width value maps mutually of first watermark included in described first image , sequence number carry amount H under the predetermined scale.In default mapping relations mentioned here, different characteristic element group Close the different sequence number carry amounts mapped under the predetermined scale.
It is as the target being arranged in the first image when each second pre-set image feature with reference to practical application scene During the color-values of the rectangle watermark of object, following manner can be used, it is determined that second with being included in described first image is preset Sequence number carry amount H under the predetermined scale of characteristics of image maps mutually:
According to the default mapping relations of the sequence number carry amount under each color-values and the predetermined scale, it is determined that and institute State the sequence number carry under color-values maps mutually, the described predetermined scale of first watermark included in the first image Measure H.In default mapping relations mentioned here, different color value maps the different sequence number carries under the predetermined scale Amount.
It should be strongly noted that the method provided in view of the embodiment of the present application, suitable for being clapped using high-speed camera The mode for taking the photograph video image frame sequence tests FPS scene, and the first image under the scene is often in video image frame sequence Image, and in video image frame sequence image set pre-set image feature, the details in need paid special attention to, therefore, The embodiment of the present application is directed to the scene and similar scene, it is proposed that sets the first pre-set image special in the first image accordingly The scheme of sign and/or the second pre-set image feature.
In the embodiment of the present application, when the first image is the image that video image frame sequence includes, included in the first image The first pre-set image feature, can be set using following manner:
The first specific operation is performed respectively for each picture frame subsequence that the video image frame sequence includes successively;
First specific operation includes:According to the first pre-set image feature set-up mode, for the picture frame subsequence In every two field picture perform respectively:According to the sequence number of the image, the first pre-set image feature is set in the images;
Wherein, the first pre-set image feature set-up mode meets:So that it is followed successively by what the picture frame sub-series of packets contained The quantity of the first pre-set image feature set respectively per two field picture is incremented by successively or successively decreases, and so that it is the image The difference of the quantity for the first pre-set image feature that adjacent two field pictures in frame subsequence are set respectively is less than predetermined threshold. The predetermined threshold is such as 2.
It should be noted that the frame number for the image that picture frame sub-series of packets contains, identical with default expected frame number.The expection Frame number, for example can refer to is that the feature viewing area for showing the first pre-set image feature can be shown, to possess first pre- If the maximum quantity of the destination object (foregoing white strip) of characteristics of image.
Utilize certain equipment or certain software, in each two field picture that above-mentioned video image frame sequence includes successively respectively according to During the first pre-set image feature of secondary setting, from the 1st two field picture that the sequence includes, it can complete to set a two field picture every After first pre-set image feature, the count value of the image set to completing the first pre-set image feature is updated, and is updated Count value afterwards.The step of further being performed after being updated to the count value, refer to shown in Fig. 1 f.It should be noted that It is mentioned here to complete to set the first pre-set image feature to a two field picture, refer to complete to preset in a two field picture each first The setting of characteristics of image.
As shown in Figure 1 f, if the count value is not up to the expected frame number, and also included in above-mentioned video image frame sequence The image of the first pre-set image feature is not set, then what is video image frame sequence included successively the first default figure is not set As the image of feature carries out the setting of the first pre-set image feature, if the count value is not up to the expected frame number, and above-mentioned regard Do not include the image that the first pre-set image feature is not set in frequency picture frame sequence, then terminate setting for the first pre-set image feature Put flow;
If the count value reaches the expected frame number, judge whether above-mentioned video image frame sequence also includes and be not set The image of first pre-set image feature;
If in the case where the count value reaches the expected frame number, judge not including in above-mentioned video image frame sequence The image of the first pre-set image feature is not set, then terminates the setting procedure of the first pre-set image feature;
If in the case where the count value reaches the expected frame number, judge also to include in above-mentioned video image frame sequence The image of the first pre-set image feature is not set, then the count value is reset, and after clearing, to above-mentioned video frame image The image that the first pre-set image feature is not set in sequence sets gradually the first pre-set image feature, and in every completion to one After two field picture sets the first pre-set image feature, the count value of the image just set to completing the first pre-set image feature is carried out more Newly, the count value after being updated.When the count value reaches the expected frame number, then perform and judge above-mentioned video frame image sequence Whether row also include the operation for the image that the first pre-set image feature is not set.
Using above-mentioned first pre-set image feature set-up mode, when the predetermined threshold is smaller, video figure can be caused As the quantity difference of the first pre-set image feature in adjacent two field pictures in frame sequence is smaller.
It is previously described white strip possessed size it should be strongly noted that when the first pre-set image feature During the multidimensional characteristic vectors that value and color value are formed, though it is foreseeable that:According to high-speed camera to broadcasting, be provided with this The image of white strip is shot, even if FBS when high-speed camera is shot is broadcast more than video image frame sequence playback equipment FBS during video image frame sequence is put, (for example the image played switches from present frame so as to the white strip that causes to change For next frame when, the white strip that is increased newly relative to present frame in next frame, the white watermark as to change) it is described more Dimensional feature vector is possible to be accurately identified out, if but the quantity of the first pre-set image feature of adjacent two field pictures difference Absolute value it is smaller (such as the absolute value of the difference of the quantity be 1), so as to even by the white strip in previous frame image The quantity of multidimensional characteristic vectors is defined as the vectorial quantity of this in next two field picture, and causes the vectorial number of this in next two field picture Error occurs for amount, but the error is also not too large, within the scope of belonging to acceptable.
For the second pre-set image feature, in the embodiment of the present application, the second pre-set image feature can be used down What the mode of stating was set:
In the embodiment of the present application, when the first image is the image that video image frame sequence includes, included in the first image The second pre-set image feature, can be set using following manner:
The second specific operation is performed respectively for each picture frame subsequence that the video image frame sequence includes successively;
Second specific operation includes:According to the second pre-set image feature set-up mode, for the picture frame subsequence In every two field picture perform respectively:According to the sequence number of the image, the second pre-set image feature is set in the images;
Wherein, the second pre-set image feature set-up mode meets:So that in the video image frame sequence not The the second pre-set image feature set with picture frame subsequence is different.In addition, to avoid carrying out the identification of characteristics of image When the first pre-set image feature and the second pre-set image feature are obscured, in the embodiment of the present application, the second pre-set image is special Sign, is generally different from the first pre-set image feature.
For inventive concept same as mentioned above, the embodiment of the present application also provides two kinds and is used to implement the above method Device, to provide the scheme for determining image sequence number.Both devices, image sequence determining device and intelligence can be referred to as Equipment.
The device provided below the embodiment of the present application describes in detail.
Fig. 2 is referred to, a kind of concrete structure schematic diagram of the image sequence determining device provided for the embodiment of the present application, Mainly include the first quantity determining unit 21 and sequence number determining unit 22.Wherein:
First quantity determining unit 21, for the first number of the first pre-set image feature for determining to include in the first image Amount.
Sequence number determining unit 22, for the first quantity determined according to the first quantity determining unit 21, determine first The sequence number of image.
In the embodiment of the present application, the first image can be directly obtained, and determine to include in the first image first is preset First quantity of characteristics of image;Or second image associated with the first image can also be obtained, and according in the second image Comprising the first pre-set image feature the second quantity, determine the sequence bag of the first image.For latter approach, specifically It can be realized by the first quantity determining unit 21.Specific implementation process includes:
Determine the second quantity of specified characteristics of image included in the second image;
Second quantity is defined as first quantity.
Wherein, the specified characteristics of image, it is and the first pre-set image feature identical characteristics of image, and the finger Determining characteristics of image can be identified by way of image recognition from second image.
Second image, can be that described first image is shot, scanned or schemed under some implement scenes The image obtained as interception.
It is default when not including second in the first image for the concrete function implementation of sequence number determining unit 22 In the case of characteristics of image, sequence number determining unit 22 can be according to first quantity, and the first pre-set image feature The default mapping relations of the sequence number of quantity and image, determine the sequence number of the first image.
And in the case of the second pre-set image feature is included in the first image, the image sequence of the embodiment of the present application offer Row number determining device can also include characteristics determining unit.This feature determining unit, for determine to include in the first image the Two pre-set image features.In the case where the device also includes characteristics determining unit, sequence number determining unit 22 can be according to institute State the first quantity, and corresponding to the second pre-set image feature included in the described first image determined of characteristics determining unit The second quantity, determine the sequence number of the first image.For example sequence number determining unit 22 can be special according to each second pre-set image The default mapping relations of sign and the sequence number carry amount under predetermined scale, it is determined that second with being included in the first image presets Sequence number carry amount under the predetermined scale of characteristics of image maps mutually;According to the sequence number carry amount determined, with And the predetermined scale, sequence number carry amount and the product of the radix of the predetermined scale are determined, as the second number Amount;According to first quantity and second quantity, the sequence number of the first image is determined.
According to first quantity and second quantity determined, the specific implementation of the sequence number of the first image is determined Mode, for example can include:Calculate the second quantity and value of first quantity, the sequence number as described first image.
For the device, how according to the sequence number of the first image, the first pre-set image is set in the first image Feature and the second pre-set image feature, being discussed in detail above is may refer to, here is omitted.
It should be noted that work as the second pre-set image feature, during to be shaped as the width value of the first watermark of rectangle, According to the default mapping relations, it is determined that described pre- with the second pre-set image feature maps mutually for being included in described first image Sequence number carry amount under fixed scale, can include:
According to the default mapping relations of the sequence number carry amount under each second pre-set image feature and predetermined scale, really Sequence under width value maps mutually, the described predetermined scale of first watermark included in fixed and described first image Number carry amount;
In the default mapping relations, different in width value maps the different sequence number carries under the predetermined scale Amount.
It should be noted that when the second pre-set image feature includes the color-values and width value of first watermark When, according to the default mapping relations, it is determined that with the institute of the second pre-set image feature maps mutually included in described first image The sequence number carry amount under predetermined scale is stated, can be included:
The characteristic element combination formed according to each color-values and each width value and the sequence number under the predetermined scale The mapping relations of carry amount, it is determined that with the color-values and width value maps mutually of first watermark included in described first image , sequence number carry amount under the predetermined scale;
In the default mapping relations, different characteristic element combinations map the different sequence numbers under the predetermined scale Carry amount.
The image sequence determining device provided using the embodiment of the present application, is included due to that can realize according in image The first pre-set image feature quantity, determine the sequence number of image, thus provide a kind of sequence number for effectively determining image Scheme.
Fig. 3 is referred to, a kind of concrete structure schematic diagram of the smart machine provided for the embodiment of the present application is main to include depositing Reservoir 31 and processor 32.Wherein:
Memory 31, for storing computer program instructions;
Processor 32, it is coupled to the memory 31, the computer program instructions stored for reading the memory 31, And as response, perform following steps:
Determine the first quantity of the first pre-set image feature included in the first image;
According to first quantity, the sequence number of described first image is determined.
In the embodiment of the present application, how processor 32 determines the first of the first pre-set image feature included in the first image Quantity, and how according to first quantity, the sequence number of described first image is determined, the correlation that can refer to above is retouched State, here is omitted.
The implication of related terms in each step that the processor 32 performs, refers to explanation above, herein no longer Repeat.
It the above is only and simple introduction has been carried out to the function of processor 32, not detailed part, may refer in embodiment 1 Associated description.
The smart machine provided using the embodiment of the present application, it is default according to first included in image due to that can realize The quantity of characteristics of image, the sequence number of image is determined, thus provide a kind of scheme for the sequence number for effectively determining image.
Embodiment 2
The embodiment of the present application 2 provides a kind of method to set up of characteristics of image, to provide one kind according to image sequence number The scheme of characteristics of image is set.The executive agent of this method, it can be, but not limited to as user terminals such as mobile phone, tablet personal computer, PC At least one of, or, the executive agent of this method can also be the application program run in user terminal, or, the party The executive agent of method is also possible to be server.
Due in embodiment 1 for how to set in the first image the first pre-set image feature and the second pre-set image special Sign has done more detailed introduction, therefore the method to set up of the characteristics of image hereafter only provided the embodiment of the present application is entered Some simple introductions of row.The content that hereafter non-exhaustive presentation arrives, it may refer to the associated description in embodiment 1.
Specifically, embodiment 2 provide characteristics of image method to set up implementation process schematic diagram as shown in figure 4, including Following key step:
Step 41, according to the sequence number of image, determine that the first of the first pre-set image feature in the picture to be placed counts Amount;
Wherein, the sequence number of image, the frame for representing image present position in video image frame sequence can be referred to Number, etc..From the point of view of the form of expression, the sequence number can be the numeral under predetermined scale, such as can be under 10 scales Numeral 1,2 ... 100, etc..
In the embodiment of the present application, the mapping of the sequence number of different images and the quantity of the first pre-set image feature can be established Relation, so that in the case where knowing the sequence number of certain image, according to the mapping relations, it may be determined that the sequence with certain image The quantity of first pre-set image feature of row number maps mutually, that is, determine the first quantity.Mapping relations mentioned here, can be letter Single functional relation, mapping relations that can also be more complicated.For example, can be true if the Serial No. 1 of the first image Fixed first quantity is 1;If the Serial No. 2 of the first image, it is 2 that can determine first quantity;By that analogy.
First pre-set image feature can be one-dimensional characteristic vector or be combined by multiple characteristic elements Multidimensional characteristic vectors.Such as the first pre-set image feature, can be single watermark 04 in Fig. 1 b color value, shape value The multidimensional characteristic vectors collectively formed with size value.
The first pre-set image feature, can be the feature that can be identified by the way of image recognition, such as can be with It is face characteristic or Quick Response Code feature or possesses the size (or shape) on the border of the destination object of designated shape (such as strip) Feature, etc..
Step 42, according to the first quantity determined by performing step 41, first quantity is set in the picture First pre-set image feature.
For example certain watermark of first quantity can be set in the picture according to first quantity, wherein, it is single The characteristics of image of individual certain watermark, is the first described pre-set image feature.
It should be noted that in the embodiment of the present application, in addition to the first pre-set image feature can be set in the picture, also Auxiliary identification information can be set in the picture.The auxiliary identification information, can be as the first number of the first pre-set image feature The side information of amount, the sequence number with the first pre-set image feature jointly mapping graph picture.
The auxiliary identification information, for example can be the second pre-set image feature described in embodiment 1.The embodiment of the present application In, when the numeral under the predetermined scale of the Serial No., according to the sequence number of image, it is determined that to be arranged on described image In the first pre-set image feature the first quantity, and determine to be arranged on the second pre-set image feature in described image, It can specifically include:
Judge the sequence number, if more than the maximum number for allowing to be arranged on the first pre-set image feature in described image Amount;
If, it is determined that (sequence number enters sequence number carry amount of the sequence number under the predetermined scale Position amount, for the numeral in other digits outside the lowest order digit under the predetermined scale), and according to the sequence determined Number carry amount, and the default mapping of each second pre-set image feature and the sequence number carry amount under the predetermined scale are closed System, it is determined that the second pre-set image feature with the sequence number carry amount maps mutually determined, as to be arranged on the figure The second pre-set image feature as in;In addition, the number by the sequence number in the lowest order digit under the predetermined scale Word, it is defined as first quantity;
If it is not, the sequence number is then defined as first quantity.
It should be noted that setting the second pre-set image feature in the first image, can specifically refer to set in the picture Put the destination object for possessing the second pre-set image feature.The destination object, for example can be the watermark of rectangle, possess including Following at least one characteristic elements:
Size value;Color-values.
So that destination object is the watermark of rectangle as an example, when the second pre-set image feature, including during the size value, respectively The default mapping relations of second pre-set image feature and the sequence number carry amount under the predetermined scale, including:Described Each width value of one watermark and the default mapping relations of the sequence number carry amount under the predetermined scale;When described second pre- If characteristics of image, including when the size value and the color-values, each second pre-set image feature and the predetermined scale Under sequence number carry amount default mapping relations, including:The characteristic element combination and institute that each color-values and each width value are formed State the mapping relations of the sequence number carry amount under predetermined scale;When the second pre-set image feature, including the color During value, the default mapping relations of each second pre-set image feature and the sequence number carry amount under the predetermined scale, including: The characteristic element combination and the mapping of the sequence number carry amount under the predetermined scale that each color-values and each width value are formed Relation.
Due in embodiment 1 to how to set the second pre-set image feature to be described in detail in the picture, because This is repeated no more in this embodiment 2.The content that non-exhaustive presentation arrives, it may refer to the associated description in embodiment 1.
The above-mentioned technical proposal provided using the embodiment of the present application 2, it is possible to achieve according to the sequence number of image, in the picture A number of first pre-set image feature is set, when the sequence number for being enough unique mapping graph picture according to the first pre-set image feature When, using the technical scheme, can cause subsequently can be according to the sequence number of the image.
For inventive concept same as mentioned above, the embodiment of the present application also provides two kinds and is used to implement the above method Device, to provide the scheme for determining image sequence number.Both devices, the setting device and intelligence of characteristics of image can be referred to as Equipment.
The device provided below the embodiment of the present application describes in detail.
Fig. 5 is referred to, a kind of concrete structure schematic diagram of the setting device of the characteristics of image provided for the embodiment of the present application, Mainly include determining unit 51 and pre-set image feature setting unit 52.Wherein:
Determining unit 51, for the sequence number according to image, it is determined that to be arranged on the first pre-set image in described image First quantity of feature;
Pre-set image feature setting unit 52, for the first quantity determined according to determining unit 51, in described image First pre-set image feature of first quantity is set.
, can also be in addition to can the first pre-set image feature be set in the first image in the embodiment of the present application Auxiliary identification information is set in one image.The auxiliary identification information, can be as the first quantity of the first pre-set image feature Side information, the sequence number of the first image is jointly uniquely mapped with the first pre-set image feature.The auxiliary identification information, such as It can be the second pre-set image feature.
The second pre-set image feature is set to realize, the determining unit 51, can be also used for according to the sequence number, really Determine to be arranged on the second pre-set image feature in described image;Pre-set image feature setting unit 52, can be also used in institute State the second pre-set image feature for setting the second determining unit to determine in image.For example it can set in described image Possesses the destination object of the second pre-set image feature.
Such as the second pre-set image feature, following at least one characteristic elements can be included:
Size value;Color-values.
In one embodiment, when the numeral under the predetermined scale of the Serial No.;The determining unit 51, Specifically it can be used for:Judge the sequence number, if more than the first pre-set image feature for allowing to be arranged in described image Maximum quantity;
If, it is determined that (sequence number enters sequence number carry amount of the sequence number under the predetermined scale Position amount, for the numeral in other digits outside the lowest order digit under the predetermined scale), and according to the sequence determined Number carry amount, and the default mapping of each second pre-set image feature and the sequence number carry amount under the predetermined scale are closed System, it is determined that the second pre-set image feature with the sequence number carry amount maps mutually determined, as to be arranged on the figure The second pre-set image feature as in;In addition, the number by the sequence number in the lowest order digit under the predetermined scale Word, it is defined as first quantity;
If it is not, the sequence number is then defined as first quantity.
It should be noted that setting the second pre-set image feature in the first image, can specifically refer to set in the picture Put the destination object for possessing the second pre-set image feature.The destination object, for example can be the watermark of rectangle, possess including Following at least one characteristic elements:
Size value;Color-values.
So that destination object is the watermark of rectangle as an example, when the second pre-set image feature, including during the size value, respectively The default mapping relations of second pre-set image feature and the sequence number carry amount under the predetermined scale, including:Described Each width value of one watermark and the default mapping relations of the sequence number carry amount under the predetermined scale;When described second pre- If characteristics of image, including when the size value and the color-values, each second pre-set image feature and the predetermined scale Under sequence number carry amount default mapping relations, including:The characteristic element combination and institute that each color-values and each width value are formed State the mapping relations of the sequence number carry amount under predetermined scale;When the second pre-set image feature, including the color During value, the default mapping relations of each second pre-set image feature and the sequence number carry amount under the predetermined scale, including: The characteristic element combination and the mapping of the sequence number carry amount under the predetermined scale that each color-values and each width value are formed Relation.
In addition, a kind of smart machine that the embodiment of the present application provides, to realize that the sequence number according to image is arranged on figure Characteristics of image is set as in.The concrete structure of the smart machine is similar with Fig. 3, including memory and processor.Wherein:
Memory, for storing computer program instructions;
Processor, it is coupled to the memory, for reading the computer program instructions of the memory storage, and conduct Response, perform following operation:
According to the sequence number of image, it is determined that the first quantity to be arranged on the first pre-set image feature in described image;
According to first quantity, the first pre-set image feature of first quantity is set in described image.
The processor, can be also used for:According to the sequence number, it is determined that default to be arranged on second in described image Characteristics of image;The the second pre-set image feature determined is set in described image.
How according to sequence number, it is determined that to be arranged on the second pre-set image feature in described image, and how in institute The the second pre-set image feature for setting and determining in image is stated, may refer to associated description above, here is omitted.
It the above is only and simple introduction has been carried out to the function of processor, not detailed part, may refer to the phase in embodiment 1 Close description.
The said apparatus or smart machine provided using the embodiment of the present application 2, it is possible to achieve according to the sequence number of image, A number of first pre-set image feature is set in image, when according to the first pre-set image feature be enough unique mapping graph as During sequence number, using the technical scheme, can cause subsequently can be according to the sequence number of the image.
Embodiment 3
The present embodiment 3 will be by taking test scene as an example, and the image sequence number that comprehensive explanation above-described embodiment 1 provides determines method And the practical application flow of the method to set up of the characteristics of image of the offer of embodiment 2.
Specifically, the test scene described in the present embodiment 3, is for test video picture frame sequence playback equipment FPS scene.The equipment that the scene is included can as shown in Figure 1 b, including the image for playing video image frame sequence shows Show equipment 01, and for testing FPS PC02.
Under the test scene that embodiment 3 provides, the FPS of test video picture frame sequence playback equipment implementation process figure As shown in fig. 6, comprise the following steps:
Step 61, image display 01 is according to the sequence number of image, in video image frame sequence respectively to be played Image default primitive character is set;
It is of course also possible to it is that default primitive character is set for image by other equipment, the embodiment of the present application is not made to this Limit.
In the embodiment of the present application, the sequence number of image can be sequence number of the image in video image frame sequence.Default original Beginning feature can have two kinds, and one kind is the first pre-set image feature, and another kind is the second pre-set image feature.It is every kind of default original Feature, can serve as reasons " shape facility on destination object border ", " size value on destination object border " and " color of destination object The characteristic vector that these characteristic elements of coloured silk value " are formed.Distinguished with showing, the first pre-set image feature and the second pre-set image feature It is often different.
, can be with by taking certain two field picture in video image frame sequence as an example it should be noted that in the embodiment of the present application The sequence number of the image is split as two parts, wherein, Part I, for example be the number on the individual position under 10 scales, and second Part, then such as it is the number being higher than on other of a position under 10 scales.
After being split to obtain the Part I to the sequence number of image, according to the number on the individual position under 10 scales With the default mapping relations of the quantity of the first pre-set image feature, it may be determined that the first default figure that the Part I is mapped As the quantity of feature.It is specifically a kind of what kind of feature as the first pre-set image feature, can predefine well.
After being split to obtain the Part II to the sequence number of image, according to outside the units under 10 scales The default mapping relations of other number and the second pre-set image feature, it may be determined that the Part II is mapped second pre- If characteristics of image.
In the quantity determined the Part I and mapped, and the second pre-set image that the Part II is mapped After feature, it is possible in the two field picture, the first pre-set image feature of the quantity is set, and sets the Part II The the second pre-set image feature mapped.
Specific set-up mode, for example can include:Specified image-region in the two field picture is (such as the image upper left corner Some region) in watermark P is set.Wherein, the watermark P set in the specified image-region total quantity, equal to described The quantity that a part is mapped.Single watermark P, possesses the single first pre-set image feature.
In addition, in the specified image-region, set and possess the second pre-set image spy that the Part II is mapped The watermark Q of sign.
Each two field picture included for the video image frame sequence described in the embodiment of the present application 3, it can use above-mentioned Mode, realization set the first pre-set image feature and the second pre-set image feature in the picture.
Especially, it should be noted that when the position of other in addition to the numerical value of units under 10 scales of the sequence number of image Numerical value, when being 0, the second pre-set image feature can not also be set in the picture.
For ease of description, assume in the embodiment of the present application by performing step 61, each figure in video image frame sequence The first pre-set image feature and the second pre-set image feature are provided with as in.
Step 62, image display 01 completes the first pre-set image to every two field picture in video image frame sequence After feature and the second pre-set image feature, video image frame sequence is played out;PC02 plays to image display 01 Video image frame sequence is shot;
Image obtained from the video image frame sequence that PC02 plays to image display 01 is shot, that is, Previously described second image.Figure corresponding with second image in the video image frame sequence that image display 01 plays Picture, then equivalent to previously described first image.
Step 63, PC02 is by the way of image recognition, to the number of the first pre-set image feature included in the second image Amount and the second pre-set image feature are identified, and according to recognition result, it is determined that the first image corresponding with second image Sequence number.According to which, PC02 can determine that each image that shooting obtains is right respectively (equivalent to each second image) The sequence number for each first image answered.Due to above to how according to the quantity of the first pre-set image feature and Two pre-set image features determine that the sequence number of image is described in detail, and here is omitted.
Further, PC02 can the sequence number based on each first image determined, it is determined that by image display The total quantity M for possessing different images that 01 video image frame sequence played is included.
M calculation, can be the video frame image that M=plays to image display 01 in the embodiment of the present application The video image frame sequence that sequence is shot the sequence number of last obtained image-played to image display 01 enters The sequence number for first image that row shooting obtains.
Step 64, M is calculated according to by performing step 63 in PC02, calculates the FBS of image display 01.
Specific formula for calculation is as follows:
The total playing duration T of FPS=M/ video image frame sequences
The image sequence number provided using the embodiment of the present application determines method, it is possible to achieve first in image is default The quantity of characteristics of image and the second pre-set image feature determine the sequence number of image, so as to provide a kind of effective determination figure As the scheme of sequence number.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the application can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the application can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including key element Other identical element in process, method, commodity or equipment also be present.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Embodiments herein is these are only, is not limited to the application.To those skilled in the art, The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution, Improve etc., it should be included within the scope of claims hereof.

Claims (41)

1. a kind of image sequence number determines method, it is characterised in that methods described includes:
Determine the first quantity of the first pre-set image feature included in the first image;
According to first quantity, the sequence number of described first image is determined.
2. the method as described in claim 1, it is characterised in that also include:Determine to include in described first image second is pre- If characteristics of image;
According to first quantity, the sequence number of described first image is determined, including:
According to first quantity, and the second quantity corresponding to the second pre-set image feature included in described first image, Determine the sequence number of the first image.
3. method as claimed in claim 2, it is characterised in that according to first quantity, and wrapped in described first image Second quantity corresponding to the second pre-set image feature contained, the sequence number of the first image is determined, including:
According to the default mapping relations of the sequence number carry amount under each second pre-set image feature and predetermined scale, it is determined that with Sequence number carry amount under the predetermined scale of the second pre-set image feature maps mutually included in described first image;
According to the sequence number carry amount determined, and the predetermined scale, second quantity is determined;
According to first quantity and second quantity determined, the sequence number of the first image is determined.
4. method as claimed in claim 3, it is characterised in that according to first quantity and second number determined Amount, the sequence number of the first image is determined, including:
Calculate the second quantity and value of first quantity, the sequence number as described first image.
5. method as claimed in claim 4, it is characterised in that the second pre-set image feature, including following at least one Characteristic element:
The size value of goal-selling object;
The color-values of goal-selling object.
6. method as claimed in claim 5, it is characterised in that the goal-selling object is the first water for being shaped as rectangle Print.
7. method as claimed in claim 6, it is characterised in that when the second pre-set image feature includes first watermark Width value when, according to the default mapping relations, it is determined that with the second pre-set image feature phase for being included in described first image Sequence number carry amount under the predetermined scale of mapping, including:
According to the default mapping relations of the sequence number carry amount under each width value and the predetermined scale, it is determined that with described the Sequence number carry amount under width value maps mutually, the described predetermined scale of first watermark included in one image;
In the default mapping relations, different in width value maps the different sequence number carry amounts under the predetermined scale.
8. method as claimed in claim 6, it is characterised in that when the second pre-set image feature includes first watermark Color-values and during width value, according to the default mapping relations, it is determined that with the second default figure for being included in described first image As feature maps mutually the predetermined scale under sequence number carry amount, including:
The characteristic element combination formed according to each color-values and each width value and the sequence number carry under the predetermined scale The mapping relations of amount, it is determined that with the color-values of first watermark that are included in described first image and width value maps mutually, Sequence number carry amount under the predetermined scale;
In the default mapping relations, different characteristic element combinations map the different sequence number carries under the predetermined scale Amount.
9. the method as described in claim 1 or 6, it is characterised in that the first pre-set image feature, be shaped as to be default The characteristics of image of second watermark of rectangle.
10. the method as described in any claim of claim 1~8, it is characterised in that the first pre-set image feature, is root It is arranged on according to the sequence number of described first image in described first image.
11. method as claimed in claim 10, it is characterised in that described first image, included for video image frame sequence Image;
The the first pre-set image feature included in described first image, is to be arranged on using following manner in described first image 's:
The first specific operation is performed respectively for each picture frame subsequence that the video image frame sequence includes successively;
First specific operation includes:According to the first pre-set image feature set-up mode, in the picture frame subsequence Performed respectively per two field picture:According to the sequence number of the image, the first pre-set image feature is set in the images;
Wherein, the first pre-set image feature set-up mode meets:So that it is followed successively by every frame that the picture frame sub-series of packets contains The quantity for the first pre-set image feature that image is set respectively is incremented by successively or successively decreases, and so that for picture frame The difference of the quantity for the first pre-set image feature that adjacent two field pictures in sequence are set respectively is less than predetermined threshold.
12. the method as described in any claim of claim 2~8, it is characterised in that second included in described first image is pre- It is to be arranged on according to the sequence number of described first image in described first image if characteristics of image.
13. method as claimed in claim 12, it is characterised in that described first image, included for video image frame sequence Image;
The the second pre-set image feature included in described first image, is to be arranged on using following manner in described first image 's:
The second specific operation is performed respectively for each picture frame subsequence that the video image frame sequence includes successively;
Second specific operation includes:According to the second pre-set image feature set-up mode, in the picture frame subsequence Performed respectively per two field picture:According to the sequence number of the image, the second pre-set image feature is set in the images;
Wherein, the second pre-set image feature set-up mode meets:So that it is the difference figure in the video image frame sequence As the second pre-set image feature that frame subsequence is set is different.
14. the method as described in claim 1, it is characterised in that determine the first pre-set image feature included in the first image The first quantity, including:
The second quantity of specified characteristics of image included in the second image is determined, as first quantity;
Wherein, second image, it is that described first image is shot, scanned or image that image interception obtains;
The specified characteristics of image, it is and the first pre-set image feature identical characteristics of image.
15. method as claimed in claim 14, it is characterised in that methods described is applied to video image frame sequence and plays smoothness In degree test.
16. the method as described in claim 1, it is characterised in that the first pre-set image feature, for that can be known by image The feature identified otherwise from described first image;
The first quantity of the first pre-set image feature included in the first image is determined, including:
By the way of image recognition, the first quantity of the first pre-set image feature included in the first image is determined.
A kind of 17. method to set up of characteristics of image, it is characterised in that including:
According to the sequence number of image, it is determined that the first quantity to be arranged on the first pre-set image feature in described image;
According to first quantity, the first pre-set image feature of first quantity is set in described image.
18. method as claimed in claim 17, it is characterised in that methods described also includes:
According to the sequence number, it is determined that to be arranged on the second pre-set image feature in described image;
The the second pre-set image feature determined is set in described image.
19. method as claimed in claim 18, it is characterised in that the numeral under the predetermined scale of the Serial No.;Then, According to the sequence number, it is determined that to be arranged on the first quantity of the first pre-set image feature in described image, and, according to institute Sequence number is stated, it is determined that to be arranged on the second pre-set image feature in described image, including:
Judge the sequence number, if more than the maximum quantity for allowing to be arranged on the first pre-set image feature in described image;
If, it is determined that sequence number carry amount of the sequence number under the predetermined scale;The sequence number carry amount, For the numeral in other digits outside the lowest order digit under the predetermined scale;
By numeral of the sequence number in the lowest order digit under the predetermined scale, it is defined as first quantity;Root According to the sequence number carry amount determined, and each second pre-set image feature and the sequence number carry under the predetermined scale The default mapping relations of amount, it is determined that the second pre-set image feature with the sequence number carry amount maps mutually determined, as To be arranged on the second pre-set image feature in described image.
20. method as claimed in claim 19, it is characterised in that the second pre-set image determined is set in described image Feature, including:
The destination object for possessing the second pre-set image feature is set in described image.
21. method as claimed in claim 20, it is characterised in that the second pre-set image feature, including following at least one Kind characteristic element:
Size value;
Color-values.
22. method as claimed in claim 21, it is characterised in that the destination object is the first watermark for being shaped as rectangle.
23. method as claimed in claim 22, it is characterised in that when the second pre-set image feature, including the size During value, the default mapping relations, including:
Each width value of first watermark and the default mapping relations of the sequence number carry amount under the predetermined scale;
When the second pre-set image feature, including during the color-values, the default mapping relations, including:
The default mapping relations of each color-values of first watermark and the sequence number carry amount under the predetermined scale;
When the second pre-set image feature, including when the size value and the color-values, the default mapping relations, bag Include:
The characteristic element combination and the sequence number carry amount under the predetermined scale that each color-values and each width value are formed Mapping relations.
24. method as claimed in claim 17, it is characterised in that according to first quantity, institute is set in described image The first pre-set image feature of the first quantity is stated, including:
According to first quantity, the second watermark of first quantity is set in described image;
Wherein, second watermark possesses the first pre-set image feature.
25. method as claimed in claim 17, it is characterised in that the first pre-set image feature, for image recognition can be passed through The characteristics of image that identifies of mode.
26. a kind of image sequence determining device, described device include:
First quantity determining unit, for the first quantity of the first pre-set image feature for determining to include in the first image;
Sequence number determining unit, for according to first quantity, determining the sequence number of described first image.
27. device as claimed in claim 26, it is characterised in that described device also includes:
Characteristics determining unit, for the second pre-set image feature for determining to include in the first image;Then,
Sequence number determining unit, it is used for:
According to first quantity, and the second quantity corresponding to the second pre-set image feature included in described first image, Determine the sequence number of the first image.
28. device as claimed in claim 27, it is characterised in that sequence number determining unit, be used for:
According to the default mapping relations of the sequence number carry amount under each second pre-set image feature and predetermined scale, it is determined that with Sequence number carry amount under the predetermined scale of the second pre-set image feature maps mutually included in described first image;
According to the sequence number carry amount determined, and the predetermined scale, second quantity is determined;
According to first quantity and second quantity determined, the sequence number of the first image is determined.
29. device as claimed in claim 27, it is characterised in that the second pre-set image feature, including following at least one Kind characteristic element:
The size value of goal-selling object;
The color-values of goal-selling object.
30. device as claimed in claim 29, it is characterised in that the goal-selling object is the first water for being shaped as rectangle Print.
31. device as claimed in claim 30, it is characterised in that when the second pre-set image feature includes first water During the width value of print, sequence number determining unit, it is used for:
According to the default mapping relations of the sequence number carry amount under each width value and the predetermined scale, it is determined that with described the Sequence number carry amount under width value maps mutually, the described predetermined scale of first watermark included in one image;
In the default mapping relations, different in width value maps the different sequence number carry amounts under the predetermined scale.
32. device as claimed in claim 30, it is characterised in that when the second pre-set image feature includes first water When the color-values and width value of print, sequence number determining unit, it is used for:
The characteristic element combination formed according to each color-values and each width value and the sequence number carry under the predetermined scale The mapping relations of amount, it is determined that with the color-values of first watermark that are included in described first image and width value maps mutually, Sequence number carry amount under the predetermined scale;
In the default mapping relations, different characteristic element combinations map the different sequence number carries under the predetermined scale Amount.
33. the device as described in any claim of claim 26~32, it is characterised in that the first pre-set image feature, be It is arranged on according to the sequence number of described first image in described first image.
34. device as claimed in claim 26, it is characterised in that the first quantity determining unit, be used for:
The second quantity of specified characteristics of image included in the second image is determined, as first quantity;
Wherein, second image, it is that described first image is shot, scanned or image that image interception obtains;
The specified characteristics of image, it is and the first pre-set image feature identical characteristics of image.
35. device as claimed in claim 26, it is characterised in that the first pre-set image feature, for image can be passed through Know the feature identified otherwise from described first image;
First quantity determining unit, is used for:By the way of image recognition, the first pre-set image included in the first image is determined First quantity of feature.
36. a kind of setting device of characteristics of image, described device include:
Determining unit, for the sequence number according to image, it is determined that to be arranged on the first pre-set image feature in described image First quantity;
Pre-set image feature setting unit, for according to first quantity, the first of the quantity to be set in described image Pre-set image feature.
37. device as claimed in claim 36, it is characterised in that:
The determining unit, it is additionally operable to according to the sequence number, it is determined that special to be arranged on the second pre-set image in described image Sign;
The pre-set image feature setting unit, it is additionally operable to set the second pre-set image characteristics determining unit true in described image The the second pre-set image feature made.
38. device as claimed in claim 37, it is characterised in that the numeral under the predetermined scale of the Serial No.;Then, The determining unit, is used for:
Judge the sequence number, if more than the maximum quantity for allowing to be arranged on the first pre-set image feature in described image;
If, it is determined that sequence number carry amount of the sequence number under the predetermined scale;The sequence number carry amount, For the numeral in other digits outside the lowest order digit under the predetermined scale;
By numeral of the sequence number in the lowest order digit under the predetermined scale, it is defined as first quantity;Root According to the sequence number carry amount determined, and each second pre-set image feature and the sequence number carry under the predetermined scale The default mapping relations of amount, it is determined that the second pre-set image feature with the sequence number carry amount maps mutually determined, as To be arranged on the second pre-set image feature in described image.
39. device as claimed in claim 38, it is characterised in that the first pre-set image feature, for image recognition can be passed through The characteristics of image that identifies of mode.
40. a kind of smart machine, it is characterised in that the equipment includes:
Memory, for storing computer program instructions;
Processor, it is coupled to the memory, for reading the computer program instructions of the memory storage, and as sound Should, perform following operation:
Determine the first quantity of the first pre-set image feature included in the first image;
According to first quantity, the sequence number of described first image is determined.
41. a kind of smart machine, it is characterised in that the equipment includes:
Memory, for storing computer program instructions;
Processor, it is coupled to the memory, for reading the computer program instructions of the memory storage, and as sound Should, perform following operation:
According to the sequence number of image, it is determined that the first quantity to be arranged on the first pre-set image feature in described image;
According to first quantity, the first pre-set image feature of first quantity is set in described image.
CN201610486739.7A 2016-06-28 2016-06-28 Image serial number determining method, feature setting method and device and intelligent equipment Active CN107545214B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610486739.7A CN107545214B (en) 2016-06-28 2016-06-28 Image serial number determining method, feature setting method and device and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610486739.7A CN107545214B (en) 2016-06-28 2016-06-28 Image serial number determining method, feature setting method and device and intelligent equipment

Publications (2)

Publication Number Publication Date
CN107545214A true CN107545214A (en) 2018-01-05
CN107545214B CN107545214B (en) 2021-07-27

Family

ID=60962665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610486739.7A Active CN107545214B (en) 2016-06-28 2016-06-28 Image serial number determining method, feature setting method and device and intelligent equipment

Country Status (1)

Country Link
CN (1) CN107545214B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177449A (en) * 2019-12-30 2020-05-19 深圳市商汤科技有限公司 Multi-dimensional information integration method based on picture and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102005078A (en) * 2010-12-23 2011-04-06 北京新岸线软件科技有限公司 Method and device for recognizing paper currencies and tickets
CN102473312A (en) * 2009-07-23 2012-05-23 日本电气株式会社 Marker generation device, marker generation detection system, marker generation detection device, marker, marker generation method and program therefor
CN102800148A (en) * 2012-07-10 2012-11-28 中山大学 RMB sequence number identification method
CN103875208A (en) * 2011-10-13 2014-06-18 国际商业机器公司 Deterring information copying including deterrence of currency counterfeiting
CN104661021A (en) * 2015-02-12 2015-05-27 国家电网公司 Quality assessment method and device for video streaming
CN105611291A (en) * 2015-12-31 2016-05-25 北京奇艺世纪科技有限公司 Method and device for adding mark information and detection frame loss in video frame

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473312A (en) * 2009-07-23 2012-05-23 日本电气株式会社 Marker generation device, marker generation detection system, marker generation detection device, marker, marker generation method and program therefor
CN102005078A (en) * 2010-12-23 2011-04-06 北京新岸线软件科技有限公司 Method and device for recognizing paper currencies and tickets
CN103875208A (en) * 2011-10-13 2014-06-18 国际商业机器公司 Deterring information copying including deterrence of currency counterfeiting
CN102800148A (en) * 2012-07-10 2012-11-28 中山大学 RMB sequence number identification method
CN104661021A (en) * 2015-02-12 2015-05-27 国家电网公司 Quality assessment method and device for video streaming
CN105611291A (en) * 2015-12-31 2016-05-25 北京奇艺世纪科技有限公司 Method and device for adding mark information and detection frame loss in video frame

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177449A (en) * 2019-12-30 2020-05-19 深圳市商汤科技有限公司 Multi-dimensional information integration method based on picture and related equipment

Also Published As

Publication number Publication date
CN107545214B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN108921266B (en) Static two-dimensional code encryption display method and device based on image segmentation
US20190035090A1 (en) Determining multiple camera positions from multiple videos
CN108961183B (en) Image processing method, terminal device and computer-readable storage medium
CN111028222B (en) Video detection method and device, computer storage medium and related equipment
CN106599758A (en) Image quality processing method and terminal
CN107038695A (en) A kind of image interfusion method and mobile device
CN111353965B (en) Image restoration method, device, terminal and storage medium
CN109726755A (en) A kind of picture mask method, device and electronic equipment
CN109215069A (en) Object information acquisition method and device
CN106569805A (en) Canvas storage/graph drawing method and equipment
CN108932703B (en) Picture processing method, picture processing device and terminal equipment
CN107545214A (en) Image sequence number determines method, the method to set up of feature, device and smart machine
CN108230227A (en) A kind of recognition methods of distorted image, device and electronic equipment
CN114095722A (en) Definition determining method, device and equipment
CN109600667A (en) A method of the video based on grid and frame grouping redirects
CN110248147A (en) A kind of image display method and apparatus
CN108898617A (en) A kind of tracking and device of target object
CN105141963B (en) Picture motion estimating method and device
CN113034349B (en) Image processing method, device, electronic equipment and storage medium
CN104463839B (en) Image processing apparatus, image processing method and recording medium
CN109996010B (en) Video processing method and device, intelligent device and storage medium
CN107092622A (en) The methods of exhibiting and device of a kind of comment information
JP5882883B2 (en) Telop detection device, telop detection method, and telop detection program
CN111242116A (en) Screen positioning method and device
CN104574343A (en) Method and equipment for extracting images from videos

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1249243

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20201218

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Applicant after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant