CN109587403A - A kind of shooting bootstrap technique and device - Google Patents

A kind of shooting bootstrap technique and device Download PDF

Info

Publication number
CN109587403A
CN109587403A CN201910092110.8A CN201910092110A CN109587403A CN 109587403 A CN109587403 A CN 109587403A CN 201910092110 A CN201910092110 A CN 201910092110A CN 109587403 A CN109587403 A CN 109587403A
Authority
CN
China
Prior art keywords
picture
determined
parameter
photographing request
parameter information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910092110.8A
Other languages
Chinese (zh)
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.)
Beijing Longjing Science And Technology Co Ltd
Original Assignee
Beijing Longjing Science And Technology Co 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 Beijing Longjing Science And Technology Co Ltd filed Critical Beijing Longjing Science And Technology Co Ltd
Priority to CN201910092110.8A priority Critical patent/CN109587403A/en
Publication of CN109587403A publication Critical patent/CN109587403A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The embodiment of the present application discloses a kind of shooting bootstrap technique, according to parameter included by default photographing request, is got parms corresponding parameter information according to picture to be determined.Pass through alignment parameters information and default photographing request, determine whether parameter information meets default photographing request, if it is determined that the corresponding parameter information of target component is unsatisfactory for default photographing request in parameter, the first adjustment operation instruction is generated according to the comparison result of the parameter information of target component and default photographing request, the first adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting picture to be determined, to re-shoot picture to be determined.In this way, the picture to be identified got is all the picture that parameter information meets default photographing request, picture quality is higher, and picture to be identified higher to picture quality identifies that the accuracy rate of picture recognition can also improve.And this programme is not required for user higher technical capability, and it is simple to operate, it can quickly obtain the higher picture to be identified of picture quality.

Description

