CN104715262B - A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function - Google Patents
A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function Download PDFInfo
- Publication number
- CN104715262B CN104715262B CN201510150122.3A CN201510150122A CN104715262B CN 104715262 B CN104715262 B CN 104715262B CN 201510150122 A CN201510150122 A CN 201510150122A CN 104715262 B CN104715262 B CN 104715262B
- Authority
- CN
- China
- Prior art keywords
- intelligent label
- photo
- subject image
- object picture
- label
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
It takes pictures the invention discloses a kind of utilization and realizes the method, device and mobile terminal of intelligent label function, which comprises photo is defined as intelligent label, the intelligent label is associated with operation;When starting intelligent label identification function, starting camera acquires object picture;Judge whether object picture photo corresponding with the intelligent label is consistent;When object picture photo corresponding with the intelligent label is consistent, starting and the associated operation of the intelligent label.It is intelligent label by default photo, it is compared after shooting photo with intelligent label and executes corresponding operation in identical situation, it realizes conveniently and without additional hardware cost, solves existing intelligent label and need to increase hardware, the restricted problem of at high cost and use environment.
Description
Technical field
It takes pictures the present invention relates to mobile communication technology field more particularly to a kind of utilization and realizes the side of intelligent label function
Method, device and mobile terminal.
Background technique
There are two elements for the realization of existing smart phone intelligent label: 1, mobile phone NFC function module and NFC antenna
.2, intelligent label carries NFC function circuit and antenna, can by can only handset identity when intelligent label was close to NFC days of mobile phone
When line, the signal of handset identity to intelligent label, the shortcomings that this scheme of corresponding operation is executed according to mobile phone preparatory setting
It is that 1. mobile phones must have NFC function module and antenna, at high cost, the big .2. intelligent label of design and implementation difficulty must be band
There is an object of NFC circuit and antenna, the distance of reaction of .3 at high cost, smart phone and intelligent label are close, only several centimetres, answer
Used time has distance to limit.
Summary of the invention
It is a primary object of the present invention to propose that a kind of utilization is taken pictures to realize the method, apparatus and movement of intelligent label function
Terminal, it is intended to solve the problems, such as existing NFC label it is at high cost, using restricted.
To achieve the above object, a kind of utilization provided by the invention is taken pictures the method for realizing intelligent label function, this method
The following steps are included:
Photo is defined as intelligent label, the intelligent label is associated with operation;
When starting intelligent label identification function, starting camera acquires object picture;
Judge whether object picture photo corresponding with the intelligent label is consistent;
When object picture photo corresponding with the intelligent label is consistent, starting and the associated behaviour of the intelligent label
Make.
Further, photo is defined as intelligent label, includes: after the intelligent label is associated with operation
Photo corresponding with intelligent label is stashed.
Further, when object picture photo corresponding with the intelligent label is inconsistent, prompt mistake or
Do not react.
Further, judgment object photo photo corresponding with the intelligent label whether unanimously include:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are within the scope of the matching degree list of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is consistent.
Further, judgment object photo photo corresponding with the intelligent label whether unanimously include:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are outside the matching degree list range of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is inconsistent.
In addition, to achieve the above object, the present invention also proposes that a kind of utilization is taken pictures and realizes the device of intelligent label function, it should
Device includes:
The intelligent label is associated with by associative cell for photo to be defined as intelligent label with operation;
Start unit, for when starting intelligent label identification function, starting camera to acquire object picture;
Judging unit, it is whether consistent for judgment object photo photo corresponding with the intelligent label;
Execution unit, for starting and the intelligence when object picture photo corresponding with the intelligent label is consistent
The associated operation of label.
Further, described device further include:
Hidden unit, for photo corresponding with intelligent label to stash.
Further, described device further include:
Error handling unit, for prompting when object picture photo corresponding with the intelligent label is inconsistent
Mistake is not reacted.
Further, which is specifically used for:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are within the scope of the matching degree list of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is consistent.
Further, which is specifically used for:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are outside the matching degree list range of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is inconsistent.
It takes pictures another object of the present invention is to provide a kind of utilization and realizes the mobile terminal of intelligent label function, the movement
Terminal includes above-mentioned apparatus.
Utilization provided by the invention, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function, realizes at present
The intelligent label function being only just able to achieve by NFC technique, and compared with NFC function label, it is realized by camera function
Intelligent label advantage: do not need to add additional hardware, can be realized using mobile phone camera itself;The photograph of all shootings
Piece can be defined as label, and label setting is more flexible;The corresponding operation of label can be not limited solely to hand with user from setting
The preset template of machine, the envelop of function of triggering are more extensive;The limitation for identifying not communication distance of label, it is more flexible and convenient;
Tag recognition mode in kind can apply to the application of security fields, protect privacy of user;Solves at high cost at present, use
Restricted problem.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is that utilization provided by the invention takes pictures and realizes the implementation flow chart of the method for intelligent label function;
Fig. 4 is that utilization provided by the invention takes pictures and realizes the structure chart of the device of intelligent label function.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown
Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites
Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude
Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three
Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115
It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus
The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121
Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110
It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action
Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model
For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122
Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or
Person's interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below
Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch
Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit
153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control
Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure
Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception
Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100
Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti-
It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call
The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
As shown in figure 3, first embodiment of the invention proposes that a kind of utilization is taken pictures the method for realizing intelligent label function, packet
It includes:
In step S301, photo is defined as intelligent label, the intelligent label is associated with operation.
It should be noted that photo here refer to the photo being pre-stored in inside mobile terminal or by taking pictures after
The photo into mobile terminal is stored, by the way that photo is defined as intelligent label, which can be stored in intelligent label database
In, and photo is pre-processed, the operation such as characteristic processing, image classification, obtain the color of the image of the photo, unity and coherence in writing and
Shape feature.
Explanation is needed further exist for, operation can be including the defined proprietary operation of mobile terminal, including open
With close specific functional mode, such as sleep pattern, conference model and offline mode etc..Also it can control opening for certain programs
It opens, such as sends short message to specific object;It can also be customized operation, by the courses of action of log recording user,
Final behavior and procedure function are identified, so that the coverage area of operation is more extensive.
Explanation is needed further exist for, photo is being defined as intelligent label, the intelligent label is associated with it with operation
Afterwards, can be able to achieve step is that the photo stashes.The purpose operated in this way is the safety in order to guarantee intelligent label, is prevented
Only maloperation and malice use.
In step s 302, when starting intelligent label identification function, starting camera acquires object picture.
In step S303, judge whether object picture photo corresponding with the intelligent label is consistent.
It should be noted that judging whether object picture photo corresponding with the intelligent label unanimously includes following
Process:
Pre-processed first, pretreated purpose be in order to reduce and the complexity of subsequent algorithm and improve efficiency so that
The information for more accurately extracting object itself, without being influenced by factors such as background, placement position, light environments;Pretreatment
The specifically used background separation technology of method, by image district and background separation, thus avoid the region of not effective information into
Row feature extraction accelerates the speed of subsequent processing, improves image characteristics extraction and matched precision;Then image enhancement skill is utilized
Art, improving image quality are restored and strengthen the original structure of object;And with image binaryzation by image from greyscale image transitions
For bianry image;Image thinning is finally used, it is only a pixel that clear but non-uniform bianry image, which is converted to line width,
Dotted line image.By this series of preprocessing process, the noise in image is eliminated, turns it into a width clearly dotted line
Figure, in order to which subsequent step extracts correct characteristics of image.
Secondly, carrying out feature extraction on the basis of carrying out pretreated, handle is responsible in feature extraction can sufficiently indicate the figure
As the form of the feature numerical value of uniqueness is expressed.Retain real features as far as possible, filters out false feature.Here feature mentions
It takes including three dimensions: color, unity and coherence in writing and shape.Color characteristic is a kind of global characteristics, describes image or image-region institute
The surface nature of corresponding scenery.It is the feature based on pixel, the images or the pixel of image-region of belonging to all at this time have
Respective contribution.Extraction for color records the global distribution of color in image using color histogram method, i.e., different
Color ratio shared in entire image.
Textural characteristics are also a kind of global characteristics, it also illustrates the surface nature of image.It is different from color characteristic, texture
Feature is not based on the feature of pixel, it needs to carry out statistics calculating in the region comprising multiple pixels.Use statistics
Method carries out feature extraction and passes through that is, from the auto-correlation function of image (i.e. the energy spectrum function of image) texture feature extraction
The characteristic parameters such as fineness degree and the directionality of texture are extracted in calculating to the energy spectrum function of image.
Shape feature has two class representation methods, and one kind is contour feature, and another kind of is provincial characteristics.The contour feature of image
Mainly for the outer boundary of object, and the provincial characteristics of image is then related to entire shape area.It is used in the application of this scheme
The acquisition of boundary characteristic method, the i.e. form parameter by obtaining image to the description of boundary characteristic.Using image overall characteristic
Edge pixel is connected to a kind of method of compositing area closed boundary, basic thought is point-line duality;Boundary
Direction histogram method differential image first acquires image border, then, makes the histogram about edge size and Orientation, usually
Method be construction gradient of image and gray scale direction matrix.
Thirdly, image classification is carried out on the basis of feature extraction, for the various dimensions information that upper step is collected into, with number
Data Matching is carried out according to the image of library storage.In order to reduce search time, reduce the complexity calculated, need image with one kind
Accurate consistent method is assigned in different image libraries.In recent years, using genetic algorithm and neural network as the calculating intelligence of representative
Energy theory and technology is enriched constantly and is developed, and provides many new thinkings and work for the solution of minutiae matching problem
Tool.Such as: the Point Pattern Matching algorithm based on genetic algorithm, the algorithm define matching error first, and then search makes matching error
The smallest point correspondence, genetic algorithm has the ability of search globally optimal solution, therefore has stronger applicability.
Matched result can provide the data of a matching degree, carry out judge processing for the security level of different operation.
For the trigger condition of general mode, it is desirable that matching degree reaches between 50%-90%.I.e. with former material object in shape, color and line
Reason aspect has similarity, when matching degree data are in the corresponding matching degree data of current operation mode, then judges object
Body photo photo corresponding with intelligent label is consistent, and on the contrary then judgment object photo photo corresponding with intelligent label is inconsistent;And
Safe mode must matched precision reach 90% or more, i.e., must and former material object be the same article.For example, user
Setting direction disk is the intelligent label of vehicle-mounted mode, can start vehicle-mounted mode when user takes any a steering wheel.
When the intelligent label that user setting credit card is payment mode, complete that the credit card and original intelligence must be matched to when payment
Label setting card is same, i.e., the information such as chip, card number, validity date and verifying number on card must be the same,
Matching degree list is formed according to current operation mode with degree.
In step s 304, when object picture photo corresponding with the intelligent label is consistent, starting with it is described
The associated operation of intelligent label.
The application range of this programme can extend to security application, for privacy of user mode, or be related to privacy of user
Application function entrance, can be by being customized by the user and incidence relation in kind.After establishing connection, user enables camera pair
Quasi- association is in kind, can enter the privacy mode or enter certain specific applications.For example, the default of mobile phone can be set in user
Mode is normal mode, and for being related to privacy photo, video and audio etc. or containing the application of private data, Ke Yishe
It is set to privacy mode or privacy application.Be set by the user Starting mode be some specific carry-on articles, such as key or
Bank card.When user needs to enter the mode or in application, is directed at associated article, matching using camera.
Further, include: the step of execution after the step S301
Photo corresponding with intelligent label is stashed.
It should be noted that the purpose for hiding photo is the safety in order to guarantee intelligent label, it is hidden in particular for designing
Private and safety application, can also be to avoid consequence caused by maloperation.
Further, when object picture photo corresponding with the intelligent label is inconsistent, prompt mistake or
Do not react.
It should be noted that the step main purpose is to prevent maloperation.
Utilization provided by the invention is taken pictures the method for realizing intelligent label function, is realized and is only passed through NFC technique at present
The intelligent label function being just able to achieve, and compared with NFC function label, the intelligent label realized by camera function it is excellent
Gesture: it does not need to add additional hardware, can be realized using mobile phone camera itself;The photo of all shootings can be defined as
Label, label setting are more flexible;The corresponding operation of label can be not limited solely to the preset template of mobile phone with user from setting,
The envelop of function of triggering is more extensive;The limitation for identifying not communication distance of label, it is more flexible and convenient;Tag recognition side in kind
Formula can apply to the application of security fields, protect privacy of user;Solve the problems, such as at present it is at high cost, using restricted.
With reference to Fig. 4, takes pictures another embodiment of the present invention provides a kind of utilization and realize the device of intelligent label function, the device
Include:
The intelligent label is associated with by associative cell 41 for photo to be defined as intelligent label with operation;
Start unit 42, for when starting intelligent label identification function, starting camera to acquire object picture;
Judging unit 43, it is whether consistent for judgment object photo photo corresponding with the intelligent label;
Execution unit 44 is used for when object picture photo corresponding with the intelligent label is consistent, starting and institute
State the associated operation of intelligent label.
Further, the device further include:
Hidden unit, for photo corresponding with intelligent label to stash.
Further, the device further include:
Error handling unit, for prompting when object picture photo corresponding with the intelligent label is inconsistent
Mistake is not reacted.
Further, above-mentioned judging unit is specifically used for:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are within the scope of the matching degree list of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is consistent.
Further, above-mentioned judging unit is specifically used for:
Object picture is pre-processed, subject image is separated with background;
Extract color, unity and coherence in writing and the shape feature of the subject image;
Classify to subject image;
By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label,
Unity and coherence in writing and shape feature compare, and obtain matching degree data;
When the matching degree data are outside the matching degree list range of current operation mode, then judge the object picture with
The corresponding photo of the intelligent label is inconsistent.
Utilization provided by the invention, which is taken pictures, realizes the device of intelligent label function, realizes and only passes through NFC technique at present
The intelligent label function being just able to achieve, and compared with NFC function label, the intelligent label realized by camera function it is excellent
Gesture: it does not need to add additional hardware, can be realized using mobile phone camera itself;The photo of all shootings can be defined as
Label, label setting are more flexible;The corresponding operation of label can be not limited solely to the preset template of mobile phone with user from setting,
The envelop of function of triggering is more extensive;The limitation for identifying not communication distance of label, it is more flexible and convenient;Tag recognition side in kind
Formula can apply to the application of security fields, protect privacy of user;Solve the problems, such as at present it is at high cost, using restricted.
The present embodiment, which also provides a kind of utilization, takes pictures and realizes the mobile terminal of intelligent label function, which includes upper
State device.
Utilization provided by the invention, which is taken pictures, realizes the mobile terminal of intelligent label function, realizes and only passes through NFC at present
The intelligent label function that technology is just able to achieve, and compared with NFC function label, the intelligent label realized by camera function
Advantage: it does not need to add additional hardware, can be realized using mobile phone camera itself;The photo of all shootings can define
For label, label sets more flexible;The corresponding operation of label can be not limited solely to the preset mould of mobile phone with user from setting
The envelop of function of plate, triggering is more extensive;The limitation for identifying not communication distance of label, it is more flexible and convenient;Label in kind is known
Other mode can apply to the application of security fields, protect privacy of user;Solve at present it is at high cost, asked using restricted
Topic.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (11)
- A kind of method for realizing intelligent label function 1. utilization is taken pictures, which is characterized in that the method includes the steps:Photo is defined as intelligent label, the intelligent label is associated with operation, and different operations corresponds to different safety levels Other operating mode;When starting intelligent label identification function, starting camera acquires object picture;Judge whether object picture photo corresponding with the intelligent label is consistent;When object picture photo corresponding with the intelligent label is consistent, starting and the associated operation institute of the intelligent label are right The operating mode answered.
- 2. the method as described in claim 1, which is characterized in that it is described that photo is defined as intelligent label, the intelligence is marked Label are associated with operationPhoto corresponding with intelligent label is stashed.
- 3. the method as described in claim 1, which is characterized in that when object picture photo corresponding with the intelligent label When inconsistent, prompt mistake or do not react.
- 4. the method as described in claim 1, which is characterized in that judgment object photo photograph corresponding with the intelligent label Whether piece is consistent, comprising:Object picture is pre-processed, subject image is separated with background;Extract color, unity and coherence in writing and the shape feature of the subject image;Classify to subject image;By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label, unity and coherence in writing It is compared with shape feature, obtains matching degree data;When the matching degree data are within the scope of the matching degree list of current operation mode, then judge the object picture with it is described The corresponding photo of intelligent label is consistent.
- 5. the method as described in claim 1, which is characterized in that judgment object photo photograph corresponding with the intelligent label Piece whether unanimously include:Object picture is pre-processed, subject image is separated with background;Extract color, unity and coherence in writing and the shape feature of the subject image;Classify to subject image;By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label, unity and coherence in writing It is compared with shape feature, obtains matching degree data;When the matching degree data are outside the matching degree list range of current operation mode, then judge the object picture with it is described The corresponding photo of intelligent label is inconsistent.
- 6. a kind of utilization, which is taken pictures, realizes the device of intelligent label function, which is characterized in that described device includes:The intelligent label is associated with, and different operations pair by associative cell for photo to be defined as intelligent label with operation Answer the operating mode of different security levels;Start unit, for when starting intelligent label identification function, starting camera to acquire object picture;Judging unit, it is whether consistent for judgment object photo photo corresponding with the intelligent label;Execution unit, for starting and the intelligent label when object picture photo corresponding with the intelligent label is consistent Operating mode corresponding to associated operation.
- 7. device as claimed in claim 6, which is characterized in that described device further include:Hidden unit, for photo corresponding with intelligent label to stash.
- 8. device as claimed in claim 6, which is characterized in that described device further include:Error handling unit, for prompting mistake when object picture photo corresponding with the intelligent label is inconsistent Or it does not react.
- 9. device as claimed in claim 6, which is characterized in that the judging unit is specifically used for:Object picture is pre-processed, subject image is separated with background;Extract color, unity and coherence in writing and the shape feature of the subject image;Classify to subject image;By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label, unity and coherence in writing It is compared with shape feature, obtains matching degree data;When the matching degree data are within the scope of the matching degree list of current operation mode, then judge the object picture with it is described The corresponding photo of intelligent label is consistent.
- 10. device as claimed in claim 6, which is characterized in that the judging unit is specifically used for:Object picture is pre-processed, subject image is separated with background;Extract color, unity and coherence in writing and the shape feature of the subject image;Classify to subject image;By the color of the image of the color of the subject image, texture and shape feature photo corresponding with intelligent label, unity and coherence in writing It is compared with shape feature, obtains matching degree data;When the matching degree data are outside the matching degree list range of current operation mode, then judge the object picture with it is described The corresponding photo of intelligent label is inconsistent.
- 11. a kind of utilization, which is taken pictures, realizes the mobile terminal of intelligent label function, which is characterized in that the mobile terminal includes right It is required that 6 to 10 described in any item devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510150122.3A CN104715262B (en) | 2015-03-31 | 2015-03-31 | A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510150122.3A CN104715262B (en) | 2015-03-31 | 2015-03-31 | A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104715262A CN104715262A (en) | 2015-06-17 |
CN104715262B true CN104715262B (en) | 2019-10-08 |
Family
ID=53414572
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510150122.3A Active CN104715262B (en) | 2015-03-31 | 2015-03-31 | A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104715262B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224913A (en) * | 2015-09-01 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind of number of articles detection method and device |
WO2018023212A1 (en) | 2016-07-30 | 2018-02-08 | 华为技术有限公司 | Image recognition method and terminal |
CN110895710A (en) * | 2018-09-13 | 2020-03-20 | 上海擎感智能科技有限公司 | Article detection method of vehicle-mounted terminal |
CN109271979A (en) * | 2018-11-29 | 2019-01-25 | 郑州云海信息技术有限公司 | A kind of intelligent measurement server product stamp methods |
CN113505259A (en) * | 2021-06-28 | 2021-10-15 | 惠州Tcl云创科技有限公司 | Media file labeling method, device, equipment and medium based on intelligent identification |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1771505A (en) * | 2004-03-03 | 2006-05-10 | 卡西欧计算机株式会社 | Image pickup apparatus, electronic tag reading apparatus, and program |
CN101847154A (en) * | 2010-02-26 | 2010-09-29 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for inquiring information and method for mobile terminal to inquire information |
CN102780804A (en) * | 2012-07-27 | 2012-11-14 | 东莞宇龙通信科技有限公司 | Contact grouping and image setting method and device |
CN102866835A (en) * | 2012-09-27 | 2013-01-09 | 朱明� | Interactive information screen system |
CN103024275A (en) * | 2012-12-17 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Automatic shooting method and terminal |
CN103323455A (en) * | 2013-04-24 | 2013-09-25 | 南京文采科技有限责任公司 | Tobacco leaf grading method based on reflection, perspective and microscopic images |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120314916A1 (en) * | 2011-06-13 | 2012-12-13 | Reagan Inventions, Llc | Identifying and tagging objects within a digital image |
-
2015
- 2015-03-31 CN CN201510150122.3A patent/CN104715262B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1771505A (en) * | 2004-03-03 | 2006-05-10 | 卡西欧计算机株式会社 | Image pickup apparatus, electronic tag reading apparatus, and program |
CN101847154A (en) * | 2010-02-26 | 2010-09-29 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for inquiring information and method for mobile terminal to inquire information |
CN102780804A (en) * | 2012-07-27 | 2012-11-14 | 东莞宇龙通信科技有限公司 | Contact grouping and image setting method and device |
CN102866835A (en) * | 2012-09-27 | 2013-01-09 | 朱明� | Interactive information screen system |
CN103024275A (en) * | 2012-12-17 | 2013-04-03 | 东莞宇龙通信科技有限公司 | Automatic shooting method and terminal |
CN103323455A (en) * | 2013-04-24 | 2013-09-25 | 南京文采科技有限责任公司 | Tobacco leaf grading method based on reflection, perspective and microscopic images |
Also Published As
Publication number | Publication date |
---|---|
CN104715262A (en) | 2015-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100476B (en) | A kind of mobile terminal unlocking device and method | |
CN106231087B (en) | A kind of method and apparatus of front and back sides dual-screen display device false-touch prevention | |
CN104915582B (en) | unlocking method and device | |
CN105100491B (en) | A kind of apparatus and method for handling photo | |
CN104618605B (en) | Mobile terminal locating method and device | |
CN104715262B (en) | A kind of utilization, which is taken pictures, realizes the method, device and mobile terminal of intelligent label function | |
CN105045509B (en) | A kind of device and method of editing picture | |
CN104850799B (en) | The method and mobile terminal of a kind of data in hiding mobile terminal | |
CN105160264B (en) | Photo encryption device and method | |
CN105208211B (en) | A kind of privacy protection device, method and mobile terminal | |
CN106097284B (en) | A kind of processing method and mobile terminal of night scene image | |
CN105631370B (en) | Region screen locking method and mobile terminal | |
CN105897995B (en) | A kind of method and apparatus for adding contact information | |
CN105138880B (en) | The processing unit and method of terminal operation data | |
CN105430258B (en) | A kind of method and apparatus of self-timer group photo | |
CN105099701B (en) | A kind of method of terminal and terminal authentication | |
CN104735254B (en) | terminal screen locking method and system | |
CN105049582B (en) | A kind of save set of calling record, method and display methods | |
CN106899418A (en) | Information acquisition device and method | |
CN106412328B (en) | A kind of method and apparatus obtaining field feedback | |
CN107071321A (en) | A kind of processing method of video file, device and terminal | |
CN106570365A (en) | Application management device, mobile terminal and method | |
CN106572246A (en) | Camera opening device, terminal and camera opening method | |
CN105049610B (en) | A kind of input method and terminal | |
CN107133508A (en) | Application management method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |