CN107071273A - A kind of photographing instruction sending method and device - Google Patents

A kind of photographing instruction sending method and device Download PDF

Info

Publication number
CN107071273A
CN107071273A CN201710115978.6A CN201710115978A CN107071273A CN 107071273 A CN107071273 A CN 107071273A CN 201710115978 A CN201710115978 A CN 201710115978A CN 107071273 A CN107071273 A CN 107071273A
Authority
CN
China
Prior art keywords
image
area
card
preview image
camera
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.)
Withdrawn
Application number
CN201710115978.6A
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 CHENGXIN DATA TECHNOLOGY Co Ltd
Original Assignee
BEIJING CHENGXIN DATA 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 CHENGXIN DATA TECHNOLOGY Co Ltd filed Critical BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Priority to CN201710115978.6A priority Critical patent/CN107071273A/en
Publication of CN107071273A publication Critical patent/CN107071273A/en
Withdrawn 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/62Control of parameters via user interfaces
    • 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/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

This application discloses a kind of photographing instruction sending method, the problem of influenceing to shoot photographic quality to solve to trigger camera shooting photo by pressing operation in the prior art.This method includes:Area accounting of the target area in preview image is determined, the target area is the region where the target identification thing in the preview image;When the area accounting meets default first condition, photographing instruction is sent to camera corresponding with the preview image.In addition, disclosed herein as well is a kind of photographing instruction dispensing device.

Description

