CN110086990A - A kind of photographic method of terminal, device, portable terminal and storage medium - Google Patents

A kind of photographic method of terminal, device, portable terminal and storage medium Download PDF

Info

Publication number
CN110086990A
CN110086990A CN201910350869.1A CN201910350869A CN110086990A CN 110086990 A CN110086990 A CN 110086990A CN 201910350869 A CN201910350869 A CN 201910350869A CN 110086990 A CN110086990 A CN 110086990A
Authority
CN
China
Prior art keywords
terminal
detected
camera
image
judge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910350869.1A
Other languages
Chinese (zh)
Other versions
CN110086990B (en
Inventor
叶飞
何帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Recycling Technology Co Ltd
Original Assignee
Shenzhen Recycling 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 Shenzhen Recycling Technology Co Ltd filed Critical Shenzhen Recycling Technology Co Ltd
Priority to CN201910350869.1A priority Critical patent/CN110086990B/en
Publication of CN110086990A publication Critical patent/CN110086990A/en
Application granted granted Critical
Publication of CN110086990B publication Critical patent/CN110086990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The invention discloses a kind of photographic methods of terminal, comprising: starts the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;The terminal to be detected is identified in the shooting picture;Judge with the presence or absence of abnormal area in the terminal to be detected, if abnormal area is not present in the terminal to be detected, the camera shooting is controlled, to obtain image and/or video.The invention also discloses a kind of camera arrangement of terminal, portable terminal and storage mediums.

Description

A kind of photographic method of terminal, device, portable terminal and storage medium
Technical field
The present invention relates to terminal detection technique field, more specifically to a kind of photographic method of terminal, device, just Take formula terminal and storage medium.
Background technique
With the development of electronic technology and mobile Internet, various electronic products are gradually popularized in life, and electronics produces Product have become people's life or the indispensable part that works.In addition, with the improvement of people's environmental awareness, mesh The electronic product that preceding user also gradually tends to be not suitable for is recycled or is sold on second-hand market.
During being recycled to terminal, it usually needs detected to final element, to determine the value of terminal. Terminal to be recycled is voluntarily shot by user currently, having a kind of detection method of terminal and being, and will include that terminal to be recycled is specific The image and/or video of the external appearance characteristic at position are sent to testing agency and are detected.
However, the image as captured by certain customers and/or video may be not meet testing requirements, detection Mechanism image according to captured by this certain customers and/or video, which detect, can not obtain accurate detection result.
Summary of the invention
In view of this, the present invention provides a kind of photographic method of terminal, device, portable terminal and storage medium, energy It is enough that shooting picture is detected in advance before taking pictures, when the abnormal area for influencing detection is not present in terminal to be detected, Control camera is taken pictures.
In a first aspect, a kind of photographic method of terminal provided by the invention, comprising:
Start the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
The terminal to be detected is identified in the shooting picture;
Judge with the presence or absence of abnormal area in the terminal to be detected, if exceptions area is not present in the terminal to be detected Domain controls the camera shooting, then to obtain image and/or video.
Optionally, if there are abnormal area on the mobile terminal, refuse to control the camera shooting.
Optionally, further includes: prompt icon and/or text information and/or suggestion voice are generated, to indicate that user adjusts institute Camera is stated to come so that there is no abnormal areas in the terminal to be detected.
Optionally, the judgement terminal to be detected is specifically included with the presence or absence of abnormal area:
Judge that retroreflective regions, then refuse to take pictures if it exists with the presence or absence of retroreflective regions in the terminal to be detected.
Optionally, the judgement terminal to be detected is specifically included with the presence or absence of abnormal area:
Judge that inverted image region, then refuse to take pictures if it exists with the presence or absence of inverted image region in the terminal to be detected.
Optionally, described to identify and judge to specifically include in the first image with the presence or absence of inverted image:
It obtains multiple and continuously intercepts the first obtained image within a preset period of time, and multiple first images are carried out abnormal The detection in region;
Judge whether the shape of abnormal area in multiple first images and the position relative to terminal to be detected are not identical, If so, judging that there are inverted images in the first image.
Optionally, the judgement terminal to be detected is specifically included with the presence or absence of abnormal area:
Judge that shadow region, then refuse to take pictures if it exists with the presence or absence of shadow region in the terminal to be detected.
Second aspect, a kind of camera arrangement of terminal provided by the invention, comprising:
Starting module, for starting the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected Face;
Identification module, for identifying the terminal to be detected in the shooting picture;
Judgment module, for judging with the presence or absence of abnormal area in the terminal to be detected, if in the terminal to be detected There is no abnormal areas, then the camera shooting are controlled, to obtain image and/or video.
The third aspect, a kind of portable terminal provided by the invention, including processor and can for storing the processor The memory executed instruction;Wherein, the processor makes the portable terminal for calling the instruction stored in the memory End executes either as described in relation to the first aspect method.
Fourth aspect, a kind of computer readable storage medium provided by the invention, in the computer readable storage medium It is stored with instruction, described instruction is executed by the portable terminal, realizes either as described in relation to the first aspect method.
The invention has the following advantages:
The present invention provides a kind of photographic method of terminal, device, portable terminal and storage mediums, can be before taking pictures Shooting picture is detected in advance, there is no when the abnormal area for influencing detection, is just controlling camera in terminal to be detected It takes pictures.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of flow diagram of the photographic method of terminal provided in an embodiment of the present invention;
Fig. 2 is that there are the schematic diagrames of retroreflective regions in a kind of terminal provided in an embodiment of the present invention;
Fig. 3 is that there are the schematic diagrames in inverted image region in a kind of terminal front side provided in an embodiment of the present invention;
Fig. 4 is that there are the schematic diagrames in inverted image region on a kind of terminal back side provided in an embodiment of the present invention;
Fig. 5 is that there are another schematic diagrames in inverted image region on a kind of terminal back side provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the camera arrangement of terminal provided in an embodiment of the present invention.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail A specific embodiment of the invention.
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
The terms such as " first " of the embodiment of the present invention, " second ", only difference the relevant technologies feature, do not indicate successively suitable Sequence.
Through present inventor the study found that during being recycled to terminal, it usually needs to final element into Row detection, to determine the value of terminal.Currently, having a kind of detection method of terminal is that terminal to be recycled is voluntarily shot by user, And by include terminal privileged site to be recycled external appearance characteristic image and/or video be sent to testing agency and detect.
However, since different users is when taking pictures, due to caused by shooting environmental, captured obtained image and/or view May there are some abnormal areas (such as retroreflective regions, shadow region etc.), these abnormal areas in frequency, in terminal to be detected Influence whether detection effect when terminal to be detected detects in testing agency, testing agency's image according to captured by this certain customers And/or video is when being detected, it is difficult to obtain accurate detection and need to take pictures again as a result, having often led to user, waste The time of user and the experience for affecting user.
In view of this, the embodiment of the invention provides a kind of photographic method of terminal, device, portable terminal and storages to be situated between Matter in advance can detect shooting picture before taking pictures, and there is no the abnormal areas for influencing detection in terminal to be detected When, it just controls camera and takes pictures.
The photographic method of terminal provided in an embodiment of the present invention is applied to portable terminal, wherein the portable terminal The including but not limited to electronic equipments such as mobile phone, tablet computer, notebook, portable electronic device (PDA).The portable terminal It include that can shoot and store image and/or video.The portable terminal includes communication component, specific communication component Including wired communication component and/or wireless communication components.Wherein wire communication component include but is not limited to plain conductor, optical fiber, The component of the tangible medias such as coaxial cable, cable, telephone wire transmission information;Wireless communication is to carry out space biography using wireless signal Defeated communication mode, include but is not limited to be 3G (third generation communication), 4G (forth generation communication), 5G (the 5th Dai Tongxin) network, WiFi network (WirelessFidelity, the WLAN based on IEEE802.11b standard), Bluetooth (bluetooth) etc. Communication mode.
As shown in FIG. 1, FIG. 1 is a kind of flow diagrams of the photographic method of terminal provided in an embodiment of the present invention.
In a kind of exemplary arrangement, a kind of photographic method of terminal provided in an embodiment of the present invention, comprising:
S101, the camera for starting camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
Wherein, the camera terminal is portable terminal, which is that user is used to shoot terminal to be detected.
A kind of illustrative embodiment is, terminal to be detected described in the embodiment of the present invention is electronic product, the electricity Sub- product includes but is not limited to mobile phone, smart phone, portable electronic device, tablet computer, MP4, notebook, super Electronic equipments such as sheet, personal digital assistant (PDA) etc..
It should be noted that it is described include to photo terminal image shooting picture refer to camera terminal camera start The image frame captured afterwards, is not the photo having been taken, which is to be followed by camera terminal camera shooting Head is mobile and changes.
S102, the terminal to be detected is identified in the shooting picture;
A kind of illustrative scheme (is carried out for example, by using neural network by modes such as image recognition or images match Image recognition), identify in shooting picture to photo terminal.Specifically, one can be pre-established for image recognition Neural network model, inputs a large amount of terminal image then to be trained to the neural network model, finally by by the bat It takes the photograph picture to be input in trained neural network, the identification of terminal to be detected is realized by neural network.
S103, judge with the presence or absence of abnormal area in the terminal to be detected, if there is no different in the terminal to be detected Normal region controls the camera shooting, then to obtain image and/or video.
It is understood that the image and/or video taken pictures due to user are available to testing agency, by detection machine Structure detects the terminal to be detected in image and/or video by modes such as image recognition or manual identifieds, with identification to The defects of detection terminal whether there is broken screen, scratch, collide with, be recessed, finally obtains the shape for assessing terminal value to be detected State information.Therefore, it in order to accurately recognize terminal to be detected with the presence or absence of there is the defect that will affect terminal value to be detected, needs Guarantee that the image for including terminal to be detected and/or video meet certain requirements.
For example, testing agency artificial intelligence in a manner of image recognition to be detected to terminal to be detected when (such as thering is the detection terminal of detection algorithm to be detected by operation), it usually needs to be detected in image and/or video Terminal is occupy straight and evenly in image and/or video, and each position is clear and legible in terminal to be detected recognizes, in order to examine Terminal is surveyed to detect the defect in terminal to be detected.Obviously, when there are some on the image and/or video of terminal to be detected Can cover its appearance or when influencing the abnormal area that its appearance is normally shown, detection terminal is actually difficult to these images And/or the terminal to be detected in video is effectively detected.Therefore, in order to avoid detection terminal can not accurately obtain it is to be detected The testing result of terminal and the appraisal for influencing terminal to be detected, can be before the image and/or video for shooting terminal to be detected first Judge that there is no different on determining terminal to be detected with the presence or absence of will affect its abnormal area normally detected in terminal to be detected When normal region, then controls camera and take pictures.Wherein, abnormal area is specifically as follows retroreflective regions, inverted image region and shadow region Domain etc. when these regions are appeared in terminal to be detected, can all influence normal detection of the detection terminal to terminal to be detected.
It is worth noting that, in embodiments of the present invention, starting the process that camera terminal camera is shot in user In, shooting picture captured by camera is detected automatically as camera terminal, when shooting picture meets preset requirement It waits, terminal can issue an instruction to control camera automatic camera, to take pictures instead of the manual click keys of user, complete to current The shooting of shooting picture.It is clapped automatically by detecting shooting face face automatically by camera terminal, and after shooting picture detection is qualified According to, it is ensured that the image and/or video taken pictures are the shooting picture of current detection qualification, avoid the manual point of user When hitting key and taking pictures, it is easy since the hand for holding camera terminal is mobile or touches and clicks the finger shake of camera terminal screen key And there is any discrepancy for the shooting picture for causing the picture currently taken pictures qualified with detection.In this way, realize automatic clap by camera terminal According to, on the one hand ensure that the shooting picture taken pictures is met the requirements, on the other hand have without user take pictures it is additional Operation, optimizes user experience.
It should be noted that the detection terminal, which can be, is different from the one of camera terminal in a kind of exemplary arrangement The terminal for carrying out terminal detection is planted, such as operation has the terminal etc. of detection algorithm, camera terminal is obtained in shooting The image and/or video of terminal to be detected, can be by the image of terminal to be detected and/or video by way of sending or uploading It is supplied to detection terminal, to carry out the detailed detection of next step.
In another exemplary arrangement, the detection terminal and the camera terminal can be the same terminal, that is, clap Terminal is taken the photograph after shooting obtains the image and/or video of terminal to be detected, continues the detailed detection of next step.
In a kind of exemplary arrangement, if refusing to control the camera there are abnormal area on the mobile terminal Shooting, to obtain image and/or video.
Specifically, the refusal controls the camera shooting, to obtain image and/or video may include: that refusal connects Receive photographing instruction or refusal automatic camera.I.e. user can not by click camera terminal on take pictures button control camera terminal into Row is taken pictures, and camera terminal can refuse user by clicking photographing instruction transmitted by button of taking pictures;It can oneself in camera terminal It moves in the case where taking pictures, camera terminal is automatic there are when abnormal area, then not executing on detecting the terminal to be detected It takes pictures.The setting that the camera shooting is controlled by refusal can guarantee that user when shooting terminal to be detected, claps Take out come image and/or video all meet testing requirements, avoid user by do not meet testing requirements image and/or Video is detected terminal and retracts after being sent to detection terminal due to not meeting testing requirements.
In a kind of exemplary arrangement, the photographic method of terminal provided in an embodiment of the present invention further include: generate prompt figure Mark and/or text information and/or suggestion voice are come with indicating that user adjusts the camera so that in the terminal to be detected not There are abnormal areas.
For example, in detecting shooting picture in terminal to be detected there are when abnormal area, generated at abnormal area "!" Prompt icon allow user to avoid end to be detected by adjusting camera to prompt user to have abnormal area herein Occurs abnormal area on end.In another example there are when abnormal area in terminal to be detected in detecting shooting picture, can with The text information for such as " asking dollying head, guarantee do not have abnormal area in terminal " is generated on the camera terminal at family and/or is led to The loudspeaker of camera terminal is crossed to play the suggestion voice for such as " asking dollying head, guarantee do not have abnormal area in terminal ", Come prompt user adjust camera, to avoid abnormal area occur in terminal to be detected.
In a kind of exemplary arrangement, the judgement terminal to be detected is specifically included with the presence or absence of abnormal area:
Judge that retroreflective regions, then refuse to take pictures if it exists with the presence or absence of retroreflective regions in the terminal to be detected.
It can be referring to Fig.2, Fig. 2 be that there are the schematic diagrames of retroreflective regions in a kind of terminal provided in an embodiment of the present invention;It is aobvious So, in Fig. 2, other than retroreflective regions, other positions of terminal to be detected can be easily with the presence or absence of the defects of broken screen, recess Ground detected, and retroreflective regions are then as vast expanse of whiteness, and can not be obtained by image detection, which whether there is at retroreflective regions, has Defect.Therefore, it is detected in shooting picture there are that when retroreflective regions, should refuse to take pictures in terminal to be detected, to avoid inspection Retroreflective regions can not effectively be detected during survey.
A kind of illustrative scheme is can be detected by the way of image recognition or images match to retroreflective regions Identification.For example, being identified using retroreflective regions of the neural network to terminal to be detected in shooting picture.It specifically, can be pre- The photo that a large amount of shootings have different terminals is first collected, can be in these photos by manually being carried out under various environment or angle Shooting, to simulate the true shooting environmental of terminal to be detected in shooting picture, and exist in the terminal in these photos Certain retroreflective regions, for different photos, retroreflective regions are likely to be present on the different position of terminal.It is collecting To after a large amount of photos, the retroreflective regions of terminal in these photos are passed through and are manually marked.Then, establishing can be used for image The neural network model of identification, and the photo of these marked retroreflective regions is inputted in neural network model and is trained, Obtain trained neural network model.Finally, the shooting picture is inputted in trained neural network model, by nerve Network model identifies the retroreflective regions of terminal in the shooting picture.
In a kind of exemplary arrangement, the judgement terminal to be detected is specific with the presence or absence of abnormal area further include:
Judge that inverted image region, then refuse to take pictures if it exists with the presence or absence of inverted image region in the terminal to be detected.
It can be that there are the signals in inverted image region in a kind of terminal front side provided in an embodiment of the present invention refering to Fig. 3, Fig. 3 Figure;It is understood that show that screen occupies most of position on the front of terminal, and most display screen is just Often, there is certain " mirror " effect in the case where putting out screen, can reflection light, to show the inverted image of people or object view elephant.And user When taking pictures, often and terminal to be detected is directed at by hand-held camera terminal and is shot, the display of terminal to be detected Screen is easy to show the inverted image of the hand of user or camera terminal, the even inverted image of other objects etc., these inverted images are same Sample can generate large effect to the detection effect of detection terminal.Therefore, it detects in shooting picture and is deposited in terminal to be detected It at inverted image region, should refuse to take pictures, terminal to be detected can not effectively be detected to avoid in detection process.
In a kind of exemplary arrangement, the identification simultaneously judges to specifically include in the first image with the presence or absence of inverted image: It obtains multiple and continuously intercepts the first obtained image within a preset period of time, and multiple first images are carried out with the inspection of abnormal area It surveys;Judge whether the shape of abnormal area in multiple first images and the position relative to terminal to be detected are not identical, if so, Then judge that there are inverted images in the first image.
It is understood that the formation basic theory in inverted image region is similar with the scene formation basic theory in mirror, it is clear that be detected The scene (such as shape, size of inverted image etc.) of the position in inverted image region and inverted image can be with terminal to be detected in terminal Mobile scenery either opposite with terminal to be detected is mobile and changes, and therefore, can be changed based on inverted image region, can To be identified to inverted image region.For example, can be a kind of terminal back provided in an embodiment of the present invention refering to Fig. 4 and Fig. 5, Fig. 4 There are the schematic diagrames in inverted image region on face;Fig. 5 is that there are inverted image regions on a kind of terminal back side provided in an embodiment of the present invention Another schematic diagram;Wherein, in figures 4 and 5, there is the terminal of camera terminal in terminal to be detected, and falling in Fig. 4 and Fig. 5 It is different when the domain of shadow zone, inverted image region in Fig. 4 terminal to be detected position to the left and inverted image region area it is smaller, Fig. 5 In inverted image region is at terminal medium position to be detected and inverted image region area is larger;In addition, in Fig. 4 and Fig. 5 inverted image scape As being also inconsistent.
It is worth noting that, for most of terminal to be detected, since there are display screens for terminal front side to be detected Curtain, terminal front side to be detected can be easy that there are inverted image regions;And it is directed to part terminal to be detected, this part terminal to be detected The back side may be made of more special material, such as ceramics, glass, metal etc., lead to the back of this part terminal to be detected Face is also easy that there are inverted image regions;Therefore, during atual detection, in addition to the direct picture to terminal to be detected carries out inverted image The detection in region, it is also necessary to the detection in inverted image region is carried out to the back side image of terminal to be detected.
In a kind of exemplary arrangement, the judgement terminal to be detected is specific with the presence or absence of abnormal area further include: Judge that shadow region, then refuse to take pictures if it exists with the presence or absence of shadow region in the terminal to be detected.
It is understood that when user holds camera terminal and shoots to terminal to be detected, it may be due to shooting Light is poor in environment or user has blocked the reasons such as the light projected in terminal to be detected, can be in terminal shape to be detected At certain shadow region, for the shadow region in shooting picture, contrast and brightness are poor, and detection terminal is difficult to needle It is effectively detected, therefore, is also needed when detecting shadow region, refusal is taken pictures, to avoid in detection process Terminal to be detected can not effectively be detected.
A kind of illustrative scheme is can be detected by the way of image recognition or images match to shadow region Identification.For example, being identified using shadow region of the neural network to terminal to be detected in shooting picture.It specifically, can be pre- The photo that a large amount of shootings have different terminals is first collected, can be in these photos by manually being carried out under various environment or angle Shooting, to simulate the true shooting environmental of terminal to be detected in shooting picture, and exist in the terminal in these photos Certain shadow region, for different photos, shadow region is likely to be present on the different position of terminal.It is collecting To after a large amount of photos, the shadow region of terminal in these photos is passed through and is manually marked.Then, establishing can be used for image The neural network model of identification, and the photo of these marked shadow regions is inputted in neural network model and is trained, Obtain trained neural network model.Finally, the shooting picture is inputted in trained neural network model, by nerve Network model identifies the shadow region of terminal in the shooting picture.
It can be a kind of structural schematic diagram of the camera arrangement of terminal provided in an embodiment of the present invention refering to Fig. 6, Fig. 6.
A kind of camera arrangement of terminal provided in an embodiment of the present invention, comprising:
Starting module 601, for starting the camera of camera terminal, and acquisition includes the shooting of terminal image to be detected Picture;
Identification module 602, for identifying the terminal to be detected in the shooting picture;
Judgment module 603, for judging with the presence or absence of abnormal area in the terminal to be detected, if the terminal to be detected It is upper that abnormal area is not present, then the camera shooting is controlled, to obtain image and/or video.
Optionally, the judgment module is also used to: if there are abnormal areas on the mobile terminal, being refused described in control Camera shooting, to obtain image and/or video.
Optionally, described device further include:
Cue module, shadow generation prompt icon and/or text information and/or suggestion voice, to indicate that user adjusts institute Camera is stated to come so that there is no abnormal areas in the terminal to be detected.
Optionally, the judgment module is specifically used for:
Judge that retroreflective regions, then refuse to take pictures if it exists with the presence or absence of retroreflective regions in the terminal to be detected.
Optionally, the judgment module is specifically also used to:
Judge that inverted image region, then refuse to take pictures if it exists with the presence or absence of inverted image region in the terminal to be detected.
Optionally, described to identify and judge to specifically include in the first image with the presence or absence of inverted image:
It obtains multiple and continuously intercepts the first obtained image within a preset period of time, and multiple first images are carried out abnormal The detection in region;
Judge whether the shape of abnormal area in multiple first images and the position relative to terminal to be detected are not identical, If so, judging that there are inverted images in the first image.
Optionally, the judgment module is specifically also used to:
Judge that shadow region, then refuse to take pictures if it exists with the presence or absence of shadow region in the terminal to be detected.
The embodiment of the invention also provides a kind of portable terminal, including processor and can be held for storing the processor The memory of row instruction;Wherein, the processor makes the portable terminal for calling the instruction stored in the memory It executes such as either above-mentioned method.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited in the computer readable storage medium Instruction is contained, described instruction is executed by the portable terminal, is realized such as either above-mentioned method.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member, module and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These function It can be implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional skill Art personnel can use different methods to achieve the described function each specific application, but this realization should not be recognized It is beyond the scope of this invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, it can be with It realizes by another way.For example, device described above/terminal device embodiment is schematically, for example, the mould The division of block or unit is a kind of logical function partition, and there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable Jie Matter may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, Magnetic disk, CD, computer storage, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and electricity Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of photographic method of terminal characterized by comprising
Start the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
The terminal to be detected is identified in the shooting picture;
Judge with the presence or absence of abnormal area in the terminal to be detected, if abnormal area is not present in the terminal to be detected, The camera shooting is controlled, to obtain image and/or video.
2. the photographic method of terminal according to claim 1, which is characterized in that if there are exceptions areas on the mobile terminal Domain then refuses to control the camera shooting.
3. the photographic method of terminal according to claim 2, which is characterized in that further include: generate prompt icon and/or text This information and/or suggestion voice are come with indicating that user adjusts the camera so that there is no abnormal in the terminal to be detected Region.
4. the photographic method of terminal according to claim 2, which is characterized in that described whether to judge the terminal to be detected There are abnormal areas to specifically include:
Judge that retroreflective regions, then refuse to take pictures if it exists with the presence or absence of retroreflective regions in the terminal to be detected.
5. the photographic method of terminal according to claim 2, which is characterized in that described whether to judge the terminal to be detected There are abnormal areas to specifically include:
Judge that inverted image region, then refuse to take pictures if it exists with the presence or absence of inverted image region in the terminal to be detected.
6. the photographic method of terminal according to claim 5, which is characterized in that the identification simultaneously judges the first image In specifically included with the presence or absence of inverted image:
It obtains multiple and continuously intercepts the first obtained image within a preset period of time, and abnormal area is carried out to multiple first images Detection;
Judge whether the shape of abnormal area in multiple first images and the position relative to terminal to be detected are not identical, if It is then to judge that there are inverted images in the first image.
7. the photographic method of terminal according to claim 2, which is characterized in that described whether to judge the terminal to be detected There are abnormal areas to specifically include:
Judge that shadow region, then refuse to take pictures if it exists with the presence or absence of shadow region in the terminal to be detected.
8. a kind of camera arrangement of terminal characterized by comprising
Starting module, for starting the camera of camera terminal, and acquisition includes the shooting picture of terminal image to be detected;
Identification module, for identifying the terminal to be detected in the shooting picture;
Judgment module, for judging with the presence or absence of abnormal area in the terminal to be detected, if not deposited in the terminal to be detected In abnormal area, then the camera shooting is controlled, to obtain image and/or video.
9. a kind of portable terminal, which is characterized in that including processor and for storing depositing for the processor-executable instruction Reservoir;Wherein, the processor makes the portable terminal execute such as right for calling the instruction stored in the memory It is required that method either described in 1-7.
10. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, Described instruction is executed by the portable terminal, realizes the method either as described in claim 1-7.
CN201910350869.1A 2019-04-28 2019-04-28 Terminal photographing method and device, portable terminal and storage medium Active CN110086990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910350869.1A CN110086990B (en) 2019-04-28 2019-04-28 Terminal photographing method and device, portable terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910350869.1A CN110086990B (en) 2019-04-28 2019-04-28 Terminal photographing method and device, portable terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110086990A true CN110086990A (en) 2019-08-02
CN110086990B CN110086990B (en) 2021-01-12

Family

ID=67417399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910350869.1A Active CN110086990B (en) 2019-04-28 2019-04-28 Terminal photographing method and device, portable terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110086990B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364911A (en) * 2021-06-11 2021-09-07 上海兴容信息技术有限公司 Detection method and system for preset terminal
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369248A (en) * 2013-07-20 2013-10-23 厦门美图移动科技有限公司 Method for photographing allowing closed eyes to be opened
CN103501410A (en) * 2013-10-08 2014-01-08 百度在线网络技术(北京)有限公司 Reminding method and device of shooting as well as generation method and device of detection mode
CN105933607A (en) * 2016-05-26 2016-09-07 维沃移动通信有限公司 Photographing effect adjusting method of mobile terminal and mobile terminal
CN105959543A (en) * 2016-05-19 2016-09-21 努比亚技术有限公司 Shooting device and method of removing reflection
CN106412321A (en) * 2016-10-31 2017-02-15 维沃移动通信有限公司 Image processing method and mobile terminal
CN106657759A (en) * 2016-09-27 2017-05-10 奇酷互联网络科技(深圳)有限公司 Anti-eye closing photographing method and anti-eye closing photographing device
CN107743195A (en) * 2017-10-09 2018-02-27 惠州Tcl移动通信有限公司 A kind of photographic method, mobile terminal and storage medium
EP3297269A1 (en) * 2015-05-12 2018-03-21 Hangzhou Hikvision Digital Technology Co., Ltd. Image acquisition method and device, and video monitoring method and system
CN208488395U (en) * 2018-06-15 2019-02-12 信义节能玻璃(四川)有限公司 Glass appearance detection device
CN109345691A (en) * 2018-07-23 2019-02-15 深圳回收宝科技有限公司 A kind of method, portable terminal and the storage medium of electronic product recycling
CN109512402A (en) * 2018-11-09 2019-03-26 吉林大学 The method of the accurate medical human infrared thermal imaging of short distance various dimensions

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369248A (en) * 2013-07-20 2013-10-23 厦门美图移动科技有限公司 Method for photographing allowing closed eyes to be opened
CN103501410A (en) * 2013-10-08 2014-01-08 百度在线网络技术(北京)有限公司 Reminding method and device of shooting as well as generation method and device of detection mode
EP3297269A1 (en) * 2015-05-12 2018-03-21 Hangzhou Hikvision Digital Technology Co., Ltd. Image acquisition method and device, and video monitoring method and system
CN105959543A (en) * 2016-05-19 2016-09-21 努比亚技术有限公司 Shooting device and method of removing reflection
CN105933607A (en) * 2016-05-26 2016-09-07 维沃移动通信有限公司 Photographing effect adjusting method of mobile terminal and mobile terminal
CN106657759A (en) * 2016-09-27 2017-05-10 奇酷互联网络科技(深圳)有限公司 Anti-eye closing photographing method and anti-eye closing photographing device
CN106412321A (en) * 2016-10-31 2017-02-15 维沃移动通信有限公司 Image processing method and mobile terminal
CN107743195A (en) * 2017-10-09 2018-02-27 惠州Tcl移动通信有限公司 A kind of photographic method, mobile terminal and storage medium
CN208488395U (en) * 2018-06-15 2019-02-12 信义节能玻璃(四川)有限公司 Glass appearance detection device
CN109345691A (en) * 2018-07-23 2019-02-15 深圳回收宝科技有限公司 A kind of method, portable terminal and the storage medium of electronic product recycling
CN109512402A (en) * 2018-11-09 2019-03-26 吉林大学 The method of the accurate medical human infrared thermal imaging of short distance various dimensions

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364911A (en) * 2021-06-11 2021-09-07 上海兴容信息技术有限公司 Detection method and system for preset terminal
CN113364911B (en) * 2021-06-11 2023-03-07 上海兴容信息技术有限公司 Detection method and system for preset terminal
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110086990B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN106937045B (en) Display method of preview image, terminal equipment and computer storage medium
CN110572711B (en) Video cover generation method and device, computer equipment and storage medium
CN108234873A (en) A kind of method and apparatus for obtaining image
CN112162671A (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN106254682A (en) A kind of photographic method and mobile terminal
CN106416222A (en) Real-time capture exposure adjust gestures
CN110992327A (en) Lens contamination state detection method and device, terminal and storage medium
US20210081093A1 (en) Mobile terminal and control method therefor
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN109639969A (en) A kind of image processing method, terminal and server
CN110084801A (en) A kind of detection method of terminal screen, device, portable terminal and storage medium
CN110086991A (en) Image pickup method, device, portable terminal and the storage medium of terminal detection image
CN106664366A (en) Image processing device, image capturing apparatus, image processing method, and program
CN109814775B (en) Menu item adjusting method and device and terminal
CN104867112B (en) Photo processing method and device
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN109167893A (en) Shoot processing method, device, storage medium and the mobile terminal of image
EP4047549A1 (en) Method and device for image detection, and electronic device
CN110086990A (en) A kind of photographic method of terminal, device, portable terminal and storage medium
CN115525140A (en) Gesture recognition method, gesture recognition apparatus, and storage medium
CN103873759B (en) A kind of image pickup method and electronic equipment
CN109561255B (en) Terminal photographing method and device and storage medium
CN110086921B (en) Method and device for detecting performance state of terminal, portable terminal and storage medium
CN109639981A (en) A kind of image capturing method and mobile terminal
CN106060383A (en) Image obtaining method and system

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
GR01 Patent grant
GR01 Patent grant