A kind of shooting bootstrap technique and device
Technical field
This application involves field of image processings, more particularly to a kind of shooting bootstrap technique and device.
Background technique
With the development of artificial intelligence (Artificial Intelligence, abbreviation AI), AI has been applied to entity zero Field is sold, substitution manual type helps brand quotient to obtain sales situation of the commodity in shops, such as commodity display number in shops Amount, commodity display position, sales volume etc., to understand the pin whether sales situation of commodity in shops reaches brand quotient at any time Sell demand, if the interests of damage brand quotient realize the supervision to shops.
Obtaining certain merchandise sales situation using AI is mainly the picture that commodity in shops are shot by terminal, and to shooting To picture identified, the relevant information of commodity is obtained, to understand merchandise sales situation according to the relevant information that gets. The premise that brand quotient understands merchandise sales situation is accurate identification picture, improves the accuracy rate of picture recognition for accurate It is most important to solve commodity correlation circumstance.Currently, it is main by improving picture recognition algorithm, make picture recognition algorithm for not homogeneity The picture of amount can accurately identify merchandise related information, to improve the accuracy rate of picture recognition.
However, this method is very high to the technical capability requirement of algorithm development personnel, difficulty is higher, and needs long-term Technology is explored and is accumulated, the development cycle is long.
Summary of the invention
In order to solve the above-mentioned technical problem, this application provides a kind of shooting bootstrap techniques, it is not required that user has higher Technical capability, it is simple to operate, can quickly obtain the higher picture to be identified of picture quality, and then improve picture recognition Accuracy rate.
The embodiment of the present application discloses following technical solution:
In a first aspect, the embodiment of the present application provides a kind of shooting bootstrap technique, which comprises
According to parameter included by default photographing request, the corresponding parameter of the parameter is obtained according to picture to be determined and is believed Breath;
By comparing the parameter information and the default photographing request, it is described pre- to determine whether the parameter information meets If photographing request;
If it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, according to institute State target component parameter information and the default photographing request comparison result generate the first adjustment operation instruction, described first Adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined, to re-shoot figure to be determined Piece.
Optionally, the method also includes:
If it is described default to determine that the parameter information meets by comparing the parameter information and the default photographing request Photographing request, using the picture to be determined as picture to be identified.
Optionally, the default photographing request includes one or more combinations:
The pitch angle of the terminal device is within a preset range;
The left and right directions inclination angle of the terminal device is without departing from preset threshold;
The clarity of the picture to be determined reaches preset requirement.
Optionally, it is shot if requiring division into plurality of pictures for photographic subjects, the picture to be determined is not needle It is described according to parameter included by default photographing request to the first picture of the photographic subjects, it is obtained according to picture to be determined Before taking the corresponding parameter information of the parameter, the method also includes:
Obtain practical repeat region of the picture to be captured relative to previous picture;The picture to be captured is that shooting obtains Picture during the picture to be determined in view-finder;
By comparing the practical repeat region and the default repeat region, determine whether the picture to be captured meets Splicing requires;
If it is not, generating second adjustment operation according to the comparison result of the practical repeat region and the default repeat region Instruction, the second adjustment operation instruction are used to indicate user and adjust the terminal device for shooting the picture to be determined.
Optionally, the method also includes:
It is required if it is determined that the picture to be captured meets splicing, automatically snaps the picture to be captured and obtain figure to be determined Piece, execution is described according to parameter included by default photographing request, obtains the corresponding parameter of the parameter according to picture to be determined The step of information.
Optionally, if the parameter includes the pitch angle of the terminal device, the parameter information is pitch angle angle value, institute It states according to parameter included by default photographing request, the corresponding parameter information of the parameter is obtained according to picture to be determined, comprising:
Gyroscope testing result built in the terminal device obtains the terminal device and shoots the figure to be determined Pitch angle angle value when piece.
Optionally, if the parameter includes the left and right directions inclination angle of the terminal device, the parameter information is left and right Direction inclination angle value, it is described according to parameter included by default photographing request, the parameter pair is obtained according to picture to be determined The parameter information answered, comprising:
Gray proces are carried out to the picture to be determined, obtain the first gray scale picture;
Obtain the first straight line and second straight line for meeting preset condition in first gray level image with horizontal direction angle;
The vanishing point for calculating the first straight line and second straight line, terminal device shooting is determined according to the vanishing point described in Left and right directions inclination angle value when picture to be determined.
Optionally, if the parameter includes the clarity of the picture to be determined, the clarity is definition values, described According to parameter included by default photographing request, the corresponding parameter information of the parameter is obtained according to picture to be determined, comprising:
Gray proces are carried out to the picture to be determined, obtain the second gray scale picture;
Frequancy signal anaysis is carried out to the second gray scale picture, is determined according to accounting of the high-frequency signal in frequency-region signal The definition values of the picture to be determined.
Second aspect, the embodiment of the present application provide a kind of shooting guide device, and described device includes first acquisition unit, One determination unit and the first generation unit:
The first acquisition unit, for being obtained according to picture to be determined according to parameter included by default photographing request The corresponding parameter information of the parameter;
First determination unit, described in determining by the comparison parameter information and the default photographing request Whether parameter information meets the default photographing request;
First generation unit, if determining that target component is corresponding in the parameter for first determination unit Parameter information is unsatisfactory for the default photographing request, according to the parameter information of the target component and the default photographing request Comparison result generates the first adjustment operation instruction, and the first adjustment operation instruction is used to indicate user and adjusts described in shooting to true The terminal device of picture is determined, to re-shoot picture to be determined.
Optionally, described device further includes the second determination unit:
Second determination unit, if determining institute for by comparing the parameter information and the default photographing request It states parameter information and meets the default photographing request, using the picture to be determined as picture to be identified.
Optionally, the default photographing request includes one or more combinations:
The pitch angle of the terminal device is within a preset range;
The left and right directions inclination angle of the terminal device is without departing from preset threshold;
The clarity of the picture to be determined reaches preset requirement.
Optionally, it is shot if requiring division into plurality of pictures for photographic subjects, the picture to be determined is not needle To the first picture of the photographic subjects, described device further includes second acquisition unit, third determination unit and the second generation Unit:
The second acquisition unit, for obtaining practical repeat region of the picture to be captured relative to previous picture;Institute Stating picture to be captured is that shooting obtains the picture during the picture to be determined in view-finder;
The third determination unit, for determining by comparing the practical repeat region and the default repeat region Whether the picture to be captured, which meets splicing, requires;
Second generation unit, if determining that the picture to be captured is unsatisfactory for splicing and wants for the third determination unit It asks, second adjustment operation instruction is generated according to the comparison result of the practical repeat region and the default repeat region, it is described Second adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined.
Optionally, described device further includes shooting unit:
The shooting unit, if determining that the picture to be captured meets splicing and requires for the third determination unit, from The dynamic shooting picture to be captured obtains picture to be determined, execute it is described according to parameter included by default photographing request, according to Picture to be determined obtains the step of parameter corresponding parameter information.
Optionally, if the parameter includes the pitch angle of the terminal device, the parameter information is pitch angle angle value, institute Stating first acquisition unit includes:
Gyroscope testing result built in the terminal device obtains the terminal device and shoots the figure to be determined Pitch angle angle value when piece.
Optionally, if the parameter includes the left and right directions inclination angle of the terminal device, the parameter information is left and right Direction inclination angle value, the first acquisition unit include:
Gray proces are carried out to the picture to be determined, obtain the first gray scale picture;
Obtain the first straight line and second straight line for meeting preset condition in first gray level image with horizontal direction angle;
The vanishing point for calculating the first straight line and second straight line, terminal device shooting is determined according to the vanishing point described in Left and right directions inclination angle value when picture to be determined.
Optionally, if the parameter includes the clarity of the picture to be determined, the clarity is definition values, described First acquisition unit includes:
Gray proces are carried out to the picture to be determined, obtain the second gray scale picture;
Frequancy signal anaysis is carried out to the second gray scale picture, is determined according to accounting of the high-frequency signal in frequency-region signal The definition values of the picture to be determined.
The third aspect, the embodiment of the present application provide a kind of shooting guidance equipment, and the equipment includes memory, Yi Jiyi A perhaps more than one program one of them or more than one program is stored in memory, and is configured to by one Or it includes the instruction for performing the following operation that more than one processor, which executes the one or more programs:
According to parameter included by default photographing request, the corresponding parameter of the parameter is obtained according to picture to be determined and is believed Breath;
By comparing the parameter information and the default photographing request, it is described pre- to determine whether the parameter information meets If photographing request;
If it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, according to institute State target component parameter information and the default photographing request comparison result generate the first adjustment operation instruction, described first Adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined, to re-shoot figure to be determined Piece.
The accuracy rate of picture recognition is related to picture recognition algorithm it can be seen from above-mentioned technical proposal, also with it is to be identified The quality of picture itself is related.Recognizer is improved require developer technical capability require it is very high, difficulty compared with Height, development cycle are long.Therefore in order to reduce the difficulty for improving picture recognition accuracy rate, it is different from conventional method, this programme is from improvement The angle of picture quality to be identified improves picture recognition accuracy rate and will not take at once that is, after the shooting for completing picture Picture as picture to be identified, but using the picture taken as picture to be determined, due to picture to be determined embody it is pre- If the corresponding parameter information of parameter included by photographing request, therefore according to the available parameter information of picture to be determined, parameter letter Breath meets the picture to be determined of default photographing request, it is believed that its picture quality is higher.Therefore alignment parameters information and default bat Take the photograph requirement, however, it is determined that go out the corresponding parameter information of target component in parameter and be unsatisfactory for default photographing request, then according to comparison result The first adjustment operation instruction is generated, the first adjustment operation instruction can indicate that the terminal of user's adjustment shooting picture to be determined is set Standby, to re-shoot picture to be determined, the parameter information until shooting obtained picture to be determined meets default photographing request, will Picture to be determined is as picture to be identified.In this way, the picture to be identified got is all that parameter information meets default photographing request Picture, picture quality is higher, and picture to be identified higher to picture quality identifies that the accuracy rate of picture recognition can also mention It is high.Compared with traditional approach, this programme only needs user to adjust terminal device according to the first adjustment operation instruction, and should not User is asked to have higher technical capability, it is simple to operate, it can quickly obtain the higher picture to be identified of picture quality.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for shooting bootstrap technique provided by the embodiments of the present application;
Fig. 2 is the exemplary diagram of the first adjustment operation instruction provided by the embodiments of the present application;
Fig. 3 is the exemplary diagram provided by the embodiments of the present application for obtaining left and right directions inclination angle value;
Fig. 4 is a kind of flow chart for shooting bootstrap technique provided by the embodiments of the present application;
Fig. 5 is a kind of exemplary diagram of default repeat region provided by the embodiments of the present application;
Fig. 6 is a kind of exemplary diagram of default repeat region provided by the embodiments of the present application;
Fig. 7 is the exemplary diagram of second adjustment operation instruction provided by the embodiments of the present application;
Fig. 8 is a kind of structure chart for shooting guide device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
The method of traditional raising picture recognition accuracy rate mainly improves picture recognition algorithm, and this method opens algorithm The technical capability requirement of hair personnel is very high, and difficulty is higher, and needs that technology is explored and accumulated for a long time, the development cycle It is long.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of shooting bootstrap technique, and this method is different from biography System method, this method improves picture recognition accuracy rate from the angle for improving picture quality to be identified, i.e., in the shooting for completing picture Afterwards, not at once using the picture taken as picture to be identified, but using the picture taken as picture to be determined, due to Picture to be determined embodies the corresponding parameter information of parameter included by default photographing request, therefore can be obtained according to picture to be determined Parameter information is taken, parameter information meets the picture to be determined of default photographing request, it is believed that its picture quality is higher.Therefore than To parameter information and default photographing request, however, it is determined that go out the corresponding parameter information of target component in parameter and be unsatisfactory for default shooting to want Ask, then according to comparison result generate the first adjustment operation instruction, the first adjustment operation instruction can indicate user adjust shooting to The terminal device of picture is determined, to re-shoot picture to be determined, until the parameter information for shooting obtained picture to be determined is full The default photographing request of foot, using picture to be determined as picture to be identified.In this way, the picture to be identified got is all parameter information Meet the picture of default photographing request, picture quality is higher, and picture to be identified higher to picture quality identifies, picture is known Other accuracy rate can also improve.
It should be noted that method provided by the embodiments of the present application can be applied on the terminal device with camera, The terminal device can be computer, mobile phone, tablet computer etc..Under normal circumstances, this method is applied to mobile phone, and the application is real It applies example and mainly takes the mobile phone as an example and be introduced.
Shooting bootstrap technique provided by the embodiments of the present application can be used for guiding in shooting shops on shelf, heap, end-rack On the scenes such as commodity in.
Next, by by taking the scene of commodity on shooting shelf as an example, in conjunction with attached drawing to shooting provided by the embodiments of the present application Bootstrap technique describes in detail.
A kind of flow chart for shooting bootstrap technique is shown referring to Fig. 1, Fig. 1, which comprises
S101, according to parameter included by default photographing request, the corresponding ginseng of the parameter is obtained according to picture to be determined Number information.
Default photographing request is to guarantee shooting and obtain the figure to be determined that picture quality meets picture recognition requirement Piece and set, only when picture to be determined meets default photographing request, just can using picture to be determined as picture to be identified, For obtaining the merchandise news for including in picture to be identified subsequently through picture recognition algorithm.Wherein, photographing request is preset to be wrapped The parameter included is can to influence the parameter of picture quality.
Picture to be determined is the picture that terminal device is shot, and picture to be determined can embody default photographing request institute Including the corresponding parameter information of parameter.
It is understood that when being shot by terminal device to the commodity in photographic subjects such as shelf, sometimes Terminal device can have pitch angle or there are left and right directions inclinations angle, in this case, if pitch angle exceeds default model In enclosing or left and right directions inclination angle is beyond preset threshold, it will so that commodity included in picture to be determined are deformed, into And make the distance difference of merchandise news visually larger, lead to visually that the relevant information apart from farther away commodity can not be by It identifies lower to get the picture quality of the picture to be determined arrived.Wherein, the relevant information of commodity may include on shelf The position letter of label information such as price and sales promotion information etc., the merchandise news of commodity itself, commodity amount, commodity on shelf Breath etc..
In addition, whether the relevant information that the clarity of picture to be determined also will affect commodity can be accurately identified, if The clarity of picture to be determined cannot reach preset requirement, then the relevant information for the commodity for including in picture to be identified can not be known It Chu Lai not be lower to get the picture quality of the picture to be determined arrived.
Therefore, in order to guarantee that the higher picture to be determined of available picture quality, the default photographing request include institute State the pitch angle of terminal device within a preset range, the left and right directions inclination angle of the terminal device is without departing from preset threshold or institute The clarity for stating picture to be determined reaches preset requirement.Certainly, presetting photographing request also may include bowing for the terminal device The elevation angle is within a preset range, the left and right directions inclination angle of the terminal device is without departing from preset threshold and the picture to be determined Clarity reaches the combination of two or more in preset requirement.
S102, pass through the comparison parameter information and the default photographing request, determine whether the parameter information meets The default photographing request.
Default photographing request is to guarantee shooting and obtain the figure to be determined that picture quality meets picture recognition requirement Piece and set, parameter information meets the picture to be determined of default photographing request, it is believed that the picture quality of picture to be determined It is higher, if carrying out picture recognition for picture to be determined as picture to be identified, it can accurately identify wherein included quotient The relevant information of product;Parameter information is unsatisfactory for the picture to be determined of default photographing request, it is believed that the picture of picture to be determined Quality is compared with the, if carrying out picture recognition for picture to be determined as picture to be identified, it is difficult to accurately identify wherein included Commodity relevant information.
Therefore, in order to obtain the higher picture to be determined of picture quality, so as to by the higher picture to be determined of picture quality As picture to be identified, the quality of picture to be identified is improved, and then improves the accuracy rate of picture recognition, it is thus necessary to determine that parameter information Whether the default photographing request is met.
S103, if it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, The first adjustment operation instruction is generated according to the comparison result of the parameter information of the target component and the default photographing request.
In the embodiment of the present application, once it is determined that parameter information is unsatisfactory for default photographing request out, which can determine The corresponding parameter information of a parameter is unsatisfactory for default photographing request, to targetedly be adjusted to terminal device.
If it is determined that the corresponding parameter information of target component is unsatisfactory for default photographing request, then illustrate the figure of picture to be determined Tablet quality is lower, it is not possible to using the picture to be determined as picture to be identified, but need according to the corresponding ginseng of target component The comparison result of number information and default photographing request generates the first adjustment operation instruction, to be had according to the first adjustment operation instruction Targetedly terminal device is adjusted, re-shoots to obtain picture to be determined, until obtaining meeting default photographing request Picture to be determined.Wherein, the first adjustment operation instruction is used to indicate user and adjusts the terminal for shooting the picture to be determined Equipment, to re-shoot picture to be determined.
For example, default photographing request include the terminal device pitch angle within a preset range, the terminal device Left and right directions inclination angle reaches preset requirement without departing from the clarity of preset threshold and the picture to be determined, then the parameter obtained Information includes pitch angle value, left and right directions inclination angle value and definition values.If passing through alignment parameters information and default shooting It is required that determine that parameter information is unsatisfactory for default photographing request, can determine pitch angle angle value, left and right directions inclination angle value and Which or which parameter information is unsatisfactory for default photographing request in definition values, however, it is determined that goes out the corresponding pitch angle angle value of pitch angle It is unsatisfactory for default photographing request, then the first adjustment operation is generated according to the comparison result of pitch angle angle value and default photographing request and referred to Show, in this way, can be targetedly adjusted for the pitch angle of terminal device according to the first adjustment operation instruction.Wherein, Pitch angle is target component.
If it is determined that the parameter information meets the default photographing request, then illustrate the picture quality of picture to be determined compared with Height, can be using the picture to be determined as picture to be identified.
The accuracy rate of picture recognition is related to picture recognition algorithm it can be seen from above-mentioned technical proposal, also with it is to be identified The quality of picture itself is related.Recognizer is improved require developer technical capability require it is very high, difficulty compared with Height, development cycle are long.Therefore in order to reduce the difficulty for improving picture recognition accuracy rate, it is different from conventional method, this programme is from improvement The angle of picture quality to be identified improves picture recognition accuracy rate and will not take at once that is, after the shooting for completing picture Picture as picture to be identified, but using the picture taken as picture to be determined, due to picture to be determined embody it is pre- If the corresponding parameter information of parameter included by photographing request, therefore according to the available parameter information of picture to be determined, parameter letter Breath meets the picture to be determined of default photographing request, it is believed that its picture quality is higher.Therefore alignment parameters information and default bat Take the photograph requirement, however, it is determined that go out the corresponding parameter information of target component in parameter and be unsatisfactory for default photographing request, then according to comparison result The first adjustment operation instruction is generated, the first adjustment operation instruction can indicate that the terminal of user's adjustment shooting picture to be determined is set Standby, to re-shoot picture to be determined, the parameter information until shooting obtained picture to be determined meets default photographing request, will Picture to be determined is as picture to be identified.In this way, the picture to be identified got is all that parameter information meets default photographing request Picture, picture quality is higher, and picture to be identified higher to picture quality identifies that the accuracy rate of picture recognition can also mention It is high.Compared with traditional approach, this programme only needs user to adjust terminal device according to the first adjustment operation instruction, and should not User is asked to have higher technical capability, it is simple to operate, it can quickly obtain the higher picture to be identified of picture quality.
It is understood that presetting photographing request under different situations since default photographing request is there may be a variety of situations Included parameter is different, correspondingly, the specific implementation of S101 is different.Next, will be under different situations The specific implementation of S101 is introduced.
If default photographing request be the pitch angle of terminal device within a preset range, preset parameter included by photographing request For the pitch angle of terminal device, parameter information is pitch angle angle value.The pitch angle of terminal device may include within a preset range A variety of situations, a kind of it may is that terminal device pitch angle is 0, i.e. terminal device obtains picture Shi Bucun to be determined in shooting It overlooks or is looking up, it is vertical with horizontal direction.
In this case, the specific implementation of S101 is to be obtained according to the gyroscope testing result built in terminal device Pitch angle angle value when the terminal device being taken to shoot the picture to be determined.
Gyroscope built in terminal device can recorde the pitch angle angle value that terminal device shoots picture to be determined, in this way, The pitch angle angle value of the available gyroscope record of terminal device.Under normal circumstances, the pitch angle angle value that gyroscope is recorded is Terminal device pitch angle angle value is 0 or is not 0.
Correspondingly, after getting pitch angle angle value, however, it is determined that going out elevation angle angle value is not 0, i.e., terminal device, which exists, overlooks Or look up, at this point, generating the according to the comparison result of the parameter information of target component (pitch angle) and the default photographing request One adjustment operation instruction is as shown in Figure 2.Wherein, if the angle of depression is not 0, it is determined that terminal device, which exists, to be overlooked, and the first adjustment is generated Operation instruction is as shown in the "+" of logos in Fig. 2, to indicate that user adjusts terminal device towards the direction for reducing the angle of depression;If The elevation angle is not 0, it is determined that terminal device, which exists, to be looked up, and the "+" institute of the first adjustment operation instruction such as white indicia in Fig. 2 is generated Show, to indicate that user adjusts terminal device towards the direction for reducing the elevation angle.
If default photographing request is the left and right directions inclination angle of terminal device without departing from preset threshold, photographing request institute is preset Including parameter be terminal device left and right directions inclination angle, parameter information be left and right directions inclination angle value.In such case Under, referring to Fig. 3, the specific implementation of S101 are as follows: firstly, carrying out gray proces to the picture to be determined, obtain the first ash Spend picture;Wherein, as shown at 301 in fig. 3, the second gray scale picture is as shown in 302 in Fig. 3 for picture to be determined.Then, described in acquisition Meet the first straight line and second straight line of preset condition in first gray level image with horizontal direction angle;It is due to calculative Left and right directions inclination angle value, therefore, first straight line and second straight line are the straight lines for meeting preset condition with horizontal direction angle. Then, the vanishing point for calculating the first straight line and second straight line determines the end as shown in 303 in Fig. 3, and according to the vanishing point End equipment shoots the left and right directions inclination angle value when picture to be determined.
In one possible implementation, determine that left and right directions inclination angle value is specifically as follows determination and goes out according to vanishing point O'clock to the first gray scale image edge distance, the distance of vanishing point to the first gray scale image edge determines left and right directions inclination angle value It can reflect left and right directions inclination angle value, distance is bigger, and left and right directions inclination angle value is bigger.Therefore vanishing point is to the first gray scale The distance of image edge can determine left and right directions inclination angle value.
If the clarity that default photographing request is picture to be determined reaches preset requirement, ginseng included by photographing request is preset Number is the clarity of picture to be determined, and parameter information is the definition values of picture to be determined.In this case, S101's is specific Implementation are as follows: gray proces are carried out to the picture to be determined, obtain the second gray scale picture;To the second gray scale picture into Row frequancy signal anaysis determines the definition values of the picture to be determined according to accounting of the high-frequency signal in frequency-region signal.
It should be noted that in application scenes, it is understood that there may be require division into plurality of pictures for photographic subjects It is shot, photographic subjects just can completely be shot to situation about coming, for example, photographic subjects are the quotient on multiple shelf Product, at this time, it may be difficult to by completing shooting by a picture to the commodity on multiple shelf, alternatively, on multiple shelf Commodity by a picture to complete the picture quality of picture to be determined that shooting obtains lower.Therefore, it is necessary to for shooting mesh Mark requires division into plurality of pictures and is shot, so that plurality of pictures to be spliced to obtain the corresponding complete graph of photographic subjects Piece.
In order to guarantee to be spliced plurality of pictures to obtain the corresponding full picture of photographic subjects, the first picture is removed Outside, other pictures needs shot later are shot referring to previous picture, to know that current image needs to shoot shooting Which region of target.Therefore, if requiring division into plurality of pictures for photographic subjects and being shot, with and picture to be determined be not For the first picture of the target to be captured, before executing S101, referring to fig. 4, the method also includes:
S401, practical repeat region of the picture to be captured relative to previous picture is obtained.
In the present embodiment, it in addition to first image to be determined shot for photographic subjects, is obtained in shooting During other pictures to be determined, need to obtain the practical repeat region for treating shooting picture relative to previous picture, so as to Determine whether picture to be captured meets splicing and require.Wherein, the picture to be captured is that shooting obtains the picture to be determined Picture in view-finder in the process.
S402, pass through the comparison practical repeat region and the default repeat region, determine that the picture to be captured is No satisfaction splicing requires.
S403, it is adjusted if it is not, generating second according to the comparison result of the practical repeat region and the default repeat region Whole operation instruction.
Default repeat region is different and different according to shooting moving direction, if shooting moving direction is right and left To the region that size is preset on previous figure the right is then placed in default repeat region of the left side as picture to be captured of view-finder It is referred to, as shown in Figure 5, wherein the region identified in dotted line frame is default repeat region;If shooting moving direction be on Lower direction is then placed in the region of default size under previous figure default duplicate block of the top as picture to be captured of view-finder Domain is referred to, as shown in Figure 6, wherein the region identified in dotted line frame is default repeat region.
It rule of thumb presets size and is traditionally arranged to be the 20% of picture size, to avoid due to adjacent two figures to be determined The practical overlapping region of piece is very little and splicing effect is caused to be difficult to ensure, while avoiding due to the adjacent two practical weights of picture to be determined Close region causes the picture number to be determined of shooting excessive too much, and then improves user experience.
If determining that picture to be captured meets splicing and requires, then certainly by the practical repeat region of comparison and default repeat region The dynamic shooting picture to be captured obtains picture to be determined, and then the step of executing S101.If by comparing practical repeat region With default repeat region, determine that picture to be captured is unsatisfactory for splicing and requires, then according to practical repeat region and the default repetition The comparison result in region generates second adjustment operation instruction, second adjustment operation instruction be used to indicate user adjust shooting it is described to The terminal device for determining picture then automatically snaps the figure to be captured until determining that picture to be captured meets splicing requirement Piece obtains picture to be determined.
Wherein, second adjustment operation instruction may refer to shown in Fig. 7, and second adjustment operation instruction embodies instruction in Fig. 7 User adjusts the adjustment direction of terminal device, and arrow direction is the adjustment direction for adjusting terminal device, so that user is according to second It adjusts adjustment direction shown by operation instruction and adjusts terminal device.
Based on the shooting bootstrap technique that previous embodiment provides, the embodiment of the present application also provides a kind of shooting guide device, Referring to Fig. 8, described device includes first acquisition unit 801, the first determination unit 802 and the first generation unit 803:
The first acquisition unit 801, for being obtained according to picture to be determined according to parameter included by default photographing request Take the corresponding parameter information of the parameter;
First determination unit 802, for determining institute by comparing the parameter information and the default photographing request State whether parameter information meets the default photographing request;
First generation unit 803, if determining target component pair in the parameter for first determination unit The parameter information answered is unsatisfactory for the default photographing request, is wanted according to the parameter information of the target component and the default shooting The comparison result asked generates the first adjustment operation instruction, and the first adjustment operation instruction is used to indicate user and adjusts described in shooting The terminal device of picture to be determined, to re-shoot picture to be determined.
Optionally, described device further includes the second determination unit:
Second determination unit, if determining institute for by comparing the parameter information and the default photographing request It states parameter information and meets the default photographing request, using the picture to be determined as picture to be identified.
Optionally, the default photographing request includes one or more combinations:
The pitch angle of the terminal device is within a preset range;
The left and right directions inclination angle of the terminal device is without departing from preset threshold;
The clarity of the picture to be determined reaches preset requirement.
Optionally, it is shot if requiring division into plurality of pictures for photographic subjects, the picture to be determined is not needle To the first picture of the photographic subjects, described device further includes second acquisition unit, third determination unit and the second generation Unit:
The second acquisition unit, for obtaining practical repeat region of the picture to be captured relative to previous picture;Institute Stating picture to be captured is that shooting obtains the picture during the picture to be determined in view-finder;
The third determination unit, for determining by comparing the practical repeat region and the default repeat region Whether the picture to be captured, which meets splicing, requires;
Second generation unit, if determining that the picture to be captured is unsatisfactory for splicing and wants for the third determination unit It asks, second adjustment operation instruction is generated according to the comparison result of the practical repeat region and the default repeat region, it is described Second adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined.
Optionally, described device further includes shooting unit:
The shooting unit, if determining that the picture to be captured meets splicing and requires for the third determination unit, from The dynamic shooting picture to be captured obtains picture to be determined, execute it is described according to parameter included by default photographing request, according to Picture to be determined obtains the step of parameter corresponding parameter information.
Optionally, if the parameter includes the pitch angle of the terminal device, the parameter information is pitch angle angle value, institute Stating first acquisition unit includes:
Gyroscope testing result built in the terminal device obtains the terminal device and shoots the figure to be determined Pitch angle angle value when piece.
Optionally, if the parameter includes the left and right directions inclination angle of the terminal device, the parameter information is left and right Direction inclination angle value, the first acquisition unit include:
Gray proces are carried out to the picture to be determined, obtain the first gray scale picture;
Obtain the first straight line and second straight line for meeting preset condition in first gray level image with horizontal direction angle;
The vanishing point for calculating the first straight line and second straight line, terminal device shooting is determined according to the vanishing point described in Left and right directions inclination angle value when picture to be determined.
Optionally, if the parameter includes the clarity of the picture to be determined, the clarity is definition values, described First acquisition unit includes:
Gray proces are carried out to the picture to be determined, obtain the second gray scale picture;
Frequancy signal anaysis is carried out to the second gray scale picture, is determined according to accounting of the high-frequency signal in frequency-region signal The definition values of the picture to be determined.
The accuracy rate of picture recognition is related to picture recognition algorithm it can be seen from above-mentioned technical proposal, also with it is to be identified The quality of picture itself is related.Recognizer is improved require developer technical capability require it is very high, difficulty compared with Height, development cycle are long.Therefore in order to reduce the difficulty for improving picture recognition accuracy rate, it is different from conventional method, this programme is from improvement The angle of picture quality to be identified improves picture recognition accuracy rate and will not take at once that is, after the shooting for completing picture Picture as picture to be identified, but using the picture taken as picture to be determined, due to picture to be determined embody it is pre- If the corresponding parameter information of parameter included by photographing request, therefore according to the available parameter information of picture to be determined, parameter letter Breath meets the picture to be determined of default photographing request, it is believed that its picture quality is higher.Therefore alignment parameters information and default bat Take the photograph requirement, however, it is determined that go out the corresponding parameter information of target component in parameter and be unsatisfactory for default photographing request, then according to comparison result The first adjustment operation instruction is generated, the first adjustment operation instruction can indicate that the terminal of user's adjustment shooting picture to be determined is set Standby, to re-shoot picture to be determined, the parameter information until shooting obtained picture to be determined meets default photographing request, will Picture to be determined is as picture to be identified.In this way, the picture to be identified got is all that parameter information meets default photographing request Picture, picture quality is higher, and picture to be identified higher to picture quality identifies that the accuracy rate of picture recognition can also mention It is high.Compared with traditional approach, this programme only needs user to adjust terminal device according to the first adjustment operation instruction, and should not User is asked to have higher technical capability, it is simple to operate, it can quickly obtain the higher picture to be identified of picture quality.
The embodiment of the present application provides a kind of shooting guidance equipment, and the equipment includes memory and one or one A above program, perhaps more than one program is stored in memory and is configured to by one or one for one of them It includes the instruction for performing the following operation that the above processor, which executes the one or more programs:
According to parameter included by default photographing request, the corresponding parameter of the parameter is obtained according to picture to be determined and is believed Breath;
By comparing the parameter information and the default photographing request, it is described pre- to determine whether the parameter information meets If photographing request;
If it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, according to institute State target component parameter information and the default photographing request comparison result generate the first adjustment operation instruction, described first Adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined, to re-shoot figure to be determined Piece.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and foregoing routine can be stored in a computer readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned can be at least one in following media Kind: read-only memory (English: read-only memory, abbreviation: ROM), RAM, magnetic or disk etc. are various to be can store The medium of program code.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment it Between same and similar part may refer to each other, each embodiment focuses on the differences from other embodiments. For equipment and system embodiment, since it is substantially similar to the method embodiment, so describe fairly simple, The relevent part can refer to the partial explaination of embodiments of method.Equipment and system embodiment described above is only schematic , wherein unit may or may not be physically separated as illustrated by the separation member, it is shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs. Those of ordinary skill in the art can understand and implement without creative efforts.
The above, only a kind of specific embodiment of the application, but the protection scope of the application is not limited thereto, Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art, Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims Subject to.

