Abstract:
An electronic apparatus includes a lighting device, an imaging device, and a photographing system. The lighting device emits visible light. The imaging device views a subject. Prior to an image capture, the photographing system recognizes blocking of a bright light by a subject&#39;s hand or arm, where the bright spot of light and the photographing system controls the bright light to switch off and immediately capture an image.

Description:
TECHNICAL FIELD  
       [0001]    The disclosure generally relates to photographing technologies, and particularly, to a system and method for photographing and an electronic apparatus using the photographing system. 
       DESCRIPTION OF RELATED ART  
       [0002]    A photographing device can employ a self-timer to take a picture automatically. However, a user often fails to make a good preparation for being shot by the self-timer because an accurate shooting moment of the self-timer is difficult to predict and be ready for. 
         [0003]    Therefore, it is desirable to provide a means, which can overcome the above-mentioned problems. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0004]    Many aspects of the disclosure can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. 
           [0005]      FIG. 1  is a block diagram of one embodiment of an electronic apparatus. 
           [0006]      FIG. 2  is a flowchart of an exemplary embodiment of a photographing method. 
       
    
    
     DETAILED DESCRIPTION 
       [0007]    The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.” 
         [0008]    In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable median include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives. 
         [0009]      FIG. 1  is a block diagram of one embodiment of an electronic apparatus  1 . The electronic apparatus  1  includes a lighting device  12 , an imaging device  13 , a storage device  14 , a photographing system  10 , and at least one processor  15 . The lighting device  12 , the imaging device  13 , the storage device  14 , and the at least one processor  15  are directly or indirectly electronically connected, for data exchange. In this embodiment, the electronic apparatus  1  may be, but is not limited to, a camera or a mobile intelligent terminal with a photographing function, such as a tablet computer or a cellular phone. 
         [0010]    The imaging device  13  acquires an image of a subject being shot. The image can be a latent image formed on a negative film or represented by data from an image sensor. A number of photographing parameters of the imaging device  13 , for example a focal length, an aperture value, a shutter speed, an exposure mode, and so forth, can be adjusted according to ambient light and a position of the subject. In this embodiment, the imaging device  13  is a camera module having a group of imaging lens and an imaging sensor. 
         [0011]    The lighting device  12  emits light to control a shooting action of the imaging device  13 . The light forms a bright spot of light on an obstacle when the light is blocked by the obstacle. In this embodiment, the lighting device  12  emits visible laser light. 
         [0012]    The storage device  14  may be, but is not limited to, a hard disk, or a dedicated memory, such as an EPROM, HDD, or flash memory. The storage device  14  stores data as to the image acquired by the imaging device  13 . 
         [0013]    The photographing system  10  includes an adjusting module  101 , a recognizing module  102 , a setting module  103 , and a controlling module  104 . Computerized codes of the photographing system  10  can be embedded into an operating system of the electronic apparatus  1 , or stored in the storage device  14  and executed by the processor  15 . 
         [0014]    The adjusting module  101  adjusts a direction of the light emitted from the lighting device  12  according to a position of the subject to make the light pass close to the subject, but not be blocked by the subject directly. The subject can move a part of his/her body, such as his/her hand, to block the light when the subject is ready to take a picture. Thus, a bright spot of light is formed on the subject where the light is blocked, to function as a control signal of a shooting action of the imaging device  13 . 
         [0015]    The recognizing module  102  recognizes a bright spot of light formed on an image of the subject and determines a number of different states of the bright spot of light. In detail, the recognizing module  102  analyzes the image of the subject acquired by the imaging device  13 . When a brightness of a bright area in the image of the subject is greater than 1.5 times of an average brightness of ambient light and a radius of the area is less than a predetermined value, the recognizing module  102  recognizes the area of bright light as the bright spot of light formed on the subject and records time of the bright spot of light. When the bright spot of light lasts for one second or more, the bright spot of light is regarded as continuously shining. When the bright spot of light lasts for less than one second, the bright spot of light is regarded as flashing. 
         [0016]    The setting module  103  sets a number of controlling rules corresponding to a number of different photographing functions in the storage device  14 . The controlling rules are a number of correspondences between the different states of bright spot of light and the different photographing functions. For example, the bright spot of light shining continuously corresponds to a capture of an image of the subject. The bright spot of light flashing once within a predetermined time interval, such as two seconds, corresponds to a continuous capture function, and flashing twice within the predetermined time interval corresponds to a switching between ON and OFF of a flash lamp. 
         [0017]    The controlling module  104  controls the imaging device  13  to capture an image according to the state of bright spot of light and the preset controlling rules. For example, when the bright spot of light lasts more than one second, the controlling module  104  generates an instruction to capture to the imaging device  13  and the lighting device  12 , the lighting device  12  shuts off the visible light when the shooting instruction is received and the imaging device  13  executes the capture within two seconds after receiving the instruction to capture. 
         [0018]      FIG. 2  is a flowchart of an exemplary embodiment of a photographing method. Depending on the embodiment, additional steps may be added, others deleted, and the ordering of the steps may be changed. 
         [0019]    In step S 01 , the lighting device  12  emits a visible light towards the subject. The adjusting module  101  adjusts the direction of the light emitted from the lighting device  12  to make the light closely pass the subject but not be blocked by the subject directly. 
         [0020]    In step S 02 , the imaging device  13  acquires the image of the subject. 
         [0021]    In step S 03 , the recognizing module  102  recognizes the states of the bright spot of light formed on the subject by blocking the light. The states of the bright spot of light include, but are not limited to, a continuous shining state and a flashing state. When time of the bright spot of light is equal to or more than one second, the recognizing module  102  recognizes the bright spot of light as continuous shining. When time of the bright spot of light is less than one second, the recognizing module  102  recognizes the bright spot of light as flashing. 
         [0022]    In step S 04 , the controlling module  104  controls the imaging device  13  to execute the photographing function corresponding to the state of the bright spot of light according to the preset controlling rules. The controlling rules are a number of correspondences between the photographing functions and the states of the bright spot of light preset by the setting module  103 . The correspondences between the photographing functions and the states of the bright spot of light include, but are not limited to, the continuous shining corresponding to a shooting action, the flashing once within two seconds corresponding to a continuous capture action, and the flashing twice within two seconds corresponding to a switching between ON and OFF states of the flash lamp. 
         [0023]    It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the disclosure.