CN107241548A - Cursor control method, cursor control device, terminal and storage medium - Google Patents
Cursor control method, cursor control device, terminal and storage medium Download PDFInfo
- Publication number
- CN107241548A CN107241548A CN201710438243.7A CN201710438243A CN107241548A CN 107241548 A CN107241548 A CN 107241548A CN 201710438243 A CN201710438243 A CN 201710438243A CN 107241548 A CN107241548 A CN 107241548A
- Authority
- CN
- China
- Prior art keywords
- cursor
- focusing mechanism
- camera
- image
- shot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000001514 detection method Methods 0.000 claims description 16
- 238000011084 recovery Methods 0.000 claims description 6
- 230000008034 disappearance Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 2
- 230000006378 damage Effects 0.000 abstract description 11
- 230000001960 triggered effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 16
- 238000012545 processing Methods 0.000 description 7
- 208000027418 Wounds and injury Diseases 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 208000014674 injury Diseases 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 210000003128 head Anatomy 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000000571 coke Substances 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/146—Aligning or centring of the image pick-up or image-field
- G06V30/1475—Inclination or skew detection or correction of characters or of image to be recognised
- G06V30/1478—Inclination or skew detection or correction of characters or of image to be recognised of characters or characters lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
- G06V40/166—Detection; Localisation; Normalisation using acquisition arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention discloses a cursor control method, a cursor control device, a terminal and a storage medium, wherein the method comprises the following steps: when a photographing search mode of the terminal is triggered, controlling the camera and the cursor focusing device to be opened respectively; detecting whether the image shot by the camera has the biological characteristics of the human body; if so, adjusting the cursor focusing device to adjust the cursor projected by the cursor focusing device. The embodiment of the invention can prevent the harm of the highlight of the cursor to the human body when the terminal takes a picture for searching, does not influence the shooting searching function of the terminal and has convenient operation.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of cursor control method, device, terminal and storage medium.
Background technology
With the development of terminal technology, the function of terminal is more and more, wherein, the function of search of taking pictures of terminal is user's
Study is provided convenience.The function of search of taking pictures of terminal includes:Take pictures the lexical or textual analysis of searching words or phrase, and search topic pair
The answer answered, or, search for supporting education and guidance book, instructional video of teaching material etc. by scanning books bar code.Wherein, terminal
It is general targetedly to be selected using cursor when taking pictures search, the selected word of cursor or sentence are scanned for
Obtain search result.
When user's using terminal take pictures search, certain operations reason causes cursor to project on human body sometimes,
Now, because the brightness of cursor is larger, harm, the especially eyes of people easily are produced to human body.
The content of the invention
The embodiment of the present invention provides a kind of cursor control method, device, terminal and storage medium, can prevent when in use
The harm that the strong light of cursor is produced to human body.
In a first aspect, the embodiments of the invention provide a kind of cursor control method, including:
When triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism open respectively;
Detect the biological characteristic that whether there is human body in the image that the camera is shot;
If so, adjusting the cursor focusing mechanism to adjust the cursor that the cursor focusing mechanism is projected.
Second aspect, the embodiment of the present invention additionally provides a kind of cursor control device, including:
Control module, for when triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism point
Do not open;
Detection module, whether there is the biological characteristic of human body for detecting in the image that the camera is shot;
Adjusting module, for if so, adjusting what the cursor focusing mechanism was projected to adjust the cursor focusing mechanism
Cursor.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processing
Device realizes cursor control method provided in an embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer
Program, the program realizes cursor control method provided in an embodiment of the present invention when being executed by processor.
Technical scheme provided in an embodiment of the present invention, when touch terminal take pictures search pattern when, by detecting shooting
There is the biological characteristic of human body in the image that head is shot, adjust cursor focusing mechanism to adjust the light that cursor focusing mechanism is projected
Mark, when terminal takes pictures search, the harm that can prevent the strong light of cursor from being produced to human body, and do not influence taking pictures for terminal to search again
Suo Gongneng, and it is easy to operate.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of cursor control method flow chart provided in an embodiment of the present invention;
Fig. 2 is another cursor control method flow chart provided in an embodiment of the present invention;
Fig. 3 is another cursor control method flow chart provided in an embodiment of the present invention;
Fig. 4 is another cursor control method flow chart provided in an embodiment of the present invention;
Fig. 5 is a kind of cursor control device structured flowchart provided in an embodiment of the present invention;
Fig. 6 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Fig. 1 is a kind of cursor control method flow chart provided in an embodiment of the present invention, and methods described is by cursor control device
To perform.Described device is performed by software and/or hardware.Described device configuration has to take pictures in mobile phone, tablet personal computer etc. searches
In Suo Gongneng electronic equipment.Described method be applied to terminal take pictures search scene in.As shown in figure 1, the present embodiment is carried
The technical scheme of confession includes:
S110:When triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism open respectively.
In the present embodiment, terminal has take pictures search pattern and exposal model.When terminal, which is in, takes pictures search pattern,
Function with search of taking pictures;When terminal is in exposal model, with camera function.
When terminal, which is in, takes pictures search pattern, cursor selected object can be scanned for.When terminal is in mould of taking pictures
During formula, it can only take pictures, to the content in the image of acquisition without search.When triggering terminal take pictures search pattern when,
Camera and cursor focusing mechanism is controlled to open, so that camera obtains image and cursor focusing mechanism is projected cursor.Its
In, cursor focusing mechanism is disposed adjacent to the position of camera, when cursor focusing mechanism is opened, and launches laser, and project
On object search.Object search can be Chinese character or word in written etc..Cursor is used for the position for determining object search,
That is in terminal under search pattern of taking pictures, being scanned for based on cursor selected object, specifically inquired about based on selected object
Database, obtains corresponding data and shows user.The shape or size of cursor are not so limited.
In the present embodiment, when triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism difference
The order of opening is not restricted, for example, camera and cursor focusing mechanism can be controlled to open simultaneously, or can also be controlled
Opened when camera is different with cursor focusing mechanism etc..
S120:Detect the biological characteristic that whether there is human body in the image that the camera is shot.
In the present embodiment, the algorithm routine of the living things feature recognition of human body is prestored in terminal, can be by prestoring
Algorithm routine is analyzed the data in the image that gets, so that it is determined that whether there is human body in the image that camera is shot
Biological characteristic.
Or can also prestore the data of the biological characteristic of human body in terminal, by the data in camera shooting image with
The biological attribute data of the human body prestored is contrasted, so that it is determined that whether there is the biology of human body in the image that camera is shot
Feature.
In the present embodiment, the biological characteristic of human body includes face, four limbs, hair, skin etc., can also be human body its
His feature.
It should be noted that whether there is the method for human body biological characteristics not in the image shot for detection camera
Above-mentioned method is confined to, other method can also be used.
S130:If so, adjusting the cursor focusing mechanism to adjust the cursor that the cursor focusing mechanism is projected.
In the present embodiment, if there is the biological characteristic of human body in the image that camera is shot, cursor focusing mechanism is adjusted
To adjust the cursor that cursor focusing mechanism is projected.
When the biological characteristic of the human body present in the image of camera is different, to the adjustment of cursor focusing mechanism also not
Together.If for example, there is face in the image of camera, cursor focusing mechanism can be controlled to close so that cursor focusing mechanism is thrown
The cursor penetrated disappears, it is to avoid harm of the strong light of cursor to the eyes of people.
Wherein, when being adjusted to cursor focusing mechanism, the brightness of cursor can also be adjusted, it is to avoid cursor focusing mechanism weight
It is new to start the consumption excessive time.
Technical scheme provided in an embodiment of the present invention, when touch terminal take pictures search pattern when, by detecting shooting
There is the biological characteristic of human body in the image that head is shot, adjust cursor focusing mechanism to adjust the light that cursor focusing mechanism is projected
Mark, when terminal takes pictures search, the harm that can prevent the strong light of cursor from being produced to human body, and do not influence taking pictures for terminal to search again
Suo Gongneng, and it is easy to operate.
Fig. 2 is a kind of cursor control method flow chart provided in an embodiment of the present invention, right on the basis of above-described embodiment
Step " biological characteristic that whether there is human body in the image that the detection camera is shot " and step are " if so, adjustment is described
Cursor focusing mechanism is to adjust the cursor of cursor focusing mechanism projection " it is optimized.
As shown in Fig. 2 the technical scheme that the present embodiment is provided includes:
S210:When triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism open respectively.
S220:Detect and whether there is face in the image that the camera is shot.
In the present embodiment, the face in the image that camera is shot does not include the face of graphic form.To face
When being detected, face can be divided, when detecting the parts of images including face, determine the figure that camera is shot
There is face as in.Or the characteristic of face determines to whether there is face in the image shot in detection image.
For example, when including the left eye or right eye of people in the image for detecting camera shooting, determining that camera is shot
Image in there is face.
S230:If so, controlling the cursor focusing mechanism to close so that the cursor that the cursor focusing mechanism is projected disappears
Lose.
In the present embodiment, because the strong light of cursor is easily damaged to the eyes of people, in order to protect the eyes of people, when
When there is face in the image for detecting shooting, control cursor focusing mechanism is closed so that the cursor of cursor focusing mechanism projection disappears
Lose, the injury of the strong light of cursor to the eyes of people can be avoided, human body is protected.
Thus, when the exposal model of triggering terminal, there is face in the image shot by detecting camera, by cursor
Focusing mechanism is closed so that cursor disappears, and can avoid the injury of the strong light of cursor to the eyes of people, human body is protected, and
Ensure the function of search of taking pictures of terminal.
On the basis of above-described embodiment, the cursor control method that the present embodiment is provided also includes:
When detecting the face disappearance in the image that the camera is shot, the cursor focusing mechanism is controlled to beat again
Open, so that the cursor that the cursor focusing mechanism is projected selectes object search;The object search is recognized, and is searched based on described
Rope object scans for obtaining search result.
Wherein, when face disappears in the image that camera is shot, control cursor focusing mechanism is reopened, so that cursor
The cursor that focusing mechanism is projected selectes object search, and terminal is scanned for based on object search, thus, and terminal is in protection
While the eyes of people, the function of continuing search for can also be realized, the operability of terminal is improved.
It should be noted that the way of search for terminal can also be such a way:Shot when detecting camera
Image in when there is face, control cursor focusing mechanism is closed, if the image that camera is shot also has other search pair
As that can be scanned for based on the object search in image, the object search that can not be selected by cursor is scanned for.Work as light
When mark focusing mechanism is reopened, then the object search selected by cursor is scanned for.Thus, even if being deposited in the image shot
In face, terminal can be scanned for based on the object search in image in addition to face, realize the function of search of terminal.
Fig. 3 is a kind of cursor control method flow chart provided in an embodiment of the present invention, right on the basis of above-described embodiment
Step " biological characteristic that whether there is human body in the image that the detection camera is shot " and step are " if so, adjust the light
Focusing mechanism is marked to adjust the cursor projected described in the cursor focusing mechanism " it is optimized.
As shown in figure 3, technical scheme provided in an embodiment of the present invention includes:
S310:When triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism open respectively.
S320:When detecting in the image that the camera is shot in the absence of face, detect what the camera was shot
With the presence or absence of the biological characteristic in addition to face in image.
In the present embodiment, the biological characteristic in addition to face, can be finger, trunk of human body etc..For camera
Can be identical with the method for Face datection with the presence or absence of the detection method of the biological characteristic in addition to face in the image of shooting, only
Only it is that the data compared are different;Or the detection mode different from method for detecting human face can also be used.
S330:If so, adjusting the cursor focusing mechanism to adjust the bright of the cursor that the cursor focusing mechanism is projected
Degree.
In the present embodiment, when face is not present in the image that camera is shot, if being deposited in the image that camera is shot
In the biological characteristic in addition to face, adjust cursor focusing mechanism to adjust the brightness for the cursor that cursor focusing mechanism is projected.
Because the brightness of cursor is larger, and for laser, therefore when cursor is incident upon other positions in addition to face, especially
When being on the skin of people, or during personal injury position, influence easily is produced on human body.In addition to the eyes of people, human body
Other positions to the susceptibility of laser-formed cursor for eyes, it is smaller, and cursor focusing mechanism close
Close during reopening, the time that terminal system is spent is longer.So, when camera shoot image in be not present people
When there is the biological characteristic in addition to face in face, and the image of camera shooting, adjust cursor focusing mechanism to reduce cursor
The brightness for the cursor that focusing mechanism is projected.
Thus, by above-mentioned method, injury of the strong light of cursor to human body can be prevented, and work as in the image of shooting not
When there is the biological characteristic of human body, object search can be quickly selected, so as to be scanned for based on object search, search is improved
Efficiency.
On the basis of above-described embodiment, cursor control method provided in an embodiment of the present invention also includes:When detecting
When stating that biological characteristic in addition to face disappears in the image of camera shooting, by the luminance recovery of the cursor to before adjusting
Brightness.
Wherein, when being disappeared by detecting the biological characteristic in the image that camera is shot in addition to face, by cursor
Brightness of the luminance recovery to before adjusting, can be such that the brightness of cursor is adapted to external environment condition, increase cursor and external environment condition
Contrast.
Fig. 4 is a kind of cursor control method flow chart provided in an embodiment of the present invention, as shown in figure 4, the embodiment of the present invention
The technical scheme of offer includes:
S410:The function of search of taking pictures of triggering terminal, opens camera and cursor focusing mechanism.
S420:Pass through camera real-time image acquisition.
S430:Face datection is carried out to the image that camera is obtained.
S440:If detecting face, laser focusing mechanism is closed.
S450:If the face in the image that camera is obtained disappears, laser focusing mechanism is reopened.
S460:Open OCR character identification functions;
S470:The object that cursor is selected is identified, the object based on identification is scanned for.
Thus, the method provided by the present embodiment, terminal, can be in the same of the eyes of protection people when taking pictures search
When, the function of continuing search for can also be realized, the operability of terminal is improved.
Fig. 5 is a kind of structured flowchart of cursor control device provided in an embodiment of the present invention, and described device is used to perform light
Mark control method.As shown in figure 5, the cursor control device, including:Control module 510, detection module 520 and adjusting module
530。
Wherein, control module 510, for when triggering terminal take pictures search pattern when, control camera and cursor pair
Coke installation is opened respectively;
Detection module 520, whether there is the biological characteristic of human body for detecting in the image that the camera is shot;
Adjusting module 530, for being projected if so, adjusting the cursor focusing mechanism with adjusting the cursor focusing mechanism
Cursor.
Further, detection module 520, face is whether there is for detecting in the image that the camera is shot;
Adjusting module 530, for if so, controlling the cursor focusing mechanism to close so that the cursor focusing mechanism is thrown
The cursor penetrated disappears.
Further, described device also includes:
Search module 540, for when detecting the face disappearance in the image that the camera is shot, controlling the light
Mark focusing mechanism is reopened, so that the cursor that the cursor focusing mechanism is projected selectes object search;
The object search is recognized, and scans for obtaining search result based on the object search.
Further, the detection module 520, face is not present for working as to detect in the image that the camera is shot
When, detect in the image that the camera is shot with the presence or absence of the biological characteristic in addition to face;
The adjusting module, for being thrown if so, adjusting the cursor focusing mechanism with adjusting the cursor focusing mechanism
The brightness for the cursor penetrated.
Further, described device also includes:
Luminance recovery module 550, for special when detecting the biology in the image that the camera is shot in addition to face
When levying disappearance, by brightness of the luminance recovery of the cursor to before adjusting.
The present embodiment provide a kind of cursor control device, when touch terminal take pictures search pattern when, by detecting
There is the biological characteristic of human body in the image that camera is shot, adjustment cursor focusing mechanism is projected to adjust cursor focusing mechanism
Cursor, when terminal takes pictures search, the harm that can prevent the strong light of cursor from being produced to human body, and do not influence the bat of terminal again
According to function of search, and it is easy to operate.
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.Fig. 6 is shown suitable for being used for realizing this hair
The block diagram of the exemplary terminal 612 of bright embodiment.The terminal 612 that Fig. 6 is shown is only an example, should not be to of the invention real
Apply the function of example and carry out any limitation using range band.
As shown in fig. 6, terminal 612 is showed in the form of universal computing device.The component of terminal 612 can include but not limit
In:One or more processor or processing unit 616, system storage 628, connection different system component (including system
Memory 628 and processing unit 616) bus 618.
Bus 618 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Terminal 612 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by terminal
612 usable mediums accessed, including volatibility and non-volatile media, moveable and immovable medium.
System storage 628 can include the computer system readable media of form of volatile memory, for example, deposit at random
Access to memory (RAM) 630 and/or cache memory 632.Terminal 612 may further include other removable/not removable
Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 634 can be used for read-write can not
Mobile, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although not shown in Fig. 6, Ke Yiti
For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to may move non-volatile light
The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver
It can be connected by one or more data media interfaces with bus 618.Memory 628 can include the production of at least one program
Product, the program product has one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 640 with one group of (at least one) program module 642, can be stored in such as memory
In 628, such program module 642 includes but is not limited to operating system, one or more application program, other program modules
And routine data, the realization of network environment is potentially included in each or certain combination in these examples.Program module 642
Generally perform the function and/or method in embodiment described in the invention.
Terminal 612 can also be logical with one or more external equipments 614 (such as keyboard, sensing equipment, display 624)
Letter, can also enable a user to the equipment communication interacted with the terminal 612 with one or more, and/or with causing the terminal 612
Any equipment (such as network interface card, modem etc.) communication that can be communicated with one or more of the other computing device.This
Planting communication can be carried out by input/output (I/O) interface 622.Also, terminal 612 can also by network adapter 620 with
One or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communicates.Such as
Shown in figure, network adapter 620 is communicated by bus 618 with other modules of terminal 612.Although it should be understood that not showing in Fig. 6
Go out, terminal 612 can be combined and use other hardware and/or software module, included but is not limited to:It is microcode, device driver, superfluous
Remaining processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 616 is stored in program in system storage 628 by operation, thus perform various function application with
And data processing, for example realize the cursor control method that the embodiment of the present invention is provided.
That is, the processing unit is realized when performing described program:When triggering terminal take pictures search pattern when, control is taken the photograph
As head and cursor focusing mechanism are opened respectively;Detect that the biology in the image that the camera is shot with the presence or absence of human body is special
Levy;If so, adjusting the cursor focusing mechanism to adjust the cursor that the cursor focusing mechanism is projected.
The embodiment of the present invention additionally provides a kind of storage medium for including computer executable instructions.It is stored thereon with calculating
Machine program, the program realizes cursor control method provided in an embodiment of the present invention when being executed by processor.
The storage medium provided in an embodiment of the present invention for including computer executable instructions, can use one or more meters
Any combination of calculation machine computer-readable recording medium.Computer-readable medium can be computer-readable signal media or computer-readable deposit
Storage media.Computer-readable recording medium for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared ray or half
System, device or the device of conductor, or any combination above.The more specifically example of computer-readable recording medium is (non-
Exhaustive list) include:Electrical connection, portable computer diskette with one or more wires, hard disk, random access memory
Device (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, Portable, compact magnetic
Disk read-only storage (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document
In, computer-readable recording medium can be it is any include or storage program tangible medium, the program can be commanded execution
System, device or device are used or in connection.
Computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limit
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
Used by instruction execution system, device or device or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit
In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that the present invention is operated
Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++,
Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, as independent software kit execution, a portion
Divide part execution or the execution completely on remote computer or server on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (is for example carried using Internet service
Come for business by Internet connection).
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (12)
1. a kind of cursor control method, it is characterised in that including:
When triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism open respectively;
Detect the biological characteristic that whether there is human body in the image that the camera is shot;
If so, adjusting the cursor focusing mechanism to adjust the cursor that the cursor focusing mechanism is projected.
2. according to the method described in claim 1, it is characterised in that
It whether there is the biological characteristic of human body in the image that the detection camera is shot, including:
Detect and whether there is face in the image that the camera is shot;
It is described if so, adjust the cursor focusing mechanism to adjust the cursor of cursor focusing mechanism projection, including:
If so, controlling the cursor focusing mechanism to close so that the cursor that the cursor focusing mechanism is projected disappears.
3. method according to claim 2, it is characterised in that also include:
When detecting the face disappearance in the image that the camera is shot, the cursor focusing mechanism is controlled to reopen,
So that the cursor that the cursor focusing mechanism is projected selectes object search;
The object search is recognized, and scans for obtaining search result based on the object search.
4. according to the method described in claim 1, it is characterised in that
It whether there is the biological characteristic of human body in the image that the detection camera is shot, including:
When detect face is not present in the image that the camera is shot when, detect in the image that the camera is shot whether
In the presence of the biological characteristic in addition to face;
It is described if so, adjust the cursor focusing mechanism to adjust the cursor projected described in the cursor focusing mechanism, including:
If so, adjusting the cursor focusing mechanism to adjust the brightness for the cursor that the cursor focusing mechanism is projected.
5. method according to claim 4, it is characterised in that also include:
When the biological characteristic in the image for detecting the camera shooting in addition to face disappears, by the brightness of the cursor
Recover the brightness to before adjusting.
6. a kind of cursor control device, it is characterised in that including:
Control module, for when triggering terminal take pictures search pattern when, control camera and cursor focusing mechanism beat respectively
Open;
Detection module, whether there is the biological characteristic of human body for detecting in the image that the camera is shot;
Adjusting module, for if so, adjusting the cursor focusing mechanism to adjust the cursor that the cursor focusing mechanism is projected.
7. device according to claim 6, it is characterised in that
The detection module, face is whether there is for detecting in the image that the camera is shot;
The adjusting module, for if so, controlling the cursor focusing mechanism to close so that the cursor focusing mechanism is projected
Cursor disappear.
8. device according to claim 7, it is characterised in that also include:
Search module, for when detecting the face disappearance in the image that the camera is shot, controlling the cursor focusing
Device is reopened, so that the cursor that the cursor focusing mechanism is projected selectes object search;
The object search is recognized, and scans for obtaining search result based on the object search.
9. device according to claim 6, it is characterised in that
The detection module, for when detecting in the image that the camera is shot in the absence of face, detecting the shooting
With the presence or absence of the biological characteristic in addition to face in the image that head is shot;
The adjusting module, for if so, adjusting what the cursor focusing mechanism was projected to adjust the cursor focusing mechanism
The brightness of cursor.
10. device according to claim 9, it is characterised in that also include:
Luminance recovery module, for being disappeared when the biological characteristic in the image for detecting the camera shooting in addition to face
When, by brightness of the luminance recovery of the cursor to before adjusting.
11. a kind of terminal, it is characterised in that including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real
The existing cursor control method as described in any in claim 1-5.
12. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The cursor control method as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710438243.7A CN107241548B (en) | 2017-06-06 | 2017-06-06 | Cursor control method, cursor control device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710438243.7A CN107241548B (en) | 2017-06-06 | 2017-06-06 | Cursor control method, cursor control device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241548A true CN107241548A (en) | 2017-10-10 |
CN107241548B CN107241548B (en) | 2020-02-07 |
Family
ID=59987455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710438243.7A Expired - Fee Related CN107241548B (en) | 2017-06-06 | 2017-06-06 | Cursor control method, cursor control device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107241548B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108490629A (en) * | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Structured light projector and its detection method and device, image acquiring device and electronic equipment |
US11348217B2 (en) | 2018-03-12 | 2022-05-31 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Projector, detection method thereof, and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060015826A1 (en) * | 2004-07-13 | 2006-01-19 | Sony Corporation | Hard disk multimedia player and method |
CN104601917A (en) * | 2015-01-26 | 2015-05-06 | 苏州佳世达光电有限公司 | Eye protection projection method and device |
CN105657269A (en) * | 2016-01-13 | 2016-06-08 | 小天才科技有限公司 | Photographing method and device for intelligent terminal |
CN105930486A (en) * | 2016-04-29 | 2016-09-07 | 广东小天才科技有限公司 | Rapid search method and device for big data |
CN105955626A (en) * | 2016-04-29 | 2016-09-21 | 广东小天才科技有限公司 | Photographing search method and device |
-
2017
- 2017-06-06 CN CN201710438243.7A patent/CN107241548B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060015826A1 (en) * | 2004-07-13 | 2006-01-19 | Sony Corporation | Hard disk multimedia player and method |
CN104601917A (en) * | 2015-01-26 | 2015-05-06 | 苏州佳世达光电有限公司 | Eye protection projection method and device |
CN105657269A (en) * | 2016-01-13 | 2016-06-08 | 小天才科技有限公司 | Photographing method and device for intelligent terminal |
CN105930486A (en) * | 2016-04-29 | 2016-09-07 | 广东小天才科技有限公司 | Rapid search method and device for big data |
CN105955626A (en) * | 2016-04-29 | 2016-09-21 | 广东小天才科技有限公司 | Photographing search method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108490629A (en) * | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Structured light projector and its detection method and device, image acquiring device and electronic equipment |
US11348217B2 (en) | 2018-03-12 | 2022-05-31 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Projector, detection method thereof, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107241548B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11087538B2 (en) | Presentation of augmented reality images at display locations that do not obstruct user's view | |
CN110785735B (en) | Apparatus and method for voice command scenario | |
US11543888B2 (en) | Intent detection with a computing device | |
JP2019535059A5 (en) | ||
US10824890B2 (en) | Living body detecting method and apparatus, device and storage medium | |
US11848968B2 (en) | System and method for augmented reality video conferencing | |
JP2006107048A (en) | Controller and control method associated with line-of-sight | |
CN108877787A (en) | Audio recognition method, device, server and storage medium | |
CN110572716B (en) | Multimedia data playing method, device and storage medium | |
CN109471919B (en) | Zero pronoun resolution method and device | |
WO2021047069A1 (en) | Face recognition method and electronic terminal device | |
US20200103978A1 (en) | Selective detection of visual cues for automated assistants | |
US11216648B2 (en) | Method and device for facial image recognition | |
CN109784128A (en) | Mixed reality intelligent glasses with text and language process function | |
CN110096251A (en) | Exchange method and device | |
JP5077879B2 (en) | Gaze input device, gaze input method, and gaze input program | |
JP2007272534A (en) | Apparatus, method and program for complementing ellipsis of word | |
JP2016181018A (en) | Information processing system and information processing method | |
CN107241548A (en) | Cursor control method, cursor control device, terminal and storage medium | |
CN105786378B (en) | A kind of method and apparatus scaling foul papers interface | |
CN108628454B (en) | Visual interaction method and system based on virtual human | |
CN108604128B (en) | Processing method and mobile device | |
US10497280B2 (en) | Method of gesture selection of displayed content on a general user interface | |
CN110075534B (en) | Real-time voice method and device, storage medium and electronic equipment | |
CN107239209A (en) | Photographing search method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200207 |