Claims (10)

1. a kind of shooting bootstrap technique, which is characterized in that the described method includes:
According to parameter included by default photographing request, the corresponding parameter information of the parameter is obtained according to picture to be determined;
By comparing the parameter information and the default photographing request, determine whether the parameter information meets the default bat Take the photograph requirement;
If it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, according to the mesh The comparison result of the parameter information and the default photographing request of marking parameter generates the first adjustment operation instruction, the first adjustment Operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined, to re-shoot picture to be determined.
2. the method according to claim 1, wherein the method also includes:
If determining that the parameter information meets the default shooting by comparing the parameter information and the default photographing request It is required that using the picture to be determined as picture to be identified.
3. the method according to claim 1, wherein the default photographing request includes one or more groups It closes:
The pitch angle of the terminal device is within a preset range;
The left and right directions inclination angle of the terminal device is without departing from preset threshold;
The clarity of the picture to be determined reaches preset requirement.
4. the method according to claim 1, wherein if requiring division into plurality of pictures progress for photographic subjects Shooting, the picture to be determined is not the first picture for the photographic subjects, described to be wrapped according to default photographing request The parameter included, before obtaining the corresponding parameter information of the parameter according to picture to be determined, the method also includes:
Obtain practical repeat region of the picture to be captured relative to previous picture;The picture to be captured is described in shooting obtains Picture during picture to be determined in view-finder;
By comparing the practical repeat region and the default repeat region, determine whether the picture to be captured meets splicing It is required that;
Refer to if it is not, generating second adjustment operation according to the comparison result of the practical repeat region and the default repeat region Show, the second adjustment operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
It is required if it is determined that the picture to be captured meets splicing, automatically snaps the picture to be captured and obtain picture to be determined, hold Row is described according to parameter included by default photographing request, obtains the corresponding parameter information of the parameter according to picture to be determined Step.
6. the method according to claim 1, wherein if the parameter includes the pitch angle of the terminal device, The parameter information is pitch angle angle value, described according to parameter included by default photographing request, is obtained according to picture to be determined The corresponding parameter information of the parameter, comprising:
Gyroscope testing result built in the terminal device, when obtaining the terminal device shooting picture to be determined Pitch angle angle value.
7. the method according to claim 1, wherein if the parameter includes the left and right directions of the terminal device Inclination angle, the parameter information is left and right directions inclination angle value, described according to parameter included by default photographing request, according to Picture to be determined obtains the corresponding parameter information of the parameter, comprising:
Gray proces are carried out to the picture to be determined, obtain the first gray scale picture;
Obtain the first straight line and second straight line for meeting preset condition in first gray level image with horizontal direction angle;
The vanishing point for calculating the first straight line and second straight line determines that the terminal device shooting is described to true according to the vanishing point Determine left and right directions inclination angle value when picture.
8. the method according to claim 1, wherein if the parameter includes the clear of the picture to be determined Degree, the clarity are definition values, described according to parameter included by default photographing request, obtain institute according to picture to be determined State the corresponding parameter information of parameter, comprising:
Gray proces are carried out to the picture to be determined, obtain the second gray scale picture;
Frequancy signal anaysis is carried out to the second gray scale picture, according to accounting determination of the high-frequency signal in frequency-region signal The definition values of picture to be determined.
9. a kind of shooting guide device, which is characterized in that described device includes first acquisition unit, the first determination unit and first Generation unit:
The first acquisition unit, for according to parameter included by default photographing request, obtained according to picture to be determined described in The corresponding parameter information of parameter;
First determination unit, for determining the parameter by comparing the parameter information and the default photographing request Whether information meets the default photographing request;
First generation unit, if determining the corresponding parameter of target component in the parameter for first determination unit Information is unsatisfactory for the default photographing request, according to the comparison of the parameter information of the target component and the default photographing request As a result the first adjustment operation instruction is generated, the first adjustment operation instruction is used to indicate user and adjusts the shooting figure to be determined The terminal device of piece, to re-shoot picture to be determined.
10. a kind of shooting guides equipment, which is characterized in that the equipment include memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one Managing device and executing the one or more programs includes the instruction for performing the following operation:
According to parameter included by default photographing request, the corresponding parameter information of the parameter is obtained according to picture to be determined;
By comparing the parameter information and the default photographing request, determine whether the parameter information meets the default bat Take the photograph requirement;
If it is determined that the corresponding parameter information of target component is unsatisfactory for the default photographing request in the parameter, according to the mesh The comparison result of the parameter information and the default photographing request of marking parameter generates the first adjustment operation instruction, the first adjustment Operation instruction is used to indicate user and adjusts the terminal device for shooting the picture to be determined, to re-shoot picture to be determined.
CN201910092110.8A 2019-01-30 2019-01-30 A kind of shooting bootstrap technique and device Pending CN109587403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910092110.8A CN109587403A (en) 2019-01-30 2019-01-30 A kind of shooting bootstrap technique and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910092110.8A CN109587403A (en) 2019-01-30 2019-01-30 A kind of shooting bootstrap technique and device

