A kind of image acquiring method based on target object, device and electronic equipment
Technical field
This specification is related to computer data processing technology field more particularly to a kind of image based on target object obtains
Method, apparatus and electronic equipment.
Background technique
As camera will be used wider and wider, no matter mobile terminal, computer, display screen, self-service cash register etc. all exist
Increase the function of equipment using camera, to provide miscellaneous service relevant to picture and video for people.?
During the realization of above-mentioned function, the image information operation that is handled and identified obtained to camera is depended on, and in order to
The processing and identification to image information are preferably completed, wherein very important on condition that obtaining more preferably quality when shooting image
Image information.It is illustrated for below using new retail domain as application scenarios.
In the prior art, self-service cash register is widely used in new retail domain come promoted cash register efficiency and reduce manually at
This, wherein carrying out the scheme of commodity identification since it is inexpensive, becomes one of industry mainstream scheme in high precision based on machine vision.
But in the commodity identification process based on machine vision, the appearance of commodity is easy to be influenced by external environment light, so that
The commodity image got is not inconsistent with commodity actual look, to seriously reduce the accuracy of identification of commodity.Based on the prior art, need
It provides a kind of it is possible to prevente effectively from the image acquisitions scheme that external environment light has an impact shooting image.
Summary of the invention
This specification embodiment provides a kind of image acquiring method based on target object, device and electronic equipment, with solution
External environment light certainly of the existing technology is easy the problem of having an impact to shooting image.
In order to solve the above technical problems, this specification embodiment is achieved in that
In a first aspect, this specification embodiment provides a kind of image acquiring method based on target object, it is applied to eventually
End equipment, which comprises
Determine the predeterminated position of one or more target object;
Ambient light above the predeterminated position is detected, and obtains the detection data of the ambient light;
It is adjusted according to acquisition parameters of the detection data to the first filming apparatus;
Using the first filming apparatus after being adjusted to the acquisition parameters to the target object on the predeterminated position
It carries out shooting and obtains the first image, and using the first image as the image of the target object.
Second aspect, this specification embodiment provide a kind of image acquiring method based on target object, are applied to eventually
End equipment, which comprises
Determine the predeterminated position of one or more target object;
Ambient light above the predeterminated position is detected, and obtains the detection data of the ambient light;
Shooting is carried out to the target object on the predeterminated position using the first filming apparatus and obtains the first image;
The first image is handled based on the detection data to obtain the second image, and second image is made
For the image of the target object.
The third aspect, this specification embodiment provide a kind of image acquiring method based on target object, are applied to cloud
Hold server, which comprises
The detection data and the first image that receiving terminal apparatus uploads;
The first image is handled based on the detection data to obtain the second image, and second image is made
For the image of target object;
Wherein, the detection data is the predeterminated position that the terminal device determines one or more target objects, and right
The detection data of ambient light above the predeterminated position ambient light acquired after being detected;First figure
As acquired in after being shot using the first filming apparatus to the target object on the predeterminated position for the terminal device
First image.
Fourth aspect, this specification embodiment provide a kind of image acquiring device based on target object, are applied to eventually
End equipment, described device include:
Determining module, for determining the predeterminated position of one or more target objects;
Detection module for detecting to the ambient light above the predeterminated position, and obtains the ambient light
Detection data;
Module is adjusted, for being adjusted according to acquisition parameters of the detection data to the first filming apparatus;
Shooting module, for utilizing the first filming apparatus after being adjusted to the acquisition parameters to the predeterminated position
On target object carry out shooting and obtain the first image, and using the first image as the image of the target object.
5th aspect, this specification embodiment provide a kind of image acquiring device based on target object, are applied to eventually
End equipment, described device include:
Determining module, for determining the predeterminated position of one or more target objects;
Detection module for detecting to the ambient light above the predeterminated position, and obtains the ambient light
Detection data;
Shooting module obtains for carrying out shooting to the target object on the predeterminated position using the first filming apparatus
One image;
Processing module handles the first image to obtain the second image for being based on the detection data, and will
Image of second image as the target object.
6th aspect, this specification embodiment provide a kind of image acquiring device based on target object, are applied to cloud
Server is held, described device includes:
Receiving module, the detection data uploaded for receiving terminal apparatus and the first image;
Processing module handles the first image to obtain the second image for being based on the detection data, and will
Image of second image as target object;
Wherein, the detection data is the predeterminated position that the terminal device determines one or more target objects, and right
The detection data of ambient light above the predeterminated position ambient light acquired after being detected;First figure
As acquired in after being shot using the first filming apparatus to the target object on the predeterminated position for the terminal device
First image.
7th aspect, this specification embodiment provide a kind of electronic equipment, including memory, processor and are stored in
On reservoir and the computer program that can run on a processor, the processor realize above-mentioned first aspect when executing described program
Described in method.
Eighth aspect, this specification embodiment provide a kind of electronic equipment, including memory, processor and are stored in
On reservoir and the computer program that can run on a processor, the processor realize above-mentioned second aspect when executing described program
Described in method.
9th aspect, this specification embodiment provide a kind of electronic equipment, including memory, processor and are stored in
On reservoir and the computer program that can run on a processor, the processor realize the above-mentioned third aspect when executing described program
Described in method.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
By determining the predeterminated position of one or more target objects, the ambient light above predeterminated position is examined
It surveys, and obtains the detection data of ambient light;It is adjusted further according to acquisition parameters of the detection data to the first filming apparatus, benefit
Shooting the first figure of acquisition is carried out to the target object on predeterminated position with the first filming apparatus after being adjusted to acquisition parameters
Picture, to realize and be obtained to the image of target object using the first image as the image of target object.It, can based on this programme
It effectively avoids external environment light from having an impact shooting image, is conducive to the accuracy of identification for promoting image.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification, for those of ordinary skill in the art, in not making the creative labor property
Under the premise of, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for the system overall architecture that the scheme of this specification is related under practical application scene;
Fig. 2 is a kind of process signal for image acquiring method based on target object that this specification embodiment one provides
Figure;
Fig. 3 is a kind of process signal for image acquiring method based on target object that this specification embodiment two provides
Figure;
Fig. 4 is the process signal for another image acquiring method based on target object that this specification embodiment two provides
Figure;
Fig. 5 is a kind of process signal for image acquiring method based on target object that this specification embodiment three provides
Figure;
Fig. 6 is a kind of structural schematic diagram for image acquiring device based on target object that this specification embodiment provides;
Fig. 7 is the structural representation for another image acquiring device based on target object that this specification embodiment provides
Figure;
Fig. 8 is the structural representation for another image acquiring device based on target object that this specification embodiment provides
Figure.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be merely a part but not all of the embodiments of the present application.Based on this specification embodiment, this field
Those of ordinary skill's every other embodiment obtained without creative efforts, all should belong to the application
The range of protection.
Fig. 1 is a kind of signal for the system overall architecture that the technical solution of this specification is related under practical application scene
Figure.System overall architecture includes terminal device, the target object of cloud server and placement on the terminal device, wherein mesh
Object is marked either merchandise items, are also possible to noncommodity object.The content of this specification following embodiment is with commodity
What object was described as target object, the concrete application scene of technical scheme can be positioned at be sold newly at this time
When carrying out cash register using self-service cash register (such as self-service cash register) in field, the field of commodity identification is carried out based on machine vision
Scape.
Under above-mentioned concrete application scene, terminal device can use self-service cash register, and self-service cash register can be installation
The intelligent terminal of intelligent operating system can be equipped with filming apparatus, commodity mounting table, Yi Jiyi on self-service cash register
A or multiple light detection means;Wherein, filming apparatus can be the electronic equipment for image and photograph taking, such as image
Head, camera etc.;It can be used as the predeterminated position of target object above commodity mounting table, i.e., commodity are on self-service cash register
Placement position;The ambient light that light detection means are used to issue external light source detects, and light detection means can be embedding
It is mounted on entering formula in a side region of commodity mounting table, which is properly termed as detection zone, then by commodity mounting table
Region other than the upper detection zone is known as placement region.Further, it is also equipped with display equipment on self-service cash register,
Such as liquid crystal display, touch screen, display equipment is for display of commodity image, information, price etc.;It is provided in self-service cash register
Chip is controlled, control chip realizes its function for controlling each component being mounted on self-service cash register.In addition, above-mentioned cloud clothes
Business device can be used for the storage to detection data and image data, calculating etc..
In new retail trade field, the self-checkout of user is realized by using self-service cash register, to promote receipts
Silver-colored efficiency.It substantially may include bar code scan and machine if existing self-service cash register type is distinguished with working principle
Two kinds of vision, in the scheme for carrying out commodity identification based on bar code scan, due to only needing to scan to bar code,
Commodity identification is influenced smaller by external environment light.And when carrying out commodity identification based on machine vision, it needs first to put commodity
It sets and carries out shooting image on fixed position, then shooting image is identified again, since exterior of commodity is easy by outside
The influence of light intensity (the also known as luminous intensity) and color of ambient light, such as: some or all of a certain commodity appearance color is
White, when external environment light is blue, under the reflection of external ambient light, the color that exterior of commodity shows may be
Blue.Therefore the commodity image of shooting is easy to be influenced by external environment light, leads to the commodity image taken and commodity
Actual look is not inconsistent, and when then carrying out the vision algorithm identification of commodity based on the commodity image, seriously affects the essence of commodity identification
Degree causes commodity can not identify or identify the problem of mistake.
In one specific implementation scene of this specification, by installing multiple light detection means on self-service cash register,
Such as luminance meter and colour temperature meter, the ambient light above commodity mounting table is detected using light detection means, obtains ring
The detection data of border light is adjusted further according to acquisition parameters of the detection data to camera, or according to detection data pair
The image that camera shooting obtains is handled, to more be met the shooting image of commodity actual look, avoids external rings
Influence of the border light to shooting image is conducive to promote precision when carrying out shooting image commodity identification.
Based on above-mentioned scene, the scheme of this specification is described in detail below.
Embodiment one
Fig. 2 is a kind of process signal for image acquiring method based on target object that this specification embodiment one provides
Figure, this method can specifically include following steps:
In step S210, the predeterminated position of one or more target object is determined.
In a practical application scene, before carrying out commodity identification using self-service cash register, need first to obtain target object
The image of (being herein commodity), then commodity identification is carried out to image based on machine vision, specifically, above-mentioned predeterminated position can be
The upper surface of commodity mounting table in self-service cash register, is also possible to the placement position of goods themselves.Therefore, in the image for obtaining commodity
When, commodity can be both placed on commodity mounting table, can also be placed on the arbitrary plane below camera, also or hand-held
Or it is suspended on the lower section of camera, the quantity of commodity can be one or more, and this specification embodiment is not to commodity
Predeterminated position does specific restriction, does not also do specific restriction, predeterminated position to placement position of the commodity on commodity mounting table
For further determining that the region of external environment light that needs detect.
In step S220, the ambient light above the predeterminated position is detected, and obtains the ambient light
Detection data.
It may include that following two mode detects ambient light in this specification one or more embodiment,
It is specific to obtain the detection data of ambient light:
Mode one:
The ambient light above predeterminated position is detected using one or more light detection means, and obtains environment
The detection data of light.
Further, light detection means can embeddedly be mounted on the side of commodity mounting table, horizontal can also pacify
Between camera and commodity mounting table, this specification embodiment is not to the installation site of light detection means and mounting means
Specific restriction is done, as long as can achieve the purpose that the ambient light detection above predeterminated position.Light detection means can
By include: luminance meter, in terms of digital light, colour temperature meter, colour difference meter, chromascope, color analysis instrument etc., the quantity of light detection means
It can be one or more, when the quantity of light detection means is multiple, both may include the detection dress of multiple and different types
It sets, such as: include M luminance meter and N number of colour temperature meter (M >=1, N >=1), or only include multiple same type of detection devices,
Such as: it include M luminance meter or N number of colour temperature meter (M > 1, N > 1).
In this specification one or more embodiment, light detection means can be connected with self-service cash register it is complete
Main operational component in light detection means can also be integrated into inside self-service cash register by whole individual components, and by light
The outside of self-service cash register is arranged in the photoreceptor of line detector, can directly externally by the photoreceptor of light detection means
Portion's ambient light is detected, to obtain detection data.
It is worth noting that being typically mounted on commodity mounting table for acquiring the camera of commodity image in self-service cash register
Top, and be higher than the putting height of commodity, camera is shooting commodity image from the top down, therefore in practical application
In, it is only necessary to the ambient light above predeterminated position is detected using light detection means.In addition, this specification is real
The ambient light in example above predeterminated position is applied, does not represent the light source of the ambient light also necessarily from predeterminated position (or quotient
Product) top, what the light source that ambient light can be any direction outside by predeterminated position was issued.
Mode two:
Shooting is carried out to the ambient light above predeterminated position using one or more second filming apparatus and obtains detection figure
Picture, and according to the detection data of detection image acquisition ambient light.
Compared with foregoing manner one, mode two is directly examined to external ambient light using light detection means
It surveys, to obtain the detection data of ambient light, but the ambient light above predeterminated position is carried out by the second filming apparatus
Shooting, the detection image obtained to shooting is handled, to obtain the detection data of ambient light, to realize that measurement is outer indirectly
The effect of portion's ambient light.Second filming apparatus may include camera (such as RGB camera) or camera, by using camera
Or camera substitutes the light detection means of profession, is indirectly examined to external ambient light using the photo that camera obtains
It surveys, hardware use cost can be reduced.
It is described as follows below with reference to realization process of this specification embodiment to mode two:
Preferably, in one embodiment, calibration in advance has the luminous intensity of ambient light and generates image in terminal device
Brightness between corresponding relationship and ambient light colour temperature and generate image colour temperature between corresponding relationship;It is above-mentioned right
Should be related to can demarcate in advance in the second filming apparatus in terminal device, specifically, calibration process can be in the second shooting
Before device factory, by the calibration carried out in laboratory environments, corresponding relationship can be by establishing table or functional relation
Mode is recorded in the second filming apparatus.
Further, the ambient light above predeterminated position is shot using one or more second filming apparatus
After obtaining detection image (be equivalent to generate image), then the brightness by being handled the detection image to obtain detection image with
Colour temperature;According to the brightness of detection image and colour temperature and above-mentioned corresponding relationship, the luminous intensity and colour temperature of ambient light are determined, i.e.,
According to the brightness for obtaining detection image, by inquiry mapping table or functional relation, counter to release the detection image corresponding outer
The luminous intensity of portion's ambient light, likewise, passing through inquiry mapping table or function according to the colour temperature for obtaining detection image
The anti-colour temperature for releasing the corresponding external environment light of the detection image of relationship.
In this specification one or more embodiment, detection to external ambient light and the mistake for obtaining detection data
Journey can be real-time perfoming, be also possible to be detected according to certain time interval, for example often detect one every other hour
It is secondary, it can also be and put on commodity mounting table in commodity, user starts after clicking checkout by the touch screen of self-service cash register
Detection.By the obtained detection data of detection to ambient light may include: luminous intensity, colour temperature, luminous flux and
One of colour rendering index is a variety of.
In step S230, it is adjusted according to acquisition parameters of the detection data to the first filming apparatus.
Specifically, in one embodiment, the first filming apparatus may include camera (such as RGB camera) or camera,
One filming apparatus is for shooting commodity, to obtain the image for more meeting commodity actual look.Acquisition parameters may include
Exposure parameter (AE), time for exposure and white balance parameter (AWB);Wherein, AE may include f-number, shutter speed and photosensitive again
Degree value;AWB can be the parameter of definition camera white value.Make by adjusting exposure parameter in different lighting condition and
Object brightness rank is realized in scene, so that it was both less dark or less bright to guarantee captured image, and adjusting white balance parameter can
To promote the accuracy of shooting photographic quality.
In one embodiment, it is adjusted, be can wrap according to acquisition parameters of the detection data to the first filming apparatus
Include the following contents:
The exposure parameter of the first filming apparatus and/or time for exposure are adjusted according to luminous intensity.
Preferably, in one embodiment, it can be preset in the first filming apparatus and exposure corresponding to the filming apparatus
Table is being obtained in the corresponding relationship being stored between luminous intensity and AE and/or luminous intensity and time for exposure in exposure meter
After the detection data of external environment light, according to the luminous intensity in detection data, this luminous intensity is inquired in exposure meter
Corresponding AE and/or time for exposure, the AE obtained further according to inquiry and/or time for exposure adjust the AE of the first filming apparatus
And/or the time for exposure.
It is adjusted according to white balance parameter of the colour temperature to the first filming apparatus.
Preferably, in one embodiment, it can preset in the first filming apparatus and be put down with white corresponding to the filming apparatus
Weigh numerical tabular, be stored in white balance numerical tabular colour temperature and AWB correction parameter (Rgain, Bgain) between corresponding relationship,
After the detection data for obtaining external environment light, according to the color temperature value in detection data, this is inquired in white balance numerical tabular
AWB corresponding to temperature value of the same colour corrects parameter (Rgain, Bgain), then by the obtained AWB of inquiry correct parameter (Rgain,
Bgain) AWB of the first filming apparatus is adjusted.
It is worth noting that the above-mentioned process being adjusted according to acquisition parameters of the detection data to the first filming apparatus,
It can be and completed in the first filming apparatus, the first filming apparatus and its built-in image processor (ISP) can pass through drive
It is dynamic to be adjusted, according to the detection data of external environment light, driven by program dynamic adjustment, so that it may realize and shooting is joined
Several adjustment, so as to improve the effect of taking pictures of camera.
In step S240, using the first filming apparatus after being adjusted to the acquisition parameters to the predeterminated position
On target object carry out shooting and obtain the first image, and using the first image as the image of the target object.
In this specification one or more embodiment, by abovementioned steps S210~step S230 operation, to outside
Ambient light is detected, and is adjusted according to acquisition parameters of the detection data to the first filming apparatus, makes acquisition parameters can
To carry out dynamic adjustment according to different ambient lights, recycle the first filming apparatus after being adjusted to acquisition parameters to quotient
Product carry out shooting and obtain commodity image (i.e. the first image), shoot to efficiently avoid external environment light to commodity image
When influence, be conducive to be lifted at accuracy of identification when identifying based on shooting image to commodity.
It should be noted that the first filming apparatus mentioned above, the second filming apparatus, the first image and subsequent mentioning
The second image arrived, " first " and " second " therein are intended merely to distinguish different filming apparatus and image, do not represent it
His meaning.
Embodiment two
Fig. 3 is a kind of process signal for image acquiring method based on target object that this specification embodiment two provides
Figure, this method can specifically include following steps:
In step s310, the predeterminated position of one or more target objects is determined.
In step s 320, the ambient light above the predeterminated position is detected, and obtains the ambient light
Detection data.
Specifically, in this specification embodiment in the concrete operation method and previous embodiment of step S310 and step S320
Step S210 is identical with the operating method of step S220, can correspond to and illustrate referring to the correlation in previous embodiment, no longer superfluous here
It states.
In step S330, shooting is carried out to the target object on the predeterminated position using the first filming apparatus and obtains the
One image.
Further, in one embodiment, the first filming apparatus may be mounted on self-service cash register, the first filming apparatus
It may include camera (such as RGB camera) or camera, using the first filming apparatus directly to being placed on commodity mounting table
Commodity are shot to obtain the first image, are not adjusted at this time to the acquisition parameters of the first filming apparatus, the first image
It is captured under the influence of commodity are by external environment light obtain.
In step S340, the first image is handled based on the detection data to obtain the second image, and will
Image of second image as the target object.
It in one embodiment, can basis after obtaining the first image of detection data and shooting of ambient light
The luminous intensity and colour temperature of ambient light are adjusted the brightness of the first image and colour temperature, the second image after being adjusted.
Specifically, the process being adjusted to the first image may include the following contents:
Global gamma correction is carried out to the first image according to luminous intensity, and part is executed to the image after gamma correction
Contrast enhancing operation (for example, bilinear filter etc.), while global color school can also be carried out to the first image according to colour temperature
Positive (such as white balance compensation) then executes the operation of color overflow control to the image after global color correction again, finally obtains tune
The second image after whole.
Compared with embodiment one, identical is that can also detect to external ambient light in embodiment two, and obtain outer
The detection data of portion's ambient light, the difference is that not needing the shooting according to detection data to the first filming apparatus in embodiment two
Parameter is adjusted, and obtains commodity image using parameter the first filming apparatus adjusted, but utilizes the first filming apparatus
Directly shooting commodity obtain commodity image (i.e. the first image), further according to external environment light detection data to the first image
Overall brightness and colour temperature are adjusted, and influence of the external environment light to the commodity image taken can be effectively avoided, place
The second image obtained after reason more meets commodity actual look, thus when carrying out commodity identification based on the second image, Ke Yiti
Rise the accuracy of identification of commodity.
The content of above-described embodiment two mainly describes behaviour of this specification embodiment two when being applied to terminal equipment side
Make, operation when this specification embodiment two is also to cloud server as main body is described.Referring to fig. 4, this is illustrated
The flow diagram for another image acquiring method based on target object that this specification embodiment two provides, this method tool
Body may comprise steps of:
Step S410, the detection data and the first image that receiving terminal apparatus uploads.
Step S420 handles the first image based on the detection data to obtain the second image, and will be described
Image of second image as target object.
Further, the detection data is the predeterminated position that the terminal device determines one or more target objects,
And after being detected to the ambient light above the predeterminated position the acquired ambient light detection data;Described
One image is obtained after being shot using the first filming apparatus to the target object on the predeterminated position by the terminal device
The first image taken.
In this specification embodiment, the first image is handled based on detection data obtain the operation of the second image with
And the detection operation of ambient light, it is identical as the operating method that previous embodiment is recorded, it can correspond to referring in previous embodiment
It is related illustrate, which is not described herein again.
Embodiment three
Fig. 5 is a kind of process signal for image acquiring method based on target object that this specification embodiment three provides
Figure, this method can specifically include following below scheme:
Step S510 determines the predeterminated position of one or more target object.
Step S520 detects the ambient light above the predeterminated position, and obtains the inspection of the ambient light
Measured data.
Step S530 is adjusted according to acquisition parameters of the detection data to the first filming apparatus.
Step S540, using the first filming apparatus after being adjusted to the acquisition parameters on the predeterminated position
Target object carries out shooting and obtains the first image.
Step S550 handles the first image based on the detection data to obtain the second image, and will be described
Image of second image as the target object.
Specifically, step S510~step S540 concrete operation method and previous embodiment in this specification embodiment three
Step S210~step S240 operating method is identical in one, walks in the concrete operation method and previous embodiment two of step S550
The operating method of rapid S340 is identical, can correspond to and illustrate which is not described herein again referring to the correlation in previous embodiment.
It should be noted that the first image being directed to is by acquisition parameters in the step S550 of embodiment three
The captured commodity image (i.e. the first image) obtained of the first filming apparatus after being adjusted.This specification embodiment passes through root
After being adjusted according to the detection data of external environment light to the acquisition parameters of the first filming apparatus, after being adjusted using acquisition parameters
The first filming apparatus obtain the first image, then the detection data based on external environment light is further processed the first image
The brightness and colour temperature of the first image (adjustment), thus second image that obtains that treated.Compared to embodiment one and embodiment two, originally
Specification embodiment three is on the one hand by adjusting the acquisition parameters of camera (the first filming apparatus) to reduce external ambient light
Influence of the line to camera shooting imaging, the commodity image that shooting is obtained based on the detection data of ambient light on the other hand
It is post-processed, to further obtain the commodity image for being more in line with commodity actual look, is reduced by two aspect as above
The influence of external light source guarantees commodity image that final output obtains not by the influence of external light source, to further be promoted
The stability and precision of commodity identification.
Further, in a concrete application scene, the commodity image obtained according to previous embodiment is based on the commodity figure
When as carrying out commodity identification, which can be input in commodity identification model and being identified, obtaining the commodity image
The information (such as product name, price) of corresponding commodity.Commodity identification models can be to be obtained based on neural metwork training
Model, neural network can be obtained by the corresponding relationship of training commodity image and merchandise news, and the operation of commodity identification both may be used
With terminal device (self-service cash register) complete, can also beyond the clouds server complete.
Based on same thinking, this specification embodiment additionally provides a kind of image acquiring device based on target object,
If Fig. 6 is a kind of image acquiring device based on target object that this specification embodiment provides, it is applied to terminal device, the dress
600 are set to specifically include that
Determining module 601, for determining the predeterminated position of one or more target objects;
Detection module 602 for detecting to the ambient light above the predeterminated position, and obtains the environment light
The detection data of line;
Module 603 is adjusted, for being adjusted according to acquisition parameters of the detection data to the first filming apparatus;
Shooting module 604, for being preset using the first filming apparatus after being adjusted to the acquisition parameters to described
Target object on position carries out shooting and obtains the first image, and using the first image as the image of the target object.
According to an embodiment of the present application, in said device, the detection module 602 is specifically used for:
The ambient light above the predeterminated position is detected using one or more light detection means, and is obtained
The detection data of the ambient light;
Alternatively,
Shooting is carried out to the ambient light above the predeterminated position using one or more second filming apparatus and obtains inspection
Altimetric image, and obtain according to the detection image detection data of the ambient light.
According to an embodiment of the present application, in said device, calibration has ambient light in advance in second filming apparatus
Luminous intensity and generate image brightness between corresponding relationship and ambient light colour temperature and generate image colour temperature it
Between corresponding relationship;
The detection module 602 is further used for:
The detection image is handled to obtain the brightness and colour temperature of the detection image;
According to the brightness of the detection image and colour temperature and the corresponding relationship, the strong light of the ambient light is determined
Degree and colour temperature.
According to an embodiment of the present application, in said device, the detection data includes: luminous intensity, colour temperature, luminous flux
And one of colour rendering index or a variety of.
According to an embodiment of the present application, in said device, the acquisition parameters include exposure parameter, time for exposure and white
Balance parameters, the adjustment module 603 are specifically used for:
The exposure parameter of first filming apparatus and/or time for exposure are adjusted according to the luminous intensity;
It is adjusted according to white balance parameter of the colour temperature to first filming apparatus.
It according to an embodiment of the present application, in said device, can also include: processing module 605, in the utilization
The first filming apparatus after being adjusted to the acquisition parameters carries out shooting acquisition to the target object on the predeterminated position
After first image, handled to obtain the second image to the first image based on the detection data, and by described second
Image of the image as the target object.
According to an embodiment of the present application, in said device, the processing module 605 is further used for: according to the hair
Luminous intensity and colour temperature are adjusted the brightness of the first image and colour temperature, the second image after being adjusted.
It is applied to referring to Fig. 7 for another image acquiring device based on target object that this specification embodiment provides
Terminal device, the device 700 specifically include that
Determining module 701, for determining the predeterminated position of one or more target objects;
Detection module 702 for detecting to the ambient light above the predeterminated position, and obtains the environment light
The detection data of line;
Shooting module 703 is obtained for carrying out shooting to the target object on the predeterminated position using the first filming apparatus
Take the first image;
Processing module 704, for being handled the first image to obtain the second image based on the detection data, and
Using second image as the image of the target object.
According to an embodiment of the present application, in said device, the detection data includes: luminous intensity, colour temperature, luminous flux
And one of colour rendering index or a variety of.
According to an embodiment of the present application, in said device, the processing module 704 is further used for: according to the hair
Luminous intensity and colour temperature are adjusted the brightness of the first image and colour temperature, the second image after being adjusted.
It according to an embodiment of the present application, in said device, can also include: adjustment module 705, in the utilization
Is according to the testing number before first filming apparatus carries out shooting the first image of acquisition to the target object on the predeterminated position
It is adjusted according to the acquisition parameters to first filming apparatus.
According to an embodiment of the present application, in said device, the acquisition parameters include exposure parameter, time for exposure and white
Balance parameters, the adjustment module 705 are specifically used for:
The exposure parameter of first filming apparatus and/or time for exposure are adjusted according to the luminous intensity;
It is adjusted according to white balance parameter of the colour temperature to first filming apparatus.
It is applied to referring to Fig. 8 for another image acquiring device based on target object that this specification embodiment provides
Cloud server, the device 800 specifically include that
Receiving module 801, the detection data uploaded for receiving terminal apparatus and the first image;
Processing module 802, for being handled the first image to obtain the second image based on the detection data, and
Using second image as the image of target object;
Wherein, the detection data is the predeterminated position that the terminal device determines one or more target objects, and right
The detection data of ambient light above the predeterminated position ambient light acquired after being detected;First figure
As acquired in after being shot using the first filming apparatus to the target object on the predeterminated position for the terminal device
First image.
According to an embodiment of the present application, in said device, the detection data includes: luminous intensity, colour temperature, luminous flux
And one of colour rendering index or a variety of.
According to an embodiment of the present application, in said device, the processing module 802 is further used for: according to the hair
Luminous intensity and colour temperature are adjusted the brightness of the first image and colour temperature, the second image after being adjusted.
This specification embodiment also provides a kind of electronic equipment, including memory, and processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor are realized described in above-described embodiment one when executing described program
Method.
This specification embodiment also provides a kind of electronic equipment, including memory, and processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor are realized described in above-described embodiment two when executing described program
Method.
This specification embodiment also provides a kind of electronic equipment, including memory, and processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor are realized described in above-described embodiment three when executing described program
Method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, nonvolatile computer storage media embodiment, since it is substantially similar to the method embodiment, so description
It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Device that this specification embodiment provides, electronic equipment, nonvolatile computer storage media with method are corresponding
, therefore, device, electronic equipment, nonvolatile computer storage media also have the Advantageous effect similar with corresponding method
Fruit, since the advantageous effects of method being described in detail above, which is not described herein again corresponding intrument,
The advantageous effects of electronic equipment, nonvolatile computer storage media.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).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 instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including described
There is also other identical elements in the process, method of element, commodity or equipment.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure etc..Specification can also be practiced in a distributed computing environment, in these distributed computing environments,
By executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module can
To be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely this specification embodiments, are not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.