CN107766885A - Detect the method and device of the shade film of camera - Google Patents

Detect the method and device of the shade film of camera Download PDF

Info

Publication number
CN107766885A
CN107766885A CN201710979130.8A CN201710979130A CN107766885A CN 107766885 A CN107766885 A CN 107766885A CN 201710979130 A CN201710979130 A CN 201710979130A CN 107766885 A CN107766885 A CN 107766885A
Authority
CN
China
Prior art keywords
preview image
shade film
pattern
classification
shade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710979130.8A
Other languages
Chinese (zh)
Inventor
过一
张海坡
熊达蔚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710979130.8A priority Critical patent/CN107766885A/en
Publication of CN107766885A publication Critical patent/CN107766885A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/285Selection of pattern recognition techniques, e.g. of classifiers in a multi-classifier system

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure is directed to a kind of method and device for the shade film for detecting camera.This method includes:After camera startup, preview image is obtained;The pattern of the preview image and shade film is subjected to matching treatment;In the case where the pattern of the preview image and the shade film matches, user is prompted to tear shade film.The disclosure passes through after camera starts, obtain preview image, the pattern of preview image and shade film is subjected to matching treatment, and in the case where the pattern of preview image and shade film matches, prompting user tears shade film, user is reminded in the case of shade film thus, it is possible to forget to tear camera in user, so as to avoid shade film from influenceing shooting effect.

Description

Detect the method and device of the shade film of camera
Technical field
This disclosure relates to technical field of electronic equipment, more particularly to the method and device of the shade film of detection camera.
Background technology
Before mobile device dispatches from the factory, in order to protect the camera of mobile device, shade film can be pasted on camera, with Family using play a part of before the mobile device protect camera.When user uses mobile device, easily forget to tear shooting Head shade film, cause user use mobile terminal camera function when, influence shooting effect.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method and dress of the shade film for detecting camera Put.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for the shade film for detecting camera, including:
After camera startup, preview image is obtained;
The pattern of the preview image and shade film is subjected to matching treatment;
In the case where the pattern of the preview image and the shade film matches, user is prompted to tear shade film.
In a kind of possible implementation, the pattern of the preview image and shade film is subjected to matching treatment, including:
The similarity of the preview image and template image is calculated, wherein, the template image includes the shade film Pattern;
In the case where the similarity of the preview image and the template image is more than threshold value, the preview image is determined Match with the pattern of the shade film.
In a kind of possible implementation, the pattern of the preview image and shade film is subjected to matching treatment, including:
The classification of the preview image is identified using multi-class grader;
In the case of the classification of the preview image with the classification identical of the pattern of the shade film, the preview is determined The pattern of image and the shade film matches.
In a kind of possible implementation, the pattern of the preview image and shade film is subjected to matching treatment, including:
Determine whether the preview image belongs to classification corresponding to the pattern of the shade film using two graders;
In the case where the preview image belongs to classification corresponding to the pattern of the shade film, the preview image is determined Match with the pattern of the shade film.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of device for the shade film for detecting camera, including:
Acquisition module, for after camera starts, obtaining preview image;
Matching treatment module, for the pattern of the preview image and shade film to be carried out into matching treatment;
Reminding module, in the case of matching in the pattern of the preview image and the shade film, prompt user Tear shade film.
In a kind of possible implementation, the matching treatment module includes:
Calculating sub module, for calculating the similarity of the preview image and template image, wherein, the template image bag Include the pattern of the shade film;
First determination sub-module, for being more than the situation of threshold value in the similarity of the preview image and the template image Under, determine that the pattern of the preview image and the shade film matches.
In a kind of possible implementation, the matching treatment module includes:
Submodule is identified, for identifying the classification of the preview image using multi-class grader;
Second determination sub-module, for the classification and the classification identical of the pattern of the shade film in the preview image In the case of, determine that the pattern of the preview image and the shade film matches.
In a kind of possible implementation, the matching treatment module includes:
3rd determination sub-module, for determining whether the preview image belongs to the figure of the shade film using two graders Classification corresponding to case;
4th determination sub-module, for belonging to the situation of classification corresponding to the pattern of the shade film in the preview image Under, determine that the pattern of the preview image and the shade film matches.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of device for the shade film for detecting camera, its feature exist In, including:Processor;For storing the memory of processor-executable instruction;Wherein, the processor is configured as in execution State method.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of non-transitorycomputer readable storage medium, when described When instruction in storage medium is by computing device so that processor is able to carry out the above method.
The technical scheme provided by this disclosed embodiment can include the following benefits:The disclosure in camera by opening After dynamic, preview image is obtained, the pattern of preview image and shade film is subjected to matching treatment, and in preview image and shade film In the case that pattern matches, user is prompted to tear shade film, thus, it is possible to forget to tear the shade film of camera in user In the case of remind user, so as to avoid shade film influence shooting effect.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the method for the shade film of detection camera according to an exemplary embodiment.
Fig. 2 be a kind of shade film of detection camera according to an exemplary embodiment method in shade film figure The schematic diagram of case.
Fig. 3 is the one of the method and step S12 of the shade film of a kind of detection camera according to an exemplary embodiment Exemplary flow chart.
Fig. 4 is a kind of the another of the method and step S12 of the shade film of detection camera according to an exemplary embodiment One exemplary flow chart.
Fig. 5 is a kind of the another of the method and step S12 of the shade film of detection camera according to an exemplary embodiment One exemplary flow chart.
Fig. 6 is a kind of block diagram of the device of the shade film of detection camera according to an exemplary embodiment.
Fig. 7 is a kind of the one exemplary of the device of the shade film of detection camera according to an exemplary embodiment Block diagram.
Fig. 8 is a kind of frame for being used to detect the device 800 of the shade film of camera according to an exemplary embodiment Figure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the method for the shade film of detection camera according to an exemplary embodiment.Should Method can apply to have in the terminal device of camera, for example, can apply to have the mobile phone of camera, tablet personal computer Or in the terminal device such as camera, video camera.As shown in figure 1, the method comprising the steps of S11 to step S13.
In step s 11, after camera startup, preview image is obtained.
When the camera applications in terminal device start, or camera function is called by other application, terminal device starts Camera.In the present embodiment, preview image can be obtained immediately after terminal device starts camera.Wherein, preview image The image shown in the preview interface of camera can be referred to.
In step s 12, the pattern of preview image and shade film is subjected to matching treatment.
In the present embodiment, by the way that the pattern of preview image and shade film is carried out into matching treatment, it may be determined that camera Shade film whether be torn.If the pattern of preview image and shade film matches, it can determine that shade film has been torn; If the pattern of preview image and shade film mismatches, it can determine that shade film is not torn.
Fig. 2 be a kind of shade film of detection camera according to an exemplary embodiment method in shade film figure The schematic diagram of case.As shown in Fig. 2 the pattern of shade film can be gridiron pattern.
It should be noted that although describe the pattern of shade film using chessboard grid pattern as example as above, but this area Technical staff is it is understood that the disclosure answers not limited to this.Those skilled in the art can be according to personal like and/or practical application Scene flexibly sets the pattern of shade film.
In step s 13, in the case where the pattern of preview image and shade film matches, user is prompted to tear shade Film.
As an example of the present embodiment, user can be prompted to tear shade film by way of text prompt.For example, Can be in the word of the display screen display " please first take camera shade film off and reuse camera " of terminal device.
As another example of the present embodiment, user can be prompted to tear shade film by way of voice message.Example Such as, the voice of " please first take camera shade film off and reuse camera " can be played.
The present embodiment is carried out the pattern of preview image and shade film by after camera starts, obtaining preview image Matching treatment, and in the case where the pattern of preview image and shade film matches, prompt user to tear shade film, thus, it is possible to User is reminded in the case of the shade film for forgetting to tear camera in user, so as to avoid shade film from influenceing shooting effect.
Fig. 3 is the one of the method and step S12 of the shade film of a kind of detection camera according to an exemplary embodiment Exemplary flow chart.As shown in figure 3, step S12 can include step S121 and step S122.
In step S121, the similarity of preview image and template image is calculated, wherein, template image includes shade film Pattern.
In a kind of possible implementation, template image can be prestored in terminal device, to obtain preview After image, calculate preview image and the similarity of target image prestored, so as to determine whether preview image whether with The pattern of shade film matches.
As an example of the present embodiment, can be calculated pre- according to preview image and the grey level histogram of template image Look at the similarity of image and template image.
As another example of the present embodiment, can according to the scale invariability feature of preview image and template image, Calculate the similarity of preview image and template image.
It should be noted that although with according to grey level histogram or scale invariability feature calculation preview image and template The similarity of image is as an example, describe the mode of the similarity for calculating preview image and template image as above, but this area Technical staff is it is understood that the disclosure answers not limited to this.Those skilled in the art can be according to personal like and/or practical application The concrete mode of the similarity of the flexible setup algorithm preview image of scene and template image.
In step S122, in the case where the similarity of preview image and template image is more than threshold value, preview graph is determined As the pattern with shade film matches.
, can be true if the similarity of preview image and template image is more than threshold value as an example of the present embodiment The pattern for determining preview image and shade film matches, and may thereby determine that shade film is not torn;If preview image and Prototype drawing The similarity of picture is less than or equal to threshold value, then can determine that the pattern of preview image and shade film matches, may thereby determine that Shade film has been torn.
This example is and similar to template image in preview image by calculating the similarity of preview image and template image In the case that degree is more than threshold value, determine that the pattern of preview image and shade film matches, thus, it is possible to exactly
Fig. 4 is a kind of the another of the method and step S12 of the shade film of detection camera according to an exemplary embodiment One exemplary flow chart.As shown in figure 4, step S12 can include step S123 and step S124.
In step S123, the classification of preview image is identified using multi-class grader.
In a kind of possible implementation, the multi-class classification of multiple pattern classifications can be identified with training in advance Device, so that after preview image is obtained, the classification of preview image is identified using the multi-class grader.
In step S124, in the case of the classification of preview image with the classification identical of the pattern of shade film, it is determined that in advance The pattern of image and shade film look at matches.
In a kind of possible implementation, the classification of the pattern of shade film can be prestored in terminal device, and , according to the classification of the pattern of the shade film prestored, preview image can be judged after the classification of preview image is identified Whether classification is identical with the classification of the pattern of shade film.For example, if the classification of preview image is gridiron pattern class, the pattern of shade film Classification be also gridiron pattern class, then can determine that the classification of preview image is identical with the classification of the pattern of shade film.
, can if the classification of preview image is identical with the classification of the pattern of shade film as an example of the present embodiment To determine that the pattern of preview image and shade film matches, it may thereby determine that shade film is not torn;If the class of preview image It is not different from the classification of the pattern of shade film, then it can determine that the pattern of preview image and shade film matches, so as to true Determine shade film to be torn.
Fig. 5 is a kind of the another of the method and step S12 of the shade film of detection camera according to an exemplary embodiment One exemplary flow chart.As shown in figure 5, step S12 can include step S125 and step S126.
In step s 125, determine whether preview image belongs to classification corresponding to the pattern of shade film using two graders.
In a kind of possible implementation, classification corresponding to the pattern of shade film can be identified with training in advance two Grader, after preview image is obtained, to determine whether the preview image belongs to the pattern pair of shade film using two grader The classification answered.
In step S126, in the case where preview image belongs to classification corresponding to the pattern of shade film, preview graph is determined As the pattern with shade film matches.
, can be true if preview image belongs to classification corresponding to the pattern of shade film as an example of the present embodiment The pattern for determining preview image and shade film matches, and may thereby determine that shade film is not torn;If preview image is not belonging to hide Classification corresponding to the pattern of cover film, then it can determine that the pattern of preview image and shade film matches, and may thereby determine that shade Film has been torn.
Fig. 6 is a kind of block diagram of the device of the shade film of detection camera according to an exemplary embodiment.Reference Fig. 6, the device include acquisition module 61, matching treatment module 62 and reminding module 63.
The acquisition module 61 is configured as after camera starts, and obtains preview image.
The matching treatment module 62 is configured as the pattern of preview image and shade film carrying out matching treatment.
The reminding module 63 is configured as, in the case where the pattern of preview image and shade film matches, prompting user to tear Fall shade film.
Fig. 7 is a kind of the one exemplary of the device of the shade film of detection camera according to an exemplary embodiment Block diagram.Reference picture 7:
In a kind of possible implementation, matching treatment module 62 includes calculating sub module 621 and first and determines submodule Block 622.
The calculating sub module 621 is configured as calculating the similarity of preview image and template image, wherein, template image bag Include the pattern of shade film.
First determination sub-module 622 is configured as the situation for being more than threshold value in the similarity of preview image and template image Under, determine that the pattern of preview image and shade film matches.
In a kind of possible implementation, matching treatment module 62 includes identification submodule 623 and second and determines submodule Block 624.
The identification submodule 623 is configured as the classification using multi-class grader identification preview image.
Second determination sub-module 624 is configured as classification and the classification identical of the pattern of shade film in preview image In the case of, determine that the pattern of preview image and shade film matches.
In a kind of possible implementation, matching treatment module 62 includes the 3rd determination sub-module 625 and the 4th and determined Submodule 626.
3rd determination sub-module 625 is configured as determining whether preview image belongs to the figure of shade film using two graders Classification corresponding to case.
4th determination sub-module 626 is configured as the situation for belonging to classification corresponding to the pattern of shade film in preview image Under, determine that the pattern of preview image and shade film matches.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The present embodiment is carried out the pattern of preview image and shade film by after camera starts, obtaining preview image Matching treatment, and in the case where the pattern of preview image and shade film matches, prompt user to tear shade film, thus, it is possible to User is reminded in the case of the shade film for forgetting to tear camera in user, so as to avoid shade film from influenceing shooting effect.
Fig. 8 is a kind of frame for being used to detect the device 800 of the shade film of camera according to an exemplary embodiment Figure.For example, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, put down Board device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 8, device 800 can include following one or more assemblies:Processing component 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as communicated with display, call, data, phase The operation that machine operates and record operation is associated.Processing component 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in no any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (10)

  1. A kind of 1. method for the shade film for detecting camera, it is characterised in that including:
    After camera startup, preview image is obtained;
    The pattern of the preview image and shade film is subjected to matching treatment;
    In the case where the pattern of the preview image and the shade film matches, user is prompted to tear shade film.
  2. 2. according to the method for claim 1, it is characterised in that matched the preview image with the pattern of shade film Processing, including:
    The similarity of the preview image and template image is calculated, wherein, the template image includes the pattern of the shade film;
    In the case where the similarity of the preview image and the template image is more than threshold value, the preview image and institute are determined The pattern for stating shade film matches.
  3. 3. according to the method for claim 1, it is characterised in that matched the preview image with the pattern of shade film Processing, including:
    The classification of the preview image is identified using multi-class grader;
    In the case of the classification of the preview image with the classification identical of the pattern of the shade film, the preview image is determined Match with the pattern of the shade film.
  4. 4. according to the method for claim 1, it is characterised in that matched the preview image with the pattern of shade film Processing, including:
    Determine whether the preview image belongs to classification corresponding to the pattern of the shade film using two graders;
    In the case where the preview image belongs to classification corresponding to the pattern of the shade film, the preview image and institute are determined The pattern for stating shade film matches.
  5. A kind of 5. device for the shade film for detecting camera, it is characterised in that including:
    Acquisition module, for after camera starts, obtaining preview image;
    Matching treatment module, for the pattern of the preview image and shade film to be carried out into matching treatment;
    Reminding module, in the case of matching in the pattern of the preview image and the shade film, user is prompted to tear Shade film.
  6. 6. device according to claim 5, it is characterised in that the matching treatment module includes:
    Calculating sub module, for calculating the similarity of the preview image and template image, wherein, the template image includes institute State the pattern of shade film;
    First determination sub-module, in the case of being more than threshold value in the similarity of the preview image and the template image, Determine that the pattern of the preview image and the shade film matches.
  7. 7. device according to claim 5, it is characterised in that the matching treatment module includes:
    Submodule is identified, for identifying the classification of the preview image using multi-class grader;
    Second determination sub-module, for the classification and the classification identical situation of the pattern of the shade film in the preview image Under, determine that the pattern of the preview image and the shade film matches.
  8. 8. device according to claim 5, it is characterised in that the matching treatment module includes:
    3rd determination sub-module, for determining whether the preview image belongs to the pattern pair of the shade film using two graders The classification answered;
    4th determination sub-module, in the case of belonging to classification corresponding to the pattern of the shade film in the preview image, Determine that the pattern of the preview image and the shade film matches.
  9. A kind of 9. device for the shade film for detecting camera, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as the method described in any one in perform claim requirement 1 to 4.
  10. 10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by computing device, make Processor is able to carry out in Claims 1-4 method described in any one.