A kind of photographing instruction sending method and device
Technical field
The application is related to field of computer technology, more particularly to a kind of photographing instruction sending method and device.
Background technology
With the development of science and technology, Taking Photographic is entered among daily life already, present most of hand The mobile terminals such as machine, tablet personal computer often all have the function of taking pictures.
In the prior art, can be by being moved to photographing device, to control camera lens when being taken pictures to object Suitable shooting angle and suitable shooting time is selected to shoot object.The common end for possessing camera function End, is often collocated with for triggering entity/virtual push button that camera is taken pictures.User is when performing photographing operation, it is necessary to press Press these buttons and shoot photo to trigger camera.
By way of triggering camera shooting photo pressing these buttons, it can make camera generation is unnecessary to rock, In turn result in captured photographic fog, the quality of the captured photo of influence.
The content of the invention
The embodiment of the present application provides a kind of photographing instruction sending method, to solve to touch by pressing operation in the prior art The problem of hair camera shoots photo and influences the photographic quality shot.
The embodiment of the present application also provides a kind of photographing instruction dispensing device, with solve in the prior art by pressing operation come The problem of triggering camera shoots photo and influences the photographic quality shot.
The embodiment of the present application uses following technical proposals:
A kind of photographing instruction sending method, including:
Area accounting of the target area in preview image is determined, the target area is the target in the preview image Recognize the region where thing;
When the area accounting meets default first condition, finger of taking pictures is sent to camera corresponding with the preview image Order.
A kind of photographing instruction dispensing device, including:
Area accounting determining unit, for determining area accounting of the target area in preview image, the target area For the region where the target identification thing in the preview image;
Instruction sending unit, for when the area accounting meets default first condition, to the preview image pair The camera answered sends photographing instruction.
At least one above-mentioned technical scheme that the embodiment of the present application is used can reach following beneficial effect:
By determining area accounting of the target identification thing in preview image in the preview image, then when it is determined that target When area accounting of the region in the preview image meets default first condition, sent out to camera corresponding with the preview image Photographing instruction is sent, user by pressing operation to trigger camera without taking pictures during entirely taking pictures, it is to avoid camera generation Unnecessary rocks, and then avoids the problem of photographic quality of shooting is poor.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please is used to explain the application, does not constitute the improper restriction to the application.In the accompanying drawings:
A kind of implementation process schematic diagram for photographing instruction sending method that Fig. 1 provides for the application;
A kind of implementation process schematic diagram for photographing instruction sending method that Fig. 2 provides for the application;
The position view for the presumptive area that Fig. 3 provides for the application;
A kind of concrete structure schematic diagram for photographing instruction dispensing device that Fig. 4 provides for the application.
Embodiment
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the application one Section Example, rather than whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of the application protection.
Below in conjunction with accompanying drawing, the technical scheme that each embodiment of the application is provided is described in detail.
Embodiment 1
The photographic quality that photo influences to shoot is shot to solve in the prior art to trigger camera by pressing operation Problem, the embodiment of the present application 1 provides a kind of photographing instruction sending method.The photographing instruction sending method that the embodiment of the present application is provided Executive agent can be terminal device, for example, mobile phone, tablet personal computer, etc. or perform photographing instruction sending method Software.
For ease of description, hereafter using terminal device as exemplified by performing this method main body, the embodiment to this method is entered Row is introduced.It is appreciated that being a kind of exemplary explanation using terminal device as this method main body is performed, it is not construed as Restriction to this method.
The implementation process schematic diagram of this method is as shown in figure 1, comprise the steps:
Step S101:Determine area accounting of the target area in preview image;
Here preview image is the image in camera lens view-finder collected in real time after camera is opened, and preview image can For user's preview, to select suitable shooting angle and opportunity to take pictures, when camera is opened, multiframe can be continuously got Preview image.The preview image determined in this step can be got at camera current time, can so be taken pictures in satisfaction During condition, camera is controlled to go to take pictures in time.
Target identification thing can be reference object of the camera when taking pictures, and target identification thing such as can be preliminary dimension Card, such as debit card, credit card, business card, member card, access card, mass transit card etc..The preliminary dimension can be Standard Bank The size of card, or most standard business card size, etc..
Target area is target identification thing region residing in preview image, then target area is in preview image Area accounting, can be ratio of the area with the preview image gross area of target area.It is determined that target area is in preview image In area accounting when, can first determine the target area in preview image, target area and preview image are then calculated again Area accounting.
, can be by determining the border of target identification thing in preview image it is determined that during target area in preview image Line determines that the region that the boundary line of target identification thing is surrounded is regarded as region of the target identification thing in preview image, That is target area.Such as, for the card of preliminary dimension, because the edge of card is often four line segments, then can root According to four line segments for meeting default second condition detected in presumptive area, to determine the border of the target area where card Determination card target area in preview image will will be described in detail as target area in line, the region that boundary line is surrounded hereinafter The step of domain, do not repeat herein.
, can be in target area in preview in order to obtain clear photograph, the i.e. higher photo of target identification thing identification Accounting goes to shoot compared with Gao Shizai in image, then can first determine the area accounting, the determination method of specific area accounting is such as Can be:By the ratio of target area pixel quantity and the total pixel quantity of preview image, as target area in preview graph Area accounting as in.
For target identification thing is card, target area is generally rectangular cross-section, then can be according to four recognized Line segment calculates the area accounting of target area.Specifically, can multiplying according to target area adjacent two edges pixel quantity Product, determines the pixel quantity of target area, then with target area pixel quantity divided by the total pixel quantity of preview image, It can obtain area accounting of the target area in preview image;Or, can be according to the length of target area adjacent two edges Product, the area of preview image is determined, then with the area divided by the preview image gross area of preview image, you can obtain target Area accounting of the region in preview image.
In actual applications, it is determined that during area accounting, determined by calculation as described above, Can also be determined by obtaining the area accounting of other devices offers, the application is not limited this.
Step S102:When the area accounting meets default first condition, to camera corresponding with the preview image Send photographing instruction.
Default first condition described here can be that the area accounting is being preset in span, the default value model Enclosing to pre-set.When the area accounting is in default span, the definition of target identification thing can expire The default definition requirement of foot.Definition requirement mentioned here such as can be that the target identification thing in image can visually be known Not, the target identification thing or in image can be by optical character identification (Optical Character Recognition, OCR) Unit is recognized.
Such as, it is determined that area accounting of the target area in preview image be 0.8, if area accounting set in advance Span be 0.75~0.95, then can be considered that the area accounting that is determined in step 12 meets default first condition, i.e., Photographing instruction can be sent to camera corresponding with preview image.Here camera corresponding with preview image can obtain that this is pre- Look at the camera of image.
For example, so that target identification thing is the card of pre-set dimension as an example, when being taken pictures to the card, the is preset When one condition can be that the definition of the card meets default definition requirement, image-region and preview graph image planes where card The span of product accounting.
The photographing instruction sending method that the application is provided is particularly suitable for use in quiet zoom lens, and quiet zoom lens here refer to when taking pictures Can not the camera lens that can not adjust of auto-focusing and focal length, quiet zoom lens for other feature-rich camera lenses low cost, Size is small, can apply in more scene, such as, for the ultra-thin terminal device of volume, because mirror is installed in its inconvenience The larger zoom lens of head volume or the camera lens for being capable of auto-focusing, therefore quiet zoom lens are a kind of selections well.
Because the focal length of quiet zoom lens is fixed, then the definition of target identification thing and target identification object distance in image It is related from a distance from camera lens, when target identification thing is closer to apart from the distance and focal length of camera lens, mesh in the image shot The definition for identifying other thing can be higher;Also, when the timing of size one of target identification thing, the accounting of target area in the picture with Target identification thing is linear correlation apart from the distance of camera lens, when target identification thing is nearer apart from camera lens, and target area is in figure Accounting as in can be larger.That is there is corresponding relation in target area accounting in the picture and the definition of image.
So, for target identification thing that the quiet zoom lens of parameter identical and size are preliminary dimension, it may be predetermined that The camera lens can clearly photographic subjects marker when, the span of target area area accounting in preview image.So, When being taken pictures again with the quiet zoom lens of identical parameters to the target identification thing of preliminary dimension next time, you can according to target area in institute State the area accounting in preview image, come judge target identification thing in preview image it is whether clear.Certain ginseng mentioned here It is not absolute identical that number is identical, for different camera lens, as long as the corresponding relation phase of image accounting and definition With.
In order to prevent causing to take pictures of poor quality because camera lens such as rocks at the reason, the pre- of continuous sampling can be such as preset Number of image frames is look at, when the area accounting of the continuous predetermined frame number preview image is satisfied by default first condition, to sampling phase Machine sends photographing instruction, controls the sampling camera automatic camera, sampling camera here can be for obtaining preview image Camera.Certainly, area accounting here refers to area accounting of the target area in preview image, as it was noted above, phase chance is pressed Preview image is obtained according to certain picture-taken frequency, each preview image is a frame, then can determine that each frame is pre- respectively Look at the area accounting of image, when the area accounting of the preview image of continuous predetermined frame number is satisfied by default first condition, i.e. table Rocking for bright mirror head now just can send photographing instruction, to obtain higher shooting matter in range of receiving to sampling camera The photo of amount.
Camera is after photographing instruction is received, you can perform photographing operation.Then the image of camera shooting can be received, According to the boundary line of determination, the image of the target area is intercepted in the image shot from camera, the figure of target identification thing is used as Picture.Region unnecessary beyond objective area in image image is so just can remove, storage area can be both saved, can also expire Processing requirement of the sufficient later stage to image.
After the image of target identification thing is obtained, spatial alternation can also be carried out to the image of target identification thing, to cause Target identification thing in image is in preset state.Preset state is state set in advance, and herein, preset state can be just Depending on state, face the image of state, refer to when sight is perpendicular to objective plane, it is acquired without translating, rotate, scale, inclining The image of the spatial alternations such as oblique and perspective.Such as, for business card, the acquisition of the image is by determined by will be in image Name panel region, by projective transformation, is transformed to advise the business card image intercepted out after positive rectangular shape.
Below using by card as the photographing instruction sending method that the application offer exemplified by target identification thing, is discussed in detail, The implementation process schematic diagram of this method as described in Figure 2, comprises the steps:
Step S201:Determine in the presumptive area of the preview image in the presence of four line segments for meeting default second condition;
Because the area accounting when the card in image is more visible in preview image is often than larger, then card Four edges can be nearer with the frontier distance of image, therefore presumptive area is preferably in the fringe region of image, i.e. presumptive area Each pixel and the distance of closest image boundary be less than preset distance.As shown in figure 3, presumptive area inside border away from From being x respectively with a distance from adjacent image boundary1, x2, x3, x4, the presumptive area can be by developer according to area above Accounting is set, and is defined by four marginal positions that card can be detected in image clearly.
Here default second condition, can be the line segment that there is length in presumptive area in the range of preset length, this In preset length scope can be determined according to specific card sizes.Certainly, the image collected due to camera is often not The characteristics of image of target identification thing can completely be reduced, such as it is, relative in possible image for some edge of card The characteristics of image answered is some discontinuous line segments, then, these line segments can at this time be merged, specifically merge line segment When, it can be merged for the close line segment of in small distance, angle, then the length of line segment after merging is in preset length In the range of when, then can be using the corresponding line segment in the border of the line segment as card.Card border corresponding four was so both can obtain Bar line segment.
If it should be noted that the quantity for the line segment for being not detected by line segment or detecting is less than two, then it is assumed that not Line segment is recognized, preview image frame can be reacquired, the operation such as image denoising is then performed to picture frame, then preview image is entered Row detection.The straight line in presumptive area can be specifically detected by the line detection algorithm for image.
Step S202:According to four line segments in presumptive area, the boundary line of the target area where the card is determined.
Because the image that camera is collected tends not to completely reduce the characteristics of image of target identification thing, therefore detect The corresponding each bar line segment of card border be possible to can be shorter than card actual edge size, or than card actual edge size Grow, cause four line segments can not be end to end.So the extended line of four line segments can two-by-two be intersected and obtain four intersection points, The connected obtained quadrangle of four intersection points can be used as the boundary line of card, and now the region in card boundary line institute frame is mesh Mark region.
Step S203:Determine area accounting of the corresponding target area of card in the preview image;
The specific mode for determining area accounting can be found in the associated description in step S101, and here is omitted.
Step S204:When it is determined that area accounting meet default first condition when, to corresponding with the preview image Camera sends photographing instruction.
The default first condition can be that area accounting is being preset in span, when area accounting is in default value model When enclosing interior, the definition of target identification thing can meet default definition requirement.
, can be when continuous predetermined frame number preview graph in order to prevent causing photographic quality poor because camera lens such as rocks at the reason When the area accounting of picture is satisfied by default first condition, photographing instruction is sent to camera corresponding with the preview image.
Camera is after photographing instruction is received, you can perform photographing operation.
Step S205:The image of camera collection is received, according to the boundary line of determination, image is intercepted, card is used as Image;
Objective area in image so just be can remove with the image of exterior domain, storage area so can be both saved, also may be used To meet processing requirement of the later stage to image.I.e. according to the boundary line of determination, intercepted in the image shot from the camera The image of the target area, is used as the image of target identification thing.
Step S206:Spatial alternation is carried out to the image of card, to cause the card in image to be in preset state.
Here preset state such as can be to face state, for target identification thing is card, and card is in just Can be that the four edges of card are just overlapped with the edge line of image depending on state.It is outer by the image obtained after spatial alternation The similar actual business cards of shape, the image without other background image contents, the four edges of business card image are the boundary line of business card.
The method that the embodiment of the present application 1 is provided, by determining the target area where the target identification thing in preview image, Then when it is determined that area accounting of the target area in the preview image meets default first condition, to the preview graph As corresponding camera transmission photographing instruction, user is without trigger camera bat by performing pressing operation during entirely taking pictures According to, it is to avoid camera produce it is unnecessary rock, and then avoid the problem of photographic quality of shooting is poor.
Whether the application can be according to area accounting of the target area in preview image, to detect card in clearly State, relative to being detected in the prior art by modes such as pixel values, the process resource of consuming is less.And in presumptive area Each pixel and the distance of closest image boundary to be less than preset distance, i.e. presumptive area be the side in preview image Edge region, it so ensure that card goes to take pictures again when accounting is larger in preview image, and area accounting when taking pictures exists Within the scope of area accounting during predetermined apparent, it can so cause the apparent shot, and accorded with size Close requirement of the later stage to image procossing.
Embodiment 2
Present invention design is described based on previous embodiment 1 in detail, for the ease of being better understood from the application's Technical characteristic, means and effect, the photographing instruction sending method to the application is described further below, so as to form this Shen Another embodiment please.
Photographing instruction transmission process is similar to photographing instruction transmission process described in embodiment 1 in the embodiment of the present application 2, real Apply some other step not made referrals in example 2 and may refer to associated description in embodiment 1, here is omitted.
Before being described in detail to the implementation of the program, first the implement scene to the program is simply introduced.
In the implement scene, camera is quiet zoom lens, and target identification thing can be the business card of preliminary dimension, for this kind The quiet zoom lens of parameter, predefine default first condition.The default first condition is that area of the business card in preview image is accounted for Than presetting in span, wherein, when area accounting is in default span, the definition of card meets pre- in image If definition requirement.
Based on above-mentioned scene, the process of automatic camera is realized in embodiment 2, is comprised the steps:
Step S301:Obtain the preview image that current time quiet zoom lens are collected;
Step S302:Image denoising operation is performed to the preview image got, to obtain the preview image that noise is less, In case subsequent treatment.
Step S303:Presumptive area to preview image carries out straight-line detection;
Merge the close and in small distance straight line of angle in the straight line detected in presumptive area, then filter out length More than the straight line of predetermined threshold.
Step S304:If detecting four line segments in presumptive area, as the four edges wire of business card;
Step S305:If being not detected by four line segments in presumptive area, step S301 is performed;
Step S306:Four edges wire according to being determined in step S304 determines business card region in whole preview image In area accounting;
Step S307:Judge whether the area accounting determined meets predetermined default first condition;
Step S308:If it is determined that area accounting do not meet predetermined default first condition, then perform step S301;
Step S308:If it is determined that area accounting meet predetermined default first condition, then record preview image work as Previous frame meets predetermined default first condition;
Step S309:Judge whether the area accounting that continuous n frames are determined is satisfied by default first condition;
Step S310:If the area accounting that continuous n frames are determined is unsatisfactory for default first condition, step S301 is performed;
Step S311:If the area accounting that continuous n frames are determined meets default first condition, finger of taking pictures is sent to camera Order;
Step S312:Camera is connected to photographing instruction, and present image is shot;
Step S313:The photo that camera is shot is received, according to the boundary line of determination, is intercepted in the photo shot from camera The image of business card;
Step S314:Spatial alternation is carried out to the image of business card, state is faced to cause the business card in image to be in, so as to It is follow-up to show or be easy to OCR unit to recognize image.
The method that the embodiment of the present application 2 is provided, by determining the target area where the business card in preview image, then when When determining that area accounting of the target area in the preview image meets default first condition, to corresponding with the preview image Camera send photographing instruction, user by performing pressing operation to trigger camera without being taken pictures during entirely taking pictures, it is to avoid Camera produce it is unnecessary rock, and then avoid the problem of captured photographic quality is poor.
Whether the application can be according to area accounting of the target area in preview image, to detect business card in clearly State, relative to being detected in the prior art by modes such as pixel values, the process resource of consuming is less.And in presumptive area Each pixel and the distance of closest image boundary to be less than preset distance, i.e. presumptive area be the side in preview image Edge region, it so ensure that card goes to take pictures again when accounting is larger in preview image so that obtained apparent, and Meet requirement of the later stage to image procossing in size.Developer can be handled to the requirement in size according to later image, really Determine the position of fringe region.
Embodiment 3
By way of triggering camera shooting photo pressing operation in the prior art for solution, the photo matter shot is influenceed The problem of amount, the embodiment of the present application 3 provides a kind of photographing instruction dispensing device.The structural representation of the photographing instruction dispensing device As shown in figure 4, mainly including following function unit:
Area accounting determining unit 401, for determining area accounting of the target area in preview image, the target area Domain is the region where the target identification thing in the preview image;
Instruction sending unit 402, for when the area accounting meets default first condition, to the preview image Corresponding camera sends photographing instruction.
In one embodiment, the target identification thing is the card of preliminary dimension;
In one embodiment, the default first condition is that the area accounting is being preset in span, wherein, When the area accounting is in default span, the definition of the target identification thing meets default definition requirement.
The card includes following at least one:
Bank card;Business card;Member card;Collection point card;Access card;Mass transit card.
In one embodiment, the target area where the card of the preliminary dimension is to determine list by target area What member 403 was determined, the target area determining unit 403 is used for:
Determine in the presumptive area of the preview image in the presence of four line segments for meeting default second condition, the fate Each pixel and the distance of closest image boundary in domain are less than preset distance;
According to four line segments in presumptive area, the boundary line of the target area where the card is determined.
In one embodiment, the instruction sending unit 402, specifically for:
When the area accounting of continuous predetermined frame number preview image is satisfied by default first condition, to the preview The corresponding camera of image sends photographing instruction.
In one embodiment, described device also includes:
Interception unit 404, for after photographing instruction is sent to camera corresponding with the preview image, receiving the phase The image of machine collection;
According to the boundary line of determination, the image of the target area is intercepted in the image gathered from the camera, is made For the image of the target identification thing.
In one embodiment, described device also includes:
Spatial transform unit 405, for after the image of the target identification thing is obtained, to the figure of the target identification thing As carrying out spatial alternation, to cause the target identification thing in image to be in preset state.
The device that the embodiment of the present application 3 is provided, by determining the target identification thing in preview image in the preview image Area accounting, then when it is determined that area accounting of the target area in the preview image meets default first condition, to Camera corresponding with the preview image sends photographing instruction, and user by pressing operation without being triggered during entirely taking pictures Camera is taken pictures, it is to avoid camera produce it is unnecessary rock, and then avoid the problem of photographic quality of shooting is poor.
It should be noted that in the 1990s, can clearly to distinguish be hardware for the improvement of a technology On improvement (for example, improvement to circuit structures such as diode, transistor, switches) or improvement on software (for method The improvement of flow).However, with the development of technology, the improvement of current many method flows can be considered as hardware circuit Structure is directly improved.Designer is nearly all obtained accordingly by the way that improved method flow is programmed into hardware circuit Hardware circuit.Therefore, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, can Programmed logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is by user to device programming To determine.By designer is voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without asking chip manufacturing Manufacturer designs and made special IC chip.Moreover, nowadays, IC chip, this volume are made in substitution by hand Journey also uses " logic compiler (logic compiler) " software instead to realize mostly, used soft when it writes with program development Part compiler is similar, and also handy specific programming language is write for source code before compiling, and this is referred to as hardware Description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, Such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should This understands, it is only necessary to slightly programming in logic and be programmed into method flow in integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be just readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (14)

1. a kind of photographing instruction sending method, it is characterised in that including:
Area accounting of the target area in preview image is determined, the target area is the target identification in the preview image Region where thing;
When the area accounting meets default first condition, photographing instruction is sent to camera corresponding with the preview image.
2. method as claimed in claim 1, it is characterised in that the default first condition is the area accounting in default value In the range of, wherein, when the area accounting is in default span, the definition of the target identification thing meets default clear Clear degree is required.
3. method as claimed in claim 1, it is characterised in that the target identification thing is the card of preliminary dimension;
The card includes following at least one:
Bank card;Business card;Member card;Collection point card;Access card;Mass transit card.
4. method as claimed in claim 3, it is characterised in that the target area where the card of the preliminary dimension, is to pass through What following methods were determined:
Determine exist in the presumptive area of the preview image in four line segments for meeting default second condition, the presumptive area Each pixel and the distance of closest image boundary be less than preset distance;
According to four line segments in presumptive area, the boundary line of the target area where the card is determined.
5. such as any claim methods describeds of claim 1-4, it is characterised in that sent to camera corresponding with the preview image Photographing instruction, is specifically included:
When the area accounting of continuous predetermined frame number preview image is satisfied by default first condition, to the preview image Corresponding camera sends photographing instruction.
6. method as claimed in claim 5, it is characterised in that sending photographing instruction to camera corresponding with the preview image Afterwards, methods described also includes:
Receive the image of the camera collection;
According to the boundary line of determination, the image of the target area is intercepted in the image gathered from the camera, institute is used as State the image of target identification thing.
7. method as claimed in claim 6, it is characterised in that after the image of the target identification thing is obtained, methods described is also Including:
Spatial alternation is carried out to the image of the target identification thing, to cause the target identification thing in image to be in preset state.
8. a kind of photographing instruction dispensing device, it is characterised in that including:
Area accounting determining unit, for determining area accounting of the target area in preview image, the target area is institute State the region where the target identification thing in preview image;
Instruction sending unit, for when the area accounting meets default first condition, to corresponding with the preview image Camera sends photographing instruction.
9. device as claimed in claim 8, it is characterised in that the default first condition is the area accounting in default value In the range of, wherein, when the area accounting is in default span, the definition of the target identification thing meets default clear Clear degree is required.
10. device as claimed in claim 8, it is characterised in that the target identification thing is the card of preliminary dimension;
The card includes following at least one:
Bank card;Business card;Member card;Collection point card;Access card;Mass transit card.
11. device as claimed in claim 10, it is characterised in that described device also includes target area determining unit, is used for:
Determine exist in the presumptive area of the preview image in four line segments for meeting default second condition, the presumptive area Each pixel and the distance of closest image boundary be less than preset distance;
According to four line segments in presumptive area, the boundary line of the target area where the card is determined.
12. such as any claim described devices of claim 8-11, it is characterised in that the instruction sending unit, specifically for:
When the area accounting of continuous predetermined frame number preview image is satisfied by default first condition, to the preview image Corresponding camera sends photographing instruction.
13. device as claimed in claim 12, it is characterised in that described device also includes:
Interception unit, for after photographing instruction is sent to camera corresponding with the preview image, receiving the camera collection Image;
According to the boundary line of determination, the image of the target area is intercepted in the image gathered from the camera, institute is used as State the image of target identification thing.
14. device as claimed in claim 13, it is characterised in that described device also includes:
Spatial transform unit, for after the image of the target identification thing is obtained, being carried out to the image of the target identification thing Spatial alternation, to cause the target identification thing in image to be in preset state.
CN201710115978.6A 2017-03-01 2017-03-01 A kind of photographing instruction sending method and device Withdrawn CN107071273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710115978.6A CN107071273A (en) 2017-03-01 2017-03-01 A kind of photographing instruction sending method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710115978.6A CN107071273A (en) 2017-03-01 2017-03-01 A kind of photographing instruction sending method and device

Publications (1)

Publication Number Publication Date
CN107071273A true CN107071273A (en) 2017-08-18

Family

ID=59622945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710115978.6A Withdrawn CN107071273A (en) 2017-03-01 2017-03-01 A kind of photographing instruction sending method and device

Country Status (1)

Country Link
CN (1) CN107071273A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324267A (en) * 2020-02-18 2020-06-23 Oppo(重庆)智能科技有限公司 Image display method and related device
CN112926676A (en) * 2021-03-24 2021-06-08 成都新潮传媒集团有限公司 False target identification method and device and computer equipment
CN114180432A (en) * 2022-02-17 2022-03-15 深圳市海清视讯科技有限公司 Positioning method and device of elevator floor, computer equipment and system
CN114666490A (en) * 2020-12-23 2022-06-24 北京小米移动软件有限公司 Focusing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0940978A2 (en) * 1998-03-05 1999-09-08 Hitachi, Ltd. High resolution camera
CN104735339A (en) * 2013-12-23 2015-06-24 联想(北京)有限公司 Automatic adjusting method and electronic equipment
CN105430281A (en) * 2015-12-24 2016-03-23 广东欧珀移动通信有限公司 Picture taking control method, picture taking control device, selfie stick and camera system
CN106464801A (en) * 2014-05-21 2017-02-22 高通股份有限公司 System and method for determining image resolution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0940978A2 (en) * 1998-03-05 1999-09-08 Hitachi, Ltd. High resolution camera
CN104735339A (en) * 2013-12-23 2015-06-24 联想(北京)有限公司 Automatic adjusting method and electronic equipment
CN106464801A (en) * 2014-05-21 2017-02-22 高通股份有限公司 System and method for determining image resolution
CN105430281A (en) * 2015-12-24 2016-03-23 广东欧珀移动通信有限公司 Picture taking control method, picture taking control device, selfie stick and camera system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324267A (en) * 2020-02-18 2020-06-23 Oppo(重庆)智能科技有限公司 Image display method and related device
CN111324267B (en) * 2020-02-18 2021-06-22 Oppo(重庆)智能科技有限公司 Image display method and related device
CN114666490A (en) * 2020-12-23 2022-06-24 北京小米移动软件有限公司 Focusing method and device, electronic equipment and storage medium
CN114666490B (en) * 2020-12-23 2024-02-09 北京小米移动软件有限公司 Focusing method, focusing device, electronic equipment and storage medium
CN112926676A (en) * 2021-03-24 2021-06-08 成都新潮传媒集团有限公司 False target identification method and device and computer equipment
CN112926676B (en) * 2021-03-24 2022-12-13 成都新潮传媒集团有限公司 False target identification method and device and computer equipment
CN114180432A (en) * 2022-02-17 2022-03-15 深圳市海清视讯科技有限公司 Positioning method and device of elevator floor, computer equipment and system

Similar Documents

Publication Publication Date Title
EP3326360B1 (en) Image capturing apparatus and method of operating the same
KR102173123B1 (en) Method and apparatus for recognizing object of image in electronic device
RU2690748C1 (en) Electronic device and display method
RU2621626C2 (en) Method and device for controlling schedule with optical character reading device
KR20220053670A (en) Target-object matching method and apparatus, electronic device and storage medium
JP2022511217A (en) Image processing methods and equipment, electronic devices, computer-readable storage media and computer programs
CN105227838B (en) A kind of image processing method and mobile terminal
CN107071273A (en) A kind of photographing instruction sending method and device
CN108629220A (en) A kind of two dimension code reading method, apparatus and equipment
CN107609437A (en) A kind of targeted graphical code recognition methods and device
CN107133834A (en) Method for information display and device
US20120013759A1 (en) Electronic device and method for capturing images
CN108830266A (en) A kind of method, device and equipment of image recognition
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
TW202004638A (en) Bill photographing interaction method and apparatus, processing device, and client
CN108228050A (en) A kind of picture Zoom method, device and electronic equipment
TWI676113B (en) Preview method and device in iris recognition process
CN108200335A (en) Photographic method, terminal and computer readable storage medium based on dual camera
CN105391940B (en) A kind of image recommendation method and device
CN112188097B (en) Photographing method, photographing apparatus, terminal device, and computer-readable storage medium
CN106611401A (en) Method and device for storing image in texture memory
KR20150063953A (en) Apparatus and method for displaying images
CN109615171A (en) Characteristic threshold value determines that method and device, problem objects determine method and device
CN111970437A (en) Text shooting method, wearable device and storage medium
WO2021046793A1 (en) Image acquisition method and apparatus, 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
CB03 Change of inventor or designer information

Inventor after: Yang Ru

Inventor after: Wang Lei

Inventor before: Yang Ru

CB03 Change of inventor or designer information
WW01 Invention patent application withdrawn after publication

Application publication date: 20170818

WW01 Invention patent application withdrawn after publication