WO2017193796A1 - 一种智能手表的拍照处理方法和装置 - Google Patents
一种智能手表的拍照处理方法和装置 Download PDFInfo
- Publication number
- WO2017193796A1 WO2017193796A1 PCT/CN2017/081458 CN2017081458W WO2017193796A1 WO 2017193796 A1 WO2017193796 A1 WO 2017193796A1 CN 2017081458 W CN2017081458 W CN 2017081458W WO 2017193796 A1 WO2017193796 A1 WO 2017193796A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- smart watch
- image
- smart
- screen
- 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.)
- Ceased
Links
Images
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/62—Control of parameters via user interfaces
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G21/00—Input or output devices integrated in time-pieces
-
- 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/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
-
- 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/80—Camera processing pipelines; Components thereof
Definitions
- the invention relates to the technical field of smart watches, and in particular to a method and a device for photographing a smart watch.
- the smart watch when the user uses the smart watch, the smart watch is triggered to enter the photographing mode, and the photographing function of the smart watch is turned on, and the camera module of the smart watch senses the input light of the external environment to start collecting images according to a certain frequency; on the screen of the smart watch According to the timing of the image acquisition by the camera module, each frame of the image is sequentially displayed for the user to preview, so that the user selects an appropriate framing during the preview process.
- smart watches are limited by their own hardware configuration, and the processing of images collected in each frame is slow, resulting in a human eye that cannot reach 15 frames per second when displaying each frame image sequentially on the screen of the smart watch.
- the present invention has been made in order to provide a photographing processing method and apparatus for a smart watch that overcomes the above problems or at least partially solves the above problems.
- a method for photographing a smart watch comprising: in response to an event that a smart watch enters a photographing mode, activating a photographing function and acquiring a photograph collected by a camera module of the smart watch; Each frame of the picture: the picture is compressed according to the first compression standard; and the processed picture is displayed on the screen of the smart watch.
- a photographing processing apparatus for a smart watch includes: a picture acquiring unit adapted to activate a photographing function and acquire a camera module of the smart watch in response to an event of the smart watch entering the photographing mode; And a compression processing unit adapted to compress the image according to the first compression standard for each frame of the acquired image; and a display unit adapted to display the processed image on the screen of the smart watch.
- a computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform an intelligent according to said The method of photographing the watch.
- a computer readable medium wherein a computer program as described above is stored.
- the photographing function in response to an event that the smart watch enters the photographing mode, the photographing function is activated and the image captured by the camera module of the smart watch is obtained, and the size of the compressed image is smaller than the original image size, The compressed picture is displayed faster than the speed of displaying the original picture.
- the solution compresses each frame of the image and displays it on the screen of the smart watch, through the selection of the first compression standard. So that each frame of the camera captured by the camera module of the smart watch can be quickly displayed for the user to preview, so that the user does not appear to be stuck during the preview process, and the smart watch is not enough to configure the original image due to the low configuration. Smooth display of the problem, improve the user's photo experience using smart watches.
- FIG. 1 is a flow chart showing a method for photographing a smart watch according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of a photographing processing apparatus of a smart watch according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of a photographing processing apparatus of a smart watch according to another embodiment of the present invention.
- Figure 4 shows schematically a block diagram of a computing device for performing the method according to the invention
- Fig. 5 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
- FIG. 1 is a flow chart showing a method for photographing a smart watch according to an embodiment of the present invention. As shown in Figure 1, the method includes:
- Step S110 in response to the event that the smart watch enters the photographing mode, the photographing function is activated and the image collected by the camera module of the smart watch is acquired.
- Step S120 For each frame of the acquired image: compressing the image according to the first compression standard.
- step S130 the processed picture is displayed on the screen of the smart watch.
- the method shown in FIG. 1 responds to the event that the smart watch enters the photographing mode, activates the photographing function, and acquires the image collected by the camera module of the smart watch.
- the compressed image size is smaller than the original image size, and the compressed image is The principle of displaying the speed is faster than the speed of displaying the original picture.
- the solution compresses each frame of the obtained image and displays it on the screen of the smart watch.
- the smart watch is selected by the selection of the first compression standard.
- Each frame of the image captured by the camera module can be quickly displayed for the user to preview, so that the user does not appear to be stuck during the preview process, and solves the problem that the smart watch is not enough to smoothly display the original image due to the low configuration. To improve the user's photo experience using smart watches.
- the smart watch when the user uses the smart watch, the smart watch is triggered to enter the photographing mode, and the photographing function of the smart watch is turned on, and the camera module of the smart watch senses the input light of the external environment to start collecting images according to a certain frequency; according to the camera module on the screen of the smart watch The timing of the captured images is displayed in turn for each frame of the image for the user to preview, so that the user can select the appropriate framing during the preview process.
- the smart watch is limited by its own hardware configuration, and the processing speed of each frame of the picture is very slow, resulting in a person who fails to display 15 frames per second in each frame of the picture on the screen of the smart watch.
- the picture displayed on the screen is synchronised within the range that the user can perceive; on the other hand, since the screen of the smart watch is relatively small, the user does not perceive the picture due to compression when previewing the picture from the screen of the smart watch. The resulting decrease in clarity.
- the step S120 according to the first compression standard comprises: acquiring a resolution of a screen of the smart watch; and, according to the acquired smart watch
- the resolution of the screen compresses the picture to the size of the screen adapted to the smart watch, ie, the resolution of the screen of the smart watch as a reference for the first compression standard.
- the smart watch is a children's watch
- the resolution of the camera module of the children's watch is 1600 pixels ⁇ 1200 pixels
- the resolution of the screen of the children's watch is 240 pixels ⁇ 240 pixels, when the user using the child watch triggers the child watch into the photographing mode.
- each frame of the image captured by the camera module is sequentially acquired, and the image is compressed from 1600 pixels ⁇ 1200 pixels into 240 pixels ⁇ 240 pixels adapted to the screen of the smart watch by using lossless compression technology, and then displayed on the screen, so that Each frame of the picture is compressed from the acquisition time to the display time by 3% to increase the display frequency.
- the foregoing step S120 may perform different degrees of compression on each frame of the acquired picture according to other standards, and is not limited to compressing the picture to a compression of a screen size adapted to the smart watch, no matter what is taken.
- the first compression standard compresses the picture, as long as the processing time of the picture is shortened by compressing the picture, so that the display frequency of the picture on the screen of the smart watch can reach the acceptable level of the human eye of more than 15 frames per second. , can be selected according to the actual situation.
- the method shown in FIG. 1 before displaying the processed picture on the screen of the smart watch further comprises: performing intelligent image processing on the compressed picture;
- the displaying of the processed picture on the screen of the smart watch includes: displaying the picture after the smart image processing on the screen of the smart watch. Among them, since the picture has been compressed, the time of the intelligent processing process is also greatly shortened.
- the foregoing process of performing intelligent image processing on the compressed picture includes two schemes:
- Scheme 1 includes any one of the following two modes or a combination of the two modes: mode one, counting the full-image grayscale information of the image, and determining the grayscale information of the full image (for example, the average grayscale value of the full image) Whether it is lower than the preset threshold, and if so, adjust the brightness of the picture.
- the picture is divided into a background area and a foreground skin color area, the picture is processed in a sub-area, the background area is smoothed and/or sharpened, and the foreground skin color area is subjected to saturation adjustment, whitening, and/or tenderness. Skin treatment.
- the average gray value of the full picture of the picture is counted as 80, which is lower than the preset threshold value 120 of the full picture average gray value in this example, indicating The brightness of the picture is too low, and the brightness of the picture is raised to complete the intelligent image processing of the picture.
- the picture is further divided into a background area and a foreground skin color area, and the background area is smoothed and sharpened.
- the treatment is performed on any one or more of the saturation adjustment processing, the whitening treatment, and the skin rejuvenation treatment on the foreground skin color region.
- the picture is divided into a background area and a foreground skin color area, and the background area
- the domain performs either or both of the smoothing processing and the sharpening processing, and performs one or more of the saturation adjustment processing, the whitening treatment, and the skin rejuvenation processing on the foreground skin color region.
- the five-point point in the compressed image is detected, where the five-point point includes: two points corresponding to the human eye in the picture, a point corresponding to the tip of the nose, and two points corresponding to the corner of the mouth;
- the facial features point to know the face distribution state in the picture; obtain the special effect material from the material library, and attach the special effect material to the corresponding part of the face in the picture.
- the process of detecting the facial features in the compressed image is: detecting the facial features in the compressed image according to the facial features model.
- the facial features model is formed by artificial intelligence deep learning technology training.
- the smart watch can obtain the trained facial features from other terminals or servers for pre-existing, and use it directly when it is necessary to detect the facial features in the picture;
- the formed facial features model requires less sample data and shorter training time during the training process, and has limited use of system resources. It can be trained locally in the smart watch. Before the smart watch needs to detect the facial features in the picture. Or afterwards, quickly train to form a facial features model and use it.
- an intelligent prediction and tracking algorithm may be used to detect the next frame picture in a short time.
- the detection is performed within a preset area around the position according to the detected position of the corresponding point in the picture of the previous frame.
- the intelligent prediction and tracking algorithm used in this embodiment is based on the fact that the position of the same facial features in the adjacent two frames is not too far apart, and the position of the facial features detected in the previous frame is used from the next frame.
- the corresponding five sense points are detected, the detection range is narrowed, the detection efficiency of the five sense points is improved, and the speed of intelligent image processing is further improved, that is, the time for processing each frame from the acquisition to the display is shortened.
- a single frame The processing of the image takes an average of 60ms, and the preview can be approximated in real time to meet user needs.
- the above embodiments illustrate the process of displaying a picture in real time on the screen after the smart watch enters the photographing mode for the user to preview to enable the user to select a suitable framing. After the user selects the appropriate framing, the photo control of the smart watch will be triggered. Taking a picture, the method shown in FIG. 1 further includes:
- Step S140 in response to an event that the photo control of the smart watch is triggered, acquiring a picture collected by the camera module of the smart watch when the photo control is triggered.
- the image captured by the camera module of the smart watch reflects the user's framing selection.
- Step S150 the step of performing the compression processing on the picture by the first thread, and performing intelligent image processing on the compressed picture and displaying on the screen of the smart watch.
- step S160 the smart image processing is performed on the picture by using the second thread, and the image processed by the smart image is saved in the root directory of the album of the smart watch.
- the first thread also referred to as the main thread
- compresses the picture and performs intelligent processing on the compressed picture.
- Image processing displaying the image processed by the smart image on the screen of the smart watch, wherein the processes of compression processing, intelligent image processing and display have been explained above, and the processing time is effectively shortened due to the compression of the image first
- the second thread also referred to as a secondary thread
- the first thread and the second thread may be created in advance, or may be created after the image captured by the camera module is acquired, which is not limited by the present invention.
- the processing and saving takes a long time, and the user cannot be displayed in real time in real time. Therefore, the first thread processes the compressed picture as soon as possible.
- the photographing effect is displayed on the screen, and the second thread processes the original resolution image and saves, so that the small image that the user sees on the screen and the image saved in the album have different resolutions, and the other display effects are exactly the same, and the saved is HD pictures.
- the method further includes: transmitting the corresponding picture in the root directory of the smart watch to the other terminal device by wire or wirelessly in response to the event that the picture sharing control of the smart watch is triggered.
- the high-definition captured image of the original resolution saved on the smart watch can be transmitted with other mobile terminals such as a smart watch of a friend in the address book, a bound smart phone, or the like, or directly copied to the PC through the data line.
- the picture display is better and meets the user's needs.
- a function of timing photographing is further provided, the method further comprising: setting a timer, in response to an event that the photographing control of the smart watch is triggered, turning on a timer for timing, when the preset is reached At the moment, acquiring a picture collected by the camera module of the smart watch when the preset time is reached; performing the compression processing on the picture by using the first thread, and performing smart image processing on the compressed picture and on the smart watch The step of displaying on the screen; performing the intelligent image processing on the picture by using the second thread, and saving the image processed by the smart image in the root directory of the album of the smart watch.
- the first thread and the second thread may be created in advance, or may be created after the image captured by the camera module is acquired, which is not limited by the present invention.
- the photograph processing apparatus 200 of the smart watch includes:
- the picture obtaining unit 210 is adapted to start the photographing function and obtain the picture collected by the camera module of the smart watch in response to the event that the smart watch enters the photographing mode.
- the compression processing unit 220 is adapted to perform compression processing on the captured image according to the first compression standard for each frame of the acquired image.
- the display unit 230 is adapted to display the processed picture on the screen of the smart watch.
- the device shown in FIG. 2 activates the photographing function and acquires the image collected by the camera module of the smart watch through the mutual interaction of the units, in response to the event that the smart watch enters the photographing mode, and the size of the compressed image is smaller than the original image.
- the size, the speed of displaying the compressed picture is faster than the speed of displaying the original picture.
- the solution compresses each frame of the obtained image and displays it on the screen of the smart watch, through the first compression.
- the standard selection enables each frame of the camera captured by the camera module of the smart watch to be displayed quickly for the user to preview, so that the user does not appear to be stuck during the preview process, which solves the problem that the smart watch is not suitable due to the low configuration.
- the problem of smooth display of the original picture improves the user's photo experience using the smart watch.
- the compression processing unit 220 is adapted to acquire a resolution of a screen of the smart watch; and is adapted to compress the image into an adaptation according to the resolution of the acquired screen of the smart watch.
- the size of the screen of the smart watch that is, the resolution of the screen of the smart watch is used as a reference for the first compression standard.
- FIG. 3 is a schematic diagram of a photographing processing apparatus of a smart watch according to another embodiment of the present invention.
- the photographing processing apparatus 300 of the smart watch includes: a picture acquiring unit 310, a compression processing unit 320, an intelligent image processing unit 330, a display unit 340, a thread control unit 350, a picture storage unit 360, and a picture sharing unit 370. .
- the picture obtaining unit 310, the compression processing unit 320, and the display unit 340 respectively have the same functions as those of the picture acquiring unit 210, the compression processing unit 220, and the display unit 230 in the apparatus shown in FIG.
- the intelligent image processing unit 330 is adapted to perform intelligent image processing on the compressed picture.
- the intelligent image processing unit 330 is adapted to count the full-image grayscale information of the image, and determine whether the full-image grayscale information (for example, the average grayscale value of the full image) is lower than a preset threshold. If yes, the picture is brightness adjusted; and/or, the intelligent image processing unit 330 is adapted to divide the picture into a background area and a foreground skin color area, perform sub-area processing on the picture, and smooth the background area and/or Or sharpening to saturate, whiten, and/or rejuvenate the foreground skin area.
- the full-image grayscale information for example, the average grayscale value of the full image
- the intelligent image processing unit 330 is adapted to detect a facial features in the compressed image, the facial features including: two points corresponding to the human eye in the picture, corresponding to the tip of the nose a point, and two points corresponding to the corner of the mouth; according to the detected facial features to know the distribution state of the face in the picture; obtain the special effect material from the material library, and attach the special effect material to the corresponding part of the face in the picture on.
- the smart image processing unit 330 may detect each point of the facial features in the picture according to the detected position of the corresponding point in the previous frame picture within a preset area around the position.
- the intelligent image processing unit 330 is adapted to detect the facial features in the compressed image according to the facial features model.
- the picture obtaining unit 310 is further adapted to: when the photo control of the smart watch is triggered, acquire a picture collected by the camera module of the smart watch when the photo control is triggered;
- the thread control unit 350 is adapted to schedule the compression processing unit 320, the intelligent image processing unit 330, and the display unit 340 by using a first thread, perform the compression processing on the picture, and perform the compression processing on the picture.
- the post picture is saved in the root directory of the smart watch's album.
- the picture obtaining unit 310 is further adapted to set a timer, in response to an event that the camera control of the smart watch is triggered, start a timer to count, and when the preset time is reached, obtain the arrival.
- the preset time is a picture collected by the camera module of the smart watch; the thread control unit 350 is adapted to schedule the compression processing unit 320, the intelligent image processing unit 330, and the display unit 340 by using the first thread, Performing the compression processing on the picture, performing smart image processing on the compressed picture and displaying on the screen of the smart watch; and being adapted to schedule the intelligent image processing unit 330 with the second thread and
- the picture storage unit 360 performs intelligent image processing on the picture, and saves the picture processed by the smart image in the album root directory of the smart watch.
- the picture sharing unit 370 is adapted to send the corresponding picture in the root directory of the smart watch to the other terminal by wire or wirelessly in response to the event that the picture sharing control of the smart watch is triggered. device.
- the technical solution provided by the present invention activates the photographing function and acquires the image collected by the camera module of the smart watch in response to the event that the smart watch enters the photographing mode, and the compressed image size is smaller than the original image size, and the compression is performed.
- the latter picture is processed faster than the speed of processing the original picture.
- the solution compresses each frame of the obtained picture and processes it and displays it on the screen of the smart watch.
- each frame of the image captured by the camera module of the smart watch can be quickly displayed for the user to preview, so that the user does not appear to be stuck during the preview process, and the smart watch is configured.
- the problem is that it is not enough to display the original picture smoothly, and the user's photo experience of using the smart watch is improved.
- the image captured by the camera module when the photo control is triggered is acquired, and the processing and saving takes a long time because the acquired original image has a large resolution, and cannot Quickly display the user in real time, so use two threads at the same time, the first thread processes the compressed image to display the photo effect on the screen as soon as possible, and the second thread processes the original resolution image and saves, so that the user sees the small on the screen.
- the pictures saved in the pictures and albums have the same effect, and the high-definition pictures are saved.
- the high-definition pictures can be shared with other intelligent terminals to obtain other types of intelligence that can match the higher configuration.
- the camera's photo effect is shared with other intelligent terminals to obtain other types of intelligence that can match the higher configuration.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
- any combination of the present specification including accompanying claims, abstracts and drawings) may be employed. All features of the invention, as well as all processes or units of any method or device so disclosed, are combined.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- Those skilled in the art will appreciate that some or all of the functionality of some or all of the components of the camera processing device of the smart watch in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or digital signal processor (DSP).
- DSP digital signal processor
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- Figure 4 shows a block diagram of a computing device for performing the method in accordance with the present invention.
- the computing device conventionally includes a computer program product or computer readable medium in the form of a processor 410 and a memory 420.
- the memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
- the memory 420 has a storage space 430 that stores program code 431 for performing any of the method steps described above.
- the storage space 430 storing program code may store respective program codes 431 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such computer program products are typically portable or fixed storage units such as those shown in FIG.
- the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 420 in the computing device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit stores computer readable code 431' for performing the steps of the method according to the invention, ie code that can be read by a processor such as 410, which when executed by the computing device causes the computing device Perform the various steps in the method described above.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
本发明公开了一种智能手表的拍照处理方法和装置,所述方法包括:响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片;对于获取到的每帧图片:依据第一压缩标准,对该图片进行压缩处理;以及,将处理后的图片在智能手表的屏幕上进行显示。利用对压缩后的图片进行显示的速度快于对原图片进行显示的速度的原理,本方案对图片进行压缩处理后再显示在智能手表的屏幕上,通过对第一压缩标准的选择,使得所采集的每一帧图片均能够快速地显示,使用户预览过程中不会出现卡顿现象,解决了智能手表因配置较低不足以对原图片进行流畅显示的问题,提高用户使用智能手表的拍照体验。
Description
本发明涉及智能手表技术领域,具体涉及一种智能手表的拍照处理方法和装置。
现有技术中,用户在使用智能手表时,触发智能手表进入拍照模式,智能手表的拍照功能开启,智能手表的摄像头模块感应外界环境的输入光线开始按照一定频率采集图片;在智能手表的屏幕上按照摄像头模块采集图片的时序,依次显示各帧图片以供用户预览,以使用户在预览过程中选择合适的取景。然而,目前智能手表受自身硬件配置所限,对每一帧采集到的图片进行处理的速度很慢,导致在智能手表的屏幕上依次显示各帧图片时无法达到每秒钟15帧的人眼可接受的实时性,即使对智能手表的摄像头模块做了适配性调整,在用户预览时也会出现卡顿。不仅如此,当用户选择取景后进行拍照时,智能手表对拍摄的图片的保存时间很长,直接影响了用户的使用效果。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的智能手表的拍照处理方法和装置。
依据本发明的一个方面,提供了一种智能手表的拍照处理方法,包括:响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片;以及对于获取到的每帧图片:依据第一压缩标准,对该图片进行压缩处理;以及,将处理后的图片在智能手表的屏幕上进行显示。
依据本发明的另一个方面,提供了一种智能手表的拍照处理装置,包括:图片获取单元,适于响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片;压缩处理单元,适于对于获取到的每帧图片,依据第一压缩标准,对该图片进行压缩处理;以及显示单元,适于将处理后的图片在智能手表的屏幕上进行显示。
依据本发明的另一个方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上述的智能
手表的拍照处理方法。
依据本发明的另一个方面,提供了一种计算机可读介质,其中存储了如上所述的计算机程序。
由上述可知,根据本发明提供的技术方案,响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片,基于压缩后的图片尺寸小于原图片尺寸,对压缩后的图片进行显示的速度快于对原图片进行显示的速度的原理,本方案对获取到的每帧图片进行压缩处理后再显示在智能手表的屏幕上,通过对第一压缩标准的选择,使得智能手表的摄像头模块所采集的每一帧图片均能够快速地显示以供用户预览,使用户预览过程中不会出现卡顿现象,解决了智能手表因配置较低不足以对原图片进行流畅显示的问题,提高用户使用智能手表的拍照体验。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了根据本发明一个实施例的一种智能手表的拍照处理方法的流程示意图;
图2示出了根据本发明一个实施例的一种智能手表的拍照处理装置的示意图;
图3示出了根据本发明另一个实施例的一种智能手表的拍照处理装置的示意图;
图4示意性地示出了用于执行根据本发明的方法的计算设备的框图;以及
图5示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述
的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
图1示出了根据本发明一个实施例的一种智能手表的拍照处理方法的流程示意图。如图1所示,该方法包括:
步骤S110,响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片。
步骤S120,对于获取到的每帧图片:依据第一压缩标准,对该图片进行压缩处理。
步骤S130,将处理后的图片在智能手表的屏幕上进行显示。
可见,图1所示的方法响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片,基于压缩后的图片尺寸小于原图片尺寸,对压缩后的图片进行显示的速度快于对原图片进行显示的速度的原理,本方案对获取到的每帧图片进行压缩处理后再显示在智能手表的屏幕上,通过对第一压缩标准的选择,使得智能手表的摄像头模块所采集的每一帧图片均能够快速地显示以供用户预览,使用户预览过程中不会出现卡顿现象,解决了智能手表因配置较低不足以对原图片进行流畅显示的问题,提高用户使用智能手表的拍照体验。
例如,用户在使用智能手表时,触发智能手表进入拍照模式,智能手表的拍照功能开启,智能手表的摄像头模块感应外界环境的输入光线开始按照一定频率采集图片;在智能手表的屏幕上按照摄像头模块采集图片的时序,依次显示每一帧图片以供用户预览,以使用户在预览过程中选择合适的取景。然而,现有技术中智能手表受自身硬件配置所限,对每一帧图片进行处理的速度很慢,导致在智能手表的屏幕上依次显示每帧图片时达不到每秒钟15帧的人眼可接受的实时性,在用户看来会出现卡顿。依据图1所示的方法,对于从智能手表的摄像头模块获取的每一帧图片,在显示之前先进行压缩处理,通过选择第一压缩标准,一方面,使得压缩后的图片在智能手表的屏幕上能够流畅快速显示,达到每秒钟15帧以上的显示频率,避免了预览过程中的卡顿现象,提高用户在拍照前的预览体验,保证当前智能手表的摄像头所采集的图片与当前智能手表的屏幕上所显示的图片在用户可察觉的范围内的同步性;另一方面,由于智能手表的屏幕都比较小,用户从智能手表的屏幕上预览图片时并不会觉察到图片由于压缩而导致的清晰度的下降。
在本发明的一个实施例中,上述步骤S120依据第一压缩标准,对该图片进行压缩处理的步骤包括:获取智能手表的屏幕的分辨率;以及,根据所获取的智能手表
的屏幕的分辨率,将该图片压缩为适配于智能手表的屏幕的尺寸,即,以智能手表的屏幕的分辨率作为第一压缩标准的参考。例如,智能手表为儿童手表,儿童手表的摄像头模块的分辨率为1600像素×1200像素,而儿童手表的屏幕的分辨率是240像素×240像素,当使用儿童手表的用户触发儿童手表进入拍照模式时,依次获取摄像头模块所采集的每帧图片,采用无损压缩技术,将该图片从1600像素×1200像素压缩为适配于智能手表的屏幕的240像素×240像素,再在屏幕上显示,使得每帧图片从采集到显示之间的处理时间压缩到原来的3%,提高显示频率。
当然,在本发明的其他实施例中,上述骤S120可以按照其他标准对获取的每帧图片进行不同程度的压缩,不限于将图片压缩至适配于智能手表的屏幕尺寸的压缩,无论采取何种第一压缩标准对图片进行压缩,只要是通过压缩图片实现将图片的处理时间缩短使得图片在智能手表的屏幕上的显示频率达到每秒钟15帧以上的人眼可接受的流畅程度即可,可根据实际情况进行选择。
在本发明的一个实施例中,图1所示的方法在将处理后的图片在智能手表的屏幕上进行显示之前,该方法进一步包括:对压缩后的图片进行智能图像处理;则所述将处理后的图片在智能手表的屏幕上进行显示包括:将智能图像处理之后的图片在智能手表的屏幕上进行显示。其中,由于图片已被压缩,使得智能处理过程的时间也大大缩短。
其中,在一个具体的实施例中,上述对压缩后的图片进行智能图像处理的过程包括两种方案:
方案一,包括以下两种方式中的任一种方式或两种方式的组合:方式一,统计该图片的全图灰度信息,判断该全图灰度信息(例如全图的平均灰度值)是否低于预设阈值,若是,则对该图片进行亮度调整。方式二,将该图片分为背景区域和前景肤色区域,对该图片进行分区域处理,对背景区域做平滑和/或锐化处理,对前景肤色区域进行饱和度调整、美白、和/或嫩肤处理。
例如,对于压缩后的一帧图片进行智能图像处理,一种情况下,统计该图片的全图平均灰度值为80,低于本例中全图平均灰度值的预设阈值120,表示该图片亮度过低,将该图片的亮度调高,完成对该图片的智能图像处理。另一种情况下,在上述将该图片的亮度调高之后,还进一步将该图片分为背景区域和前景肤色区域,对背景区域进行平滑处理和锐化处理二者中的任一种或两种处理,对前景肤色区域进行饱和度调整处理、美白处理和嫩肤处理三者中的任一种或多种处理。另一种情况下,无需调整该图片的亮度,将该图片分为背景区域和前景肤色区域,对背景区
域进行平滑处理和锐化处理二者中的任一种或两种处理,对前景肤色区域进行饱和度调整处理、美白处理和嫩肤处理三者中的任一种或多种处理。
方案二,检测压缩后的该图片中的五官点,所述五官点包括:该图片中对应于人眼的两个点、对应于鼻尖的点、和对应于嘴角的两个点;根据检测到的五官点获知该图片中的人脸分布状态;从素材库中获取特效素材,将特效素材附加在该图片中的人脸的相应部位上。
其中,上述检测压缩后的该图片中的五官点的过程是:根据人脸五官模型,检测压缩后的该图片中的五官点。具体地,人脸五官模型是通过人工智能深度学习技术训练而形成的,对于经过长期训练而形成的人脸五官模型,在训练过程中需要大量的样本数据和较长的训练时间,占用大量的系统资源,不适于在智能手表本地进行训练,智能手表可以从其他终端或服务器获取已训练形成的人脸五官模型进行预存,在需要检测图片中的五官点的时候直接使用;对于经过短期训练而形成的人脸五官模型,在训练过程中需要较少的样本数据和较短的训练时间,对系统资源的占用有限,可以在智能手表本地进行训练,智能手表在需要检测图片中的五官点之前或之后快速训练形成人脸五官模型并加以使用。
进一步地,在上述检测压缩后的该图片中的五官点的过程中,在检测出一帧图片中的五官点后,还可以采用智能预测和跟踪算法,在短时间内检测到下一帧图片中的五官点,具体地,在检测该图片中的五官点的每一点时,根据所检测的前一帧图片中的相应点的位置,在该位置周围的预设区域范围内进行检测。本实施例所采用的智能预测和跟踪算法,基于相邻两帧图片中的同一五官点所在位置不会差距太远的规律,利用上一帧图片中检测出的五官点的位置从下一帧图片中检测相应的五官点,缩小检测范围,提高五官点的检测效率,进一步提高智能图像处理的速度,即缩短每帧图像从采集到显示的处理过程的时间,在具体的例子中,单帧图片的处理过程平均耗时60ms,预览时能够达到近似实时,满足用户需求。
上述各实施例说明了智能手表进入拍照模式后,在屏幕上准实时地显示图片以供用户预览使用户选择合适的取景的过程,在用户选择到合适的取景后,将触发智能手表的拍照控件进行拍照,则图1所示的方法进一步包括:
步骤S140,响应于智能手表的拍照控件被触发的事件,获取拍照控件被触发时智能手表的摄像头模块所采集到的图片。
本步骤中,拍照控件被触发时智能手表的摄像头模块所采集到的图片即反应了用户的取景选择。
步骤S150,利用第一线程对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤。
步骤S160,利用第二线程对该图片进行所述智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。
上述步骤S150和步骤S160同时利用两个线程分别对获取到的同一帧图片进行不同的处理:第一线程(也可称为主线程)对该图片进行压缩处理,对压缩处理后的图片进行智能图像处理,将智能图像处理后的图片在智能手表的屏幕上进行显示,其中,压缩处理、智能图像处理以及显示的过程已在上文中说明,由于先对图像的压缩而导致处理时间有效缩短;第二线程(也可称为副线程)直接对该图片进行智能图像处理,再将智能图像处理后的图片保存在相册根目录下,使得相册根目录下所保存的图片是符合摄像头模块的分辨率的图片。其中,第一线程和第二线程可以是预先创建的,也可以是在获取摄像头模块采集的图片后再创建的,本发明对此不做限制。
依据本实施例,由于所获取的原图片的分辨率较大,处理和保存所耗费的时间较长,不能快速实时地为用户进行显示,因此同时利用两个线程,第一线程处理压缩图片尽快在屏幕上显示出拍照效果,第二线程处理原始分辨率图片并保存,使得用户在屏幕上看到的小图片与相册中保存的图片除了分辨率不同,其他显示效果完全一样,且保存的是高清图片。
进一步地,基于上述过程,该方法还包括:响应于智能手表的图片共享控件被触发的事件,将智能手表的相册根目录下的相应图片通过有线或无线的方式发送至其他终端设备。依据本实施例,可以将智能手表上保存的原始分辨率的高清拍摄图片与通讯录中好友的智能手表、绑定的智能手机等其他移动终端进行图片传输,或者直接通过数据线拷贝至PC机,图片显示效果较好,符合用户需求。
在本发明的另一个实施例中,还进一步提供了定时拍照的功能,该方法进一步包括:设置定时器,响应于智能手表的拍照控件被触发的事件,开启定时器进行计时,当到达预设时刻时,获取到达该预设时刻时智能手表的摄像头模块所采集到的图片;利用该第一线程对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;利用该第二线程对该图片进行所述智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。其中,第一线程和第二线程可以是预先创建的,也可以是在获取摄像头模块采集的图片后再创建的,本发明对此不做限制。
图2示出了根据本发明一个实施例的一种智能手表的拍照处理装置的示意图。如图2所示,该智能手表的拍照处理装置200包括:
图片获取单元210,适于响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片。
压缩处理单元220,适于对于获取到的每帧图片,依据第一压缩标准,对该图片进行压缩处理。
显示单元230,适于将处理后的图片在智能手表的屏幕上进行显示。
可见,图2所示的装置通过各单元的相互交互,响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片,基于压缩后的图片尺寸小于原图片尺寸,对压缩后的图片进行显示的速度快于对原图片进行显示的速度的原理,本方案对获取到的每帧图片进行压缩处理后再显示在智能手表的屏幕上,通过对第一压缩标准的选择,使得智能手表的摄像头模块所采集的每一帧图片均能够快速地显示以供用户预览,使用户预览过程中不会出现卡顿现象,解决了智能手表因配置较低不足以对原图片进行流畅显示的问题,提高用户使用智能手表的拍照体验。
在本发明的一个实施例中,所述压缩处理单元220,适于获取智能手表的屏幕的分辨率;以及,适于根据所获取的智能手表的屏幕的分辨率,将该图片压缩为适配于智能手表的屏幕的尺寸,即,以智能手表的屏幕的分辨率作为第一压缩标准的参考。
图3示出了根据本发明另一个实施例的一种智能手表的拍照处理装置的示意图。如图3所示,该智能手表的拍照处理装置300包括:图片获取单元310、压缩处理单元320、智能图像处理单元330、显示单元340、线程控制单元350、图片存储单元360和图片分享单元370。
其中,图片获取单元310、压缩处理单元320、显示单元340分别具有与图2所示装置中的图片获取单元210、压缩处理单元220、显示单元230对应相同的功能。
智能图像处理单元330,适于对压缩后的图片进行智能图像处理。
具体地,在一个实施例中,智能图像处理单元330,适于统计该图片的全图灰度信息,判断该全图灰度信息(例如全图的平均灰度值)是否低于预设阈值,若是,则对该图片进行亮度调整;和/或,智能图像处理单元330,适于将该图片分为背景区域和前景肤色区域,对该图片进行分区域处理,对背景区域做平滑和/或锐化处理,对前景肤色区域进行饱和度调整、美白、和/或嫩肤处理。
具体地,在另一个实施例中,智能图像处理单元330,适于检测压缩后的该图片中的五官点,所述五官点包括:该图片中对应于人眼的两个点、对应于鼻尖的点、和对应于嘴角的两个点;根据检测到的五官点获知该图片中的人脸分布状态;从素材库中获取特效素材,将特效素材附加在该图片中的人脸的相应部位上。其中,智能图像处理单元330在检测该图片中的五官点的每一点时,可以根据所检测的前一帧图片中的相应点的位置,在该位置周围的预设区域范围内进行检测。其中,智能图像处理单元330,适于根据人脸五官模型,检测压缩后的该图片中的五官点。
在本发明的一个实施例中,所述图片获取单元310,进一步适于响应于智能手表的拍照控件被触发的事件,获取拍照控件被触发时智能手表的摄像头模块所采集到的图片;所述线程控制单元350,适于利用第一线程调度所述压缩处理单元320、所述智能图像处理单元330和所述显示单元340,对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及,适于利用第二线程调度所述智能图像处理单元330和图片存储单元360,对该图片进行智能图像处理,并将智能图像处理后的图片保存在智能手表的相册根目录下。
在本发明的一个实施例中,所述图片获取单元310,进一步适于设置定时器,响应于智能手表的拍照控件被触发的事件,开启定时器进行计时,当到达预设时刻时,获取到达该预设时刻时智能手表的摄像头模块所采集到的图片;所述线程控制单元350,适于利用该第一线程调度所述压缩处理单元320、所述智能图像处理单元330和显示单元340,对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及,适于利用该第二线程调度所述智能图像处理单元330和图片存储单元360,对该图片进行智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。
在本发明的一个实施例中,图片分享单元370,适于响应于智能手表的图片共享控件被触发的事件,将智能手表的相册根目录下的相应图片通过有线或无线的方式发送至其他终端设备。
需要说明的是,图2-图3所示装置的各功能与图1所示方法的各步骤对应,上文中已有详细说明,在此不再赘述。
综上所述,本发明提供的技术方案响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片,基于压缩后的图片尺寸小于原图片尺寸,对压缩后的图片进行处理的速度快于对原图片进行处理的速度的原理,本方案对获取到的每帧图片进行压缩处理后再处理并显示在智能手表的屏幕上,
通过对第一压缩标准的选择,使得智能手表的摄像头模块所采集的每一帧图片均能够快速地显示以供用户预览,使用户预览过程中不会出现卡顿现象,解决了智能手表因配置较低不足以对原图片进行流畅显示的问题,提高用户使用智能手表的拍照体验。进一步地,响应于智能手表的拍照控件被触发的事件,获取拍照控件被触发时摄像头模块采集的图片,由于所获取的原图片的分辨率较大,处理和保存所耗费的时间较长,不能快速实时地为用户进行显示,因此同时利用两个线程,第一线程处理压缩图片尽快在屏幕上显示出拍照效果,第二线程处理原始分辨率图片并保存,使得用户在屏幕上看到的小图片与相册中保存的图片除了分辨率不同,其他显示效果完全一样,且保存的是高清图片,可以将该高清图片与其它智能终端之间进行分享,获得能够匹敌配置较高的其它类型的智能终端的拍照效果。
需要说明的是:
在此提供的算法和显示不与任何特定计算机、虚拟装置或者其它设备固有相关。各种通用装置也可以与基于在此的示教一起使用。根据上面的描述,构造这类装置所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公
开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的智能手表的拍照处理装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图4示出了用于执行根据本发明的方法的计算设备的框图。该计算设备传统上包括处理器410和存储器420形式的计算机程序产品或者计算机可读介质。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有存储用于执行上述方法中的任何方法步骤的程序代码431的存储空间430。例如,存储程序代码的存储空间430可以存储分别用于实现上面的方法中的各种步骤的各个程序代码431。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图5所示的便携式或者固定存储单元。该存储单元可以具有与图4的计算设备中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的计算机可读代码431’,即可以由诸如410之类的处理器读取的代码,当这些代码由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。
此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
Claims (22)
- 一种智能手表的拍照处理方法,包括:响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片;以及对于获取到的每帧图片:依据第一压缩标准,对该图片进行压缩处理;以及,将处理后的图片在智能手表的屏幕上进行显示。
- 如权利要求1所述的方法,其中,依据第一压缩标准,对该图片进行压缩处理的步骤包括:获取智能手表的屏幕的分辨率;以及,根据所获取的智能手表的屏幕的分辨率,将该图片压缩为适配于智能手表的屏幕的尺寸。
- 如权利要求1或2所述的方法,其中,在将处理后的图片在智能手表的屏幕上进行显示之前,该方法进一步包括:对压缩后的图片进行智能图像处理。
- 如权利要求3所述的方法,进一步包括:响应于智能手表的拍照控件被触发的事件,获取拍照控件被触发时智能手表的摄像头模块所采集到的图片;利用第一线程对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及利用第二线程对该图片进行所述智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。
- 如权利要求3所述的方法,其中,所述对压缩后的图片进行智能图像处理包括:统计该图片的全图灰度信息,判断该全图灰度信息是否低于预设阈值,若是,则对该图片进行亮度调整;和/或,将该图片分为背景区域和前景肤色区域,对该图片进行分区域处理,对背景区域做平滑和/或锐化处理,对前景肤色区域进行饱和度调整、美白、和/或嫩肤处理。
- 如权利要求3所述的方法,其中,所述对压缩后的图片进行智能图像处理包括:检测压缩后的该图片中的五官点,所述五官点包括:该图片中对应于人眼的两个点、对应于鼻尖的点、和对应于嘴角的两个点;根据检测到的五官点获知该图片中的人脸分布状态;以及从素材库中获取特效素材,将特效素材附加在该图片中的人脸的相应部位上。
- 如权利要求6所述的方法,其中,所述检测压缩后的该图片中的五官点包括:根据人脸五官模型,检测压缩后的该图片中的五官点。
- 如权利要求6所述的方法,其中,所述检测压缩后的该图片中的五官点包括:在检测该图片中的五官点的每一点时,根据所检测的前一帧图片中的相应点的位置,在该位置周围的预设区域范围内进行检测。
- 如权利要求4所述的方法,进一步包括:响应于智能手表的图片共享控件被触发的事件,将智能手表的相册根目录下的相应图片通过有线或无线的方式发送至其他终端设备。
- 如权利要求4所述的方法,进一步包括:设置定时器,响应于智能手表的拍照控件被触发的事件,开启定时器进行计时,当到达预设时刻时,获取到达该预设时刻时智能手表的摄像头模块所采集到的图片;利用该第一线程对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及利用该第二线程对该图片进行所述智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。
- 一种智能手表的拍照处理装置,包括:图片获取单元,适于响应于智能手表进入拍照模式的事件,启动拍照功能并获取智能手表的摄像头模块所采集到的图片;压缩处理单元,适于对于获取到的每帧图片,依据第一压缩标准,对该图片进行压缩处理;以及显示单元,适于将处理后的图片在智能手表的屏幕上进行显示。
- 如权利要求11所述的装置,其中,所述压缩处理单元,适于获取智能手表的屏幕的分辨率;以及,适于根据所获取的智能手表的屏幕的分辨率,将该图片压缩为适配于智能手表的屏幕的尺寸。
- 如权利要求11或12所述的装置,进一步包括:智能图像处理单元,适于对压缩后的图片进行智能图像处理。
- 如权利要求13所述的装置,进一步包括:线程控制单元和图片存储单元;所述图片获取单元,进一步适于响应于智能手表的拍照控件被触发的事件,获取拍照控件被触发时智能手表的摄像头模块所采集到的图片;以及所述线程控制单元,适于利用第一线程调度所述压缩处理单元、所述智能图像处理单元和所述显示单元,对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及,适于利用第二线程调度所述智能图像处理单元和图片存储单元,对该图片进行智能图像处理,并将智能图像处理后的图片保存在智能手表的相册根目录下。
- 如权利要求13所述的装置,其中,所述智能图像处理单元,适于统计该图片的全图灰度信息,判断该全图灰度信息是否低于预设阈值,若是,则对该图片进行亮度调整;和/或,所述智能图像处理单元,适于将该图片分为背景区域和前景肤色区域,对该图片进行分区域处理,对背景区域做平滑和/或锐化处理,对前景肤色区域进行饱和度调整、美白、和/或嫩肤处理。
- 如权利要求13所述的装置,其中,所述智能图像处理单元,适于检测压缩后的该图片中的五官点,所述五官点包括:该图片中对应于人眼的两个点、对应于鼻尖的点、和对应于嘴角的两个点;根据检测到的五官点获知该图片中的人脸分布状态;从素材库中获取特效素材,将特效素材附加在该图片中的人脸的相应部位上。
- 如权利要求16所述的装置,其中,所述智能图像处理单元,适于根据人脸五官模型,检测压缩后的该图片中的五官点。
- 如权利要求16所述的装置,其中,所述智能图像处理单元,适于在检测该图片中的五官点的每一点时,根据所检测的前一帧图片中的相应点的位置,在该位置周围的预设区域范围内进行检测。
- 如权利要求14所述的装置,进一步包括:图片分享单元,适于响应于智能手表的图片共享控件被触发的事件,将智能手表的相册根目录下的相应图片通过有线或无线的方式发送至其他终端设备。
- 如权利要求14所述的装置,其中,所述图片获取单元,进一步适于设置定时器,响应于智能手表的拍照控件被触发的事件,开启定时器进行计时,当到达预设时刻时,获取到达该预设时刻时智能手表的摄像头模块所采集到的图片;所述线程控制单元,适于利用该第一线程调度所述压缩处理单元、所述智能图像处理单元和显示单元,对该图片执行所述压缩处理、并对压缩处理后的图片执行智能图像处理和在智能手表的屏幕上进行显示的步骤;以及,适于利用该第二线程调度所述智能图像处理单元和图片存储单元,对该图片进行智能图像处理,将智能图像处理后的图片保存在智能手表的相册根目录下。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-10中的任一个所述的智能手表的拍照处理方法。
- 一种计算机可读介质,其中存储了如权利要求21所述的计算机程序。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610306050.1 | 2016-05-10 | ||
| CN201610306050.1A CN105915793A (zh) | 2016-05-10 | 2016-05-10 | 一种智能手表的拍照处理方法和装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017193796A1 true WO2017193796A1 (zh) | 2017-11-16 |
Family
ID=56748133
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/081458 Ceased WO2017193796A1 (zh) | 2016-05-10 | 2017-04-21 | 一种智能手表的拍照处理方法和装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105915793A (zh) |
| WO (1) | WO2017193796A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111753823A (zh) * | 2019-09-10 | 2020-10-09 | 广东小天才科技有限公司 | 一种定焦扫描的方法及智能手表 |
| US11381774B2 (en) | 2017-04-13 | 2022-07-05 | Carl Zeiss Microscopy Gmbh | Microscope system and method for operating a microscope system |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105915793A (zh) * | 2016-05-10 | 2016-08-31 | 北京奇虎科技有限公司 | 一种智能手表的拍照处理方法和装置 |
| CN107592450B (zh) * | 2017-08-30 | 2021-07-20 | 珠海豹趣科技有限公司 | 一种媒体数据处理方法及装置 |
| CN109523456B (zh) * | 2018-10-31 | 2023-04-07 | Oppo广东移动通信有限公司 | 图像处理方法和装置、电子设备、计算机可读存储介质 |
| CN111176602B (zh) * | 2019-12-27 | 2021-09-28 | 惠州Tcl移动通信有限公司 | 图片显示方法、装置、存储介质及智能设备 |
| CN114462106B (zh) * | 2020-11-10 | 2025-07-08 | 华为技术有限公司 | 一种界面的显示方法和可穿戴电子设备 |
| CN113961831A (zh) * | 2021-08-10 | 2022-01-21 | 上海探寻信息技术有限公司 | 一种信息传输方法、处理方法及可读存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104715447A (zh) * | 2015-03-02 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | 图像合成方法和装置 |
| CN104778712A (zh) * | 2015-04-27 | 2015-07-15 | 厦门美图之家科技有限公司 | 一种基于仿射变换的人脸贴图方法和系统 |
| CN104869305A (zh) * | 2014-02-20 | 2015-08-26 | 三星电子株式会社 | 处理图像数据的方法及其装置 |
| CN105389074A (zh) * | 2015-07-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | 一种智能手表的控制方法及智能手表 |
| CN105915793A (zh) * | 2016-05-10 | 2016-08-31 | 北京奇虎科技有限公司 | 一种智能手表的拍照处理方法和装置 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW201227494A (en) * | 2010-12-24 | 2012-07-01 | Wistron Corp | Method of picture display and device thereof |
| CN103079004B (zh) * | 2012-12-28 | 2015-10-07 | 广东欧珀移动通信有限公司 | 一种定时拍照的示意方法、装置以及移动终端 |
-
2016
- 2016-05-10 CN CN201610306050.1A patent/CN105915793A/zh active Pending
-
2017
- 2017-04-21 WO PCT/CN2017/081458 patent/WO2017193796A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104869305A (zh) * | 2014-02-20 | 2015-08-26 | 三星电子株式会社 | 处理图像数据的方法及其装置 |
| CN104715447A (zh) * | 2015-03-02 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | 图像合成方法和装置 |
| CN104778712A (zh) * | 2015-04-27 | 2015-07-15 | 厦门美图之家科技有限公司 | 一种基于仿射变换的人脸贴图方法和系统 |
| CN105389074A (zh) * | 2015-07-28 | 2016-03-09 | 广东欧珀移动通信有限公司 | 一种智能手表的控制方法及智能手表 |
| CN105915793A (zh) * | 2016-05-10 | 2016-08-31 | 北京奇虎科技有限公司 | 一种智能手表的拍照处理方法和装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11381774B2 (en) | 2017-04-13 | 2022-07-05 | Carl Zeiss Microscopy Gmbh | Microscope system and method for operating a microscope system |
| CN111753823A (zh) * | 2019-09-10 | 2020-10-09 | 广东小天才科技有限公司 | 一种定焦扫描的方法及智能手表 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105915793A (zh) | 2016-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108108415B (zh) | 图像处理方法、装置、存储介质和电子设备 | |
| CN108805047B (zh) | 一种活体检测方法、装置、电子设备和计算机可读介质 | |
| CN108475326B (zh) | 用于提供与图像关联的服务的方法、存储介质和电子设备 | |
| CN107886484B (zh) | 美颜方法、装置、计算机可读存储介质和电子设备 | |
| CN105915793A (zh) | 一种智能手表的拍照处理方法和装置 | |
| US11367196B2 (en) | Image processing method, apparatus, and storage medium | |
| CN108765033B (zh) | 广告信息推送方法和装置、存储介质、电子设备 | |
| US20150325023A1 (en) | Providing pre-edits for photos | |
| CN115836319B (zh) | 图像处理方法及装置 | |
| WO2017177768A1 (zh) | 一种信息处理方法及终端、计算机存储介质 | |
| WO2016180224A1 (zh) | 一种人物图像处理方法及装置 | |
| CN108492266B (zh) | 图像处理方法、装置、存储介质及电子设备 | |
| CN107424117B (zh) | 图像美颜方法、装置、计算机可读存储介质和计算机设备 | |
| KR102424296B1 (ko) | 복수의 영상들을 제공하기 위한 방법, 저장 매체 및 전자 장치 | |
| CN107820017A (zh) | 图像拍摄方法、装置、计算机可读存储介质和电子设备 | |
| EP3640951A1 (en) | Evaluating a condition of a person | |
| CN109791558B (zh) | 微动图的自动选择 | |
| CN110866139A (zh) | 一种化妆处理方法、装置及设备 | |
| KR102336448B1 (ko) | 사진 추출 전자 장치 및 방법 | |
| CN109194865A (zh) | 图像生成方法、装置、智能终端和计算机可读存储介质 | |
| CN106161962A (zh) | 一种图像处理方法及终端 | |
| US20160110909A1 (en) | Method and apparatus for creating texture map and method of creating database | |
| CN108093170B (zh) | 用户拍照方法、装置及设备 | |
| CN108322648B (zh) | 图像处理方法和装置、电子设备、计算机可读存储介质 | |
| CN107977437B (zh) | 图像处理方法、装置、存储介质和电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17795414 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17795414 Country of ref document: EP Kind code of ref document: A1 |