CN201710979130.8A 2017-10-19 2017-10-19 Detect the method and device of the shade film of camera Pending CN107766885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710979130.8A CN107766885A (en) 2017-10-19 2017-10-19 Detect the method and device of the shade film of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710979130.8A CN107766885A (en) 2017-10-19 2017-10-19 Detect the method and device of the shade film of camera

Publications (1)

Publication Number Publication Date
CN107766885A true CN107766885A (en) 2018-03-06

Family

ID=61268903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710979130.8A Pending CN107766885A (en) 2017-10-19 2017-10-19 Detect the method and device of the shade film of camera

Country Status (1)

Country Link
CN (1) CN107766885A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469380A (en) * 2014-09-05 2016-04-06 株式会社理光 Method and device for detecting shielding against object
CN105894042A (en) * 2016-04-27 2016-08-24 北京小米移动软件有限公司 Method and apparatus for detecting whether document image is covered

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469380A (en) * 2014-09-05 2016-04-06 株式会社理光 Method and device for detecting shielding against object
CN105894042A (en) * 2016-04-27 2016-08-24 北京小米移动软件有限公司 Method and apparatus for detecting whether document image is covered

Similar Documents

Publication Publication Date Title
CN104731688B (en) Point out the method and device of reading progress
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN107832036A (en) Sound control method, device and computer-readable recording medium
CN104391711B (en) A kind of method and device that screen protection is set
CN107580129A (en) terminal state control method and device
CN104238912A (en) Application control method and application control device
CN106802741A (en) The determination method and device and mobile terminal of screen edge touch event
CN107463052A (en) Shoot exposure method and device
CN106792173A (en) Video broadcasting method and device
CN106791092A (en) The searching method and device of contact person
CN108108671A (en) Description of product information acquisition method and device
CN106503131A (en) Obtain the method and device of interest information
CN107330391A (en) Product information reminding method and device
CN107239351A (en) Method of attaching and device
CN105843503A (en) Application starting method and device as well as terminal equipment
CN106534658A (en) Method and apparatus for controlling shooting of camera and mobile terminal
CN107819740A (en) Verification method, terminal device, audio amplifier and the server of terminal device
CN104573642A (en) Face recognition method and device
CN104240274B (en) Face image processing process and device
CN106936986A (en) Application processing method and device
CN107608538A (en) Intelligent keyboard and its control method
CN106919302A (en) The method of controlling operation thereof and device of mobile terminal
CN107656616A (en) Input interface displaying method, device, electronic equipment
CN106789554A (en) The method and device of short message treatment
CN106775352A (en) The moving method of suspension key, device and equipment

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