Publications (1)

Publication Number Publication Date
CN109587403A true CN109587403A (en) 2019-04-05

Family

ID=65918551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910092110.8A Pending CN109587403A (en) 2019-01-30 2019-01-30 A kind of shooting bootstrap technique and device

Country Status (1)

Country Link
CN (1) CN109587403A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950328A (en) * 2019-05-15 2020-11-17 阿里巴巴集团控股有限公司 Method and device for determining object class in picture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063252A1 (en) * 2012-08-29 2014-03-06 Delphi Technologies, Inc. Method for calibrating an image capture device
CN105049734A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 License camera capable of giving shooting environment shooting prompt and shooting environment detection method
CN105809669A (en) * 2015-01-16 2016-07-27 戴尔菲技术公司 Method and apparatus of calibrating an image detecting device
CN106034202A (en) * 2015-03-10 2016-10-19 杭州海康威视数字技术股份有限公司 Adjusting method and adjusting device for video splicing camera
CN109076158A (en) * 2017-12-22 2018-12-21 深圳市大疆创新科技有限公司 Panorama photographic method, photographing device and machine readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140063252A1 (en) * 2012-08-29 2014-03-06 Delphi Technologies, Inc. Method for calibrating an image capture device
CN105809669A (en) * 2015-01-16 2016-07-27 戴尔菲技术公司 Method and apparatus of calibrating an image detecting device
CN106034202A (en) * 2015-03-10 2016-10-19 杭州海康威视数字技术股份有限公司 Adjusting method and adjusting device for video splicing camera
CN105049734A (en) * 2015-08-31 2015-11-11 广州市幸福网络技术有限公司 License camera capable of giving shooting environment shooting prompt and shooting environment detection method
CN109076158A (en) * 2017-12-22 2018-12-21 深圳市大疆创新科技有限公司 Panorama photographic method, photographing device and machine readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950328A (en) * 2019-05-15 2020-11-17 阿里巴巴集团控股有限公司 Method and device for determining object class in picture
WO2020228593A1 (en) * 2019-05-15 2020-11-19 阿里巴巴集团控股有限公司 Method and apparatus for determining categories of target objects in picture

Similar Documents

Publication Publication Date Title
US10559090B2 (en) Method and apparatus for calculating dual-camera relative position, and device
US10533925B2 (en) Fixtureless lensmeter and methods of operating same
US20230027389A1 (en) Distance determination method, apparatus and system
WO2018019282A1 (en) Binocular panorama image obtaining method and apparatus, and storage medium
WO2018219180A1 (en) Method and apparatus for determining facial image quality, as well as electronic device and computer storage medium
CN108197618B (en) Method and device for generating human face detection model
US20180359415A1 (en) Panoramic video processing method and device and non-transitory computer-readable medium
CN109561257B (en) Picture focusing method, device, terminal and corresponding storage medium
US11283987B2 (en) Focus region display method and apparatus, and storage medium
AU2019360254B2 (en) Fixtureless lensmeter system
EP2779091A1 (en) Automatic stereoscopic camera calibration
US11585724B2 (en) Fixtureless lensmeter system
CN111325798A (en) Camera model correction method and device, AR implementation equipment and readable storage medium
CN116721739B (en) Method and device for evaluating concentration training based on movement duration
CN111583118A (en) Image splicing method and device, storage medium and electronic equipment
CN108055532A (en) Automate the method and apparatus of matching test card
CN108289176B (en) Photographing question searching method, question searching device and terminal equipment
CN109587403A (en) A kind of shooting bootstrap technique and device
CN109901716B (en) Sight point prediction model establishing method and device and sight point prediction method
CN109685015B (en) Image processing method and device, electronic equipment and computer storage medium
CN113709366B (en) Information processing method and device
CN115953813B (en) Expression driving method, device, equipment and storage medium
CN113723351A (en) Interface optimization method, system, storage medium and electronic equipment
Isogawa et al. Which is the better inpainted image? Learning without subjective annotation.
CN115278080A (en) Mask generation method, mask generation equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405

RJ01 Rejection of invention patent application after publication