TWI549067B - Portable electronic device and image capturing method - Google Patents

Portable electronic device and image capturing method Download PDF

Info

Publication number
TWI549067B
TWI549067B TW104126337A TW104126337A TWI549067B TW I549067 B TWI549067 B TW I549067B TW 104126337 A TW104126337 A TW 104126337A TW 104126337 A TW104126337 A TW 104126337A TW I549067 B TWI549067 B TW I549067B
Authority
TW
Taiwan
Prior art keywords
resolution
image capturing
image
scene
text
Prior art date
Application number
TW104126337A
Other languages
Chinese (zh)
Other versions
TW201706911A (en
Inventor
郭嫚婷
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW104126337A priority Critical patent/TWI549067B/en
Application granted granted Critical
Publication of TWI549067B publication Critical patent/TWI549067B/en
Publication of TW201706911A publication Critical patent/TW201706911A/en

Links

Landscapes

  • Studio Devices (AREA)

Description

可攜式電子裝置以及影像擷取方法 Portable electronic device and image capturing method

本發明係有關於影像擷取方法,特別是有關於可判斷目標場景是否為文字類場景並依據判斷結果來決定擷取影像的解析度的可攜式電子裝置以及影像擷取方法。 The present invention relates to an image capturing method, and more particularly to a portable electronic device and an image capturing method that can determine whether a target scene is a text-like scene and determine a resolution of the captured image according to the determination result.

隨著科技進步,可攜式電子裝置,例如智慧型手機、平板電腦等等,已變得愈來愈普及。使用者經常使用可攜式電子裝置的內建影像擷取裝置來拍攝照片。當啟用影像擷取裝置時,會以預設好的解析度來拍攝照片。一般而言,使用者會預設較高的解析度以獲得較清楚的影像。不論目標場景為何,皆是以預設的高解析度來進行拍攝,然而,高解析度的影像在記憶體裝置中用了較大的儲存空間。此外,若是拍攝文件等場景,一般而言,僅需要能辨別其中的文字即可,因此不須以高解析度來進行拍攝。若仍以高解析度來拍攝文件,則浪費了儲存空間。若欲以不同的解析度來拍攝不同的目標場景(例如人物、風景、文件等),使用者在拍攝之前必須分別地手動調整解析度,藉此節省儲存空間,但是這種個別的手動調整對使用者而言相當不便利。 With the advancement of technology, portable electronic devices, such as smart phones, tablets, and the like, have become more and more popular. Users often use the built-in image capture device of the portable electronic device to take photos. When the image capture device is enabled, the photo is taken at a preset resolution. In general, the user will preset a higher resolution to obtain a clearer image. Regardless of the target scene, shooting is performed at a preset high resolution. However, high-resolution images use a large storage space in the memory device. In addition, in the case of a scene such as a document, in general, it is only necessary to be able to distinguish the characters therein, and therefore it is not necessary to take a picture with high resolution. If the file is still shot at high resolution, the storage space is wasted. If you want to shoot different target scenes (such as people, landscapes, files, etc.) with different resolutions, the user must manually adjust the resolution separately before shooting, thereby saving storage space, but this individual manual adjustment pair It is quite inconvenient for the user.

因此,本發明提供一種用於可攜式電子裝置的影 像擷取方法,其可自動地判斷目標場景是否為文字類場景並依據判斷結果來決定擷取影像的解析度,藉此可節省儲存空間。 Therefore, the present invention provides a shadow for a portable electronic device Like the capture method, it can automatically determine whether the target scene is a text-like scene and determine the resolution of the captured image according to the judgment result, thereby saving storage space.

本發明係提供一種影像擷取方法,用於一電子裝置。此方法包括以下步驟:當電子裝置處於一特定模式下,啟動電子裝置的影像擷取裝置,以獲得一目標場景的一預覽畫面;根據預覽畫面來判斷目標場景是否為一文字類場景;當判斷出目標場景不是文字類場景時,設定影像擷取裝置以具有一第一解析度;透過影像擷取裝置以第一解析度來對目標場景進行一影像擷取操作,以獲得一第一影像;當判斷出目標場景是文字類場景時,設定影像擷取裝置以具有一第二解析度,其中,第二解析度低於第一解析度;以及透過影像擷取裝置以第二解析度來對目標場景進行影像擷取操作,以獲得一第二影像。 The invention provides an image capturing method for an electronic device. The method includes the following steps: when the electronic device is in a specific mode, the image capturing device of the electronic device is activated to obtain a preview image of a target scene; and the preview image is used to determine whether the target scene is a text-like scene; When the target scene is not a text-like scene, the image capturing device is configured to have a first resolution; and the image capturing device performs an image capturing operation on the target scene by using the first resolution to obtain a first image; When it is determined that the target scene is a text-like scene, the image capturing device is configured to have a second resolution, wherein the second resolution is lower than the first resolution; and the image is captured by the image capturing device with the second resolution The scene performs an image capturing operation to obtain a second image.

本發明係另提供一種可攜式電子裝置,其包括影像擷取裝置以及處理器。當可攜式電子裝置處於一特定模式下,影像擷取裝置啟動以獲得一目標場景的一預覽畫面。處理器在特定模式下執行下列步驟:根據預覽畫面來判斷目標場景是否為一文字類場景;當判斷出目標場景不是文字類場景時,設定影像擷取裝置以具有一第一解析度;透過影像擷取裝置以第一解析度來對目標場景進行一影像擷取操作,以獲得一第一影像;當判斷出目標場景是文字類場景時,設定影像擷取裝置以具有一第二解析度,其中,第二解析度低於第一解析度。透過影像擷取裝置以第二解析度來該目標場景進行影像擷取操作,以獲得一第二影像。 The invention further provides a portable electronic device, which comprises an image capturing device and a processor. When the portable electronic device is in a specific mode, the image capturing device is activated to obtain a preview image of a target scene. The processor performs the following steps in the specific mode: determining whether the target scene is a text-like scene according to the preview image; and determining that the target scene is not a text-like scene, setting the image capturing device to have a first resolution; The capturing device performs an image capturing operation on the target scene with a first resolution to obtain a first image; and when determining that the target scene is a text-like scene, setting the image capturing device to have a second resolution, wherein The second resolution is lower than the first resolution. And performing an image capturing operation on the target scene by using the image capturing device to obtain a second image.

100‧‧‧可攜式電子裝置 100‧‧‧Portable electronic devices

110‧‧‧處理器 110‧‧‧ processor

112‧‧‧記憶體控制器 112‧‧‧ memory controller

115‧‧‧週邊介面 115‧‧‧ peripheral interface

116‧‧‧積體電路 116‧‧‧Integrated circuit

120‧‧‧記憶體單元 120‧‧‧ memory unit

121‧‧‧影像資料 121‧‧‧Image data

122‧‧‧作業系統 122‧‧‧Operating system

124‧‧‧通訊模組 124‧‧‧Communication Module

125‧‧‧顯示模組 125‧‧‧ display module

126‧‧‧接觸動作模組 126‧‧‧Contact Action Module

128‧‧‧圖形模組 128‧‧‧Graphics module

130‧‧‧應用程式 130‧‧‧Application

131‧‧‧鍵盤模組 131‧‧‧ keyboard module

140‧‧‧觸控螢幕 140‧‧‧ touch screen

150‧‧‧無線傳輸電路 150‧‧‧Wireless transmission circuit

155‧‧‧天線 155‧‧‧Antenna

160‧‧‧影像擷取裝置 160‧‧‧Image capture device

170‧‧‧儲存單元 170‧‧‧ storage unit

200、400、500、600‧‧‧影像擷取方法 200, 400, 500, 600‧‧‧ image acquisition methods

300、310‧‧‧儲存空間 300, 310‧‧‧ storage space

S201-S213‧‧‧步驟 S201-S213‧‧‧Steps

S401-S406‧‧‧步驟 S401-S406‧‧‧Steps

S501-S504‧‧‧步驟 S501-S504‧‧‧Steps

S601-S604‧‧‧步驟 S601-S604‧‧‧Steps

第1圖表示根據本發明一實施例之可攜式電子裝置的功能方塊圖。 1 is a functional block diagram of a portable electronic device in accordance with an embodiment of the present invention.

第2圖表示根據本發明一實施例的影像擷取方法。 FIG. 2 shows an image capturing method according to an embodiment of the present invention.

第3圖表示根據本發明一實施例的可攜式電子裝置與外部儲存空間的連接示意圖。 FIG. 3 is a schematic diagram showing the connection between the portable electronic device and the external storage space according to an embodiment of the invention.

第4A-4B圖表示根據本發明另一實施例的影像擷取方法。 4A-4B illustrate an image capture method in accordance with another embodiment of the present invention.

第5A-5B圖表示根據本發明又一實施例的影像擷取方法。 5A-5B are diagrams showing an image capturing method according to still another embodiment of the present invention.

第6A-6B圖表示根據本發明一實施例的影像擷取方法。 6A-6B illustrate an image capture method in accordance with an embodiment of the present invention.

為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。 The above described objects, features and advantages of the present invention will become more apparent from the description of the appended claims.

第1圖係顯示依據本發明一實施例之可攜式電子裝置100的功能方塊圖。可攜式電子裝置100係主要包括一處理器110、一記憶體單元120、一觸控螢幕140、一無線傳輸電路150、一影像擷取裝置160、以及一儲存單元171。在一實施例中,可攜式電子裝置100係可為一手機、一智慧型手機或一平板電腦。處理器110可為一或多個處理器、影像處理器、及/或中央處理器,其可用以執行儲存於記憶單元120中的一或多種類型之電腦可讀媒體。處理器110係經由一週邊介面115耦接至觸控螢幕140、無線傳輸電路150、以及影像擷取裝置160,如第1圖所示。 1 is a functional block diagram of a portable electronic device 100 in accordance with an embodiment of the present invention. The portable electronic device 100 mainly includes a processor 110, a memory unit 120, a touch screen 140, a wireless transmission circuit 150, an image capturing device 160, and a storage unit 171. In an embodiment, the portable electronic device 100 can be a mobile phone, a smart phone, or a tablet computer. Processor 110 can be one or more processors, image processors, and/or central processing units that can be used to execute one or more types of computer readable media stored in memory unit 120. The processor 110 is coupled to the touch screen 140, the wireless transmission circuit 150, and the image capturing device 160 via a peripheral interface 115, as shown in FIG.

無線傳輸電路150可以是一射頻電路(radio frequency),其耦接至一或多個天線155,且可透過一無線網路讓可攜式電子裝置100與一或多個額外的裝置、電腦、及/或伺服器進行通訊。可攜式電子裝置100可支援多種通訊協定,例如CDMA、GSM、EDGE、HSDPA、Wifi(例如IEEE 802.11a/b/g/n)、Bluetooth、Wi-MAX、電子郵件協定、即時訊息(instant messaging)、及/或一短訊服務(SMS),但本發明並不限於此。在另一實施例中,無線傳輸電路150可以是一紅外線傳輸電路,而在此實施例下則不需要配置天線155。 The wireless transmission circuit 150 can be a radio frequency coupled to one or more antennas 155 and can be used to connect the portable electronic device 100 to one or more additional devices, computers, And / or the server to communicate. The portable electronic device 100 can support various communication protocols, such as CDMA, GSM, EDGE, HSDPA, Wifi (such as IEEE 802.11a/b/g/n), Bluetooth, Wi-MAX, email protocol, instant messaging (instant messaging). And/or a short message service (SMS), but the invention is not limited thereto. In another embodiment, the wireless transmission circuit 150 can be an infrared transmission circuit, and in this embodiment, the antenna 155 need not be configured.

影像擷取裝置160可擷取可攜式電子裝置100的外在場景的至少一畫面,且將擷取畫面後獲得的感測信號透過周邊介面115傳送至記憶體單元120作暫存(即影像資料121)。當處理器110需要對擷取到的畫面進行處理時,處理器110則透過記憶體控制器112自記憶120讀出感測信號。周邊介面115可以有線或無線的方式連接影像擷取裝置160。在第1圖的實施例中,影像擷取裝置160是內建於可攜式電子裝置100的相機裝置,包括鏡頭、感測元件、感測信號產生器等等。在另一實施例中,影像擷取裝置160可以是獨立於可攜式電子裝置100並以有線或無線的方式連接可攜式電子裝置100的一相機裝置。在又一實施例中,影像擷取裝置160是實施在另一電子裝置上並以有線或無線的方式連接可攜式電子裝置100的一相機裝置。 The image capture device 160 captures at least one image of the external scene of the portable electronic device 100, and transmits the sensing signal obtained after the captured image is transmitted to the memory unit 120 through the peripheral interface 115 for temporary storage (ie, image). Information 121). When the processor 110 needs to process the captured image, the processor 110 reads the sensing signal from the memory 120 through the memory controller 112. The peripheral interface 115 can be connected to the image capturing device 160 in a wired or wireless manner. In the embodiment of FIG. 1 , the image capturing device 160 is a camera device built in the portable electronic device 100 , including a lens, a sensing component, a sensing signal generator, and the like. In another embodiment, the image capturing device 160 can be a camera device that is independent of the portable electronic device 100 and that connects the portable electronic device 100 in a wired or wireless manner. In still another embodiment, the image capturing device 160 is a camera device implemented on another electronic device and connected to the portable electronic device 100 in a wired or wireless manner.

觸控螢幕140係可用任何目前已知的或之後所發展的觸控偵測技術來偵測接觸及任何其移動或停止動作,其中上述觸控偵測技術包括但不限於電容式(capacitive)、電阻式 (resistive)、紅外線(infrared)、表面聲波(surface acoustic wave)技術、以及其他近接感測陣列(proximity sensor array)或可藉由觸控螢幕140來決定一個多個接觸點之其他元件。然而,觸控螢幕140更可顯示來自可攜式電子裝置100之視訊輸出。舉例來說,可透過觸控螢幕140來觀看由影像擷取裝置160獲得的即時場景預覽畫面,或者可透過觸控螢幕140來觀看由影像擷取裝置160擷取獲得的影像。在一些實施例中,可攜式電子裝置100可包括支援位置決定功能之一電路,例如是全球衛星定位裝置(Global Positioning System)。 The touch screen 140 can detect any contact or any movement or stop action by any currently known or later developed touch detection technology, including but not limited to capacitive, Resistive Resistive, infrared, surface acoustic wave technology, and other proximity sensor arrays or other components that can be used to determine a plurality of contact points by touch screen 140. However, the touch screen 140 can display the video output from the portable electronic device 100. For example, the instant scene preview image obtained by the image capturing device 160 can be viewed through the touch screen 140, or the image captured by the image capturing device 160 can be viewed through the touch screen 140. In some embodiments, the portable electronic device 100 can include one of the circuits supporting the position determining function, such as a Global Positioning System.

記憶體控制器112係耦接於記憶體單元120,其中記憶體單元120係包括一或多種類型之電腦可儲媒體。記憶體單元120可包括高速隨機存取記憶體(例如SRAM或DRAM)、及/或非揮發式記憶體,例如一或多個磁碟儲存裝置、一或多個光儲裝置、及/或快閃記憶體。記憶體單元120係儲存一作業系統122,例如是LINUX、UNIX、OS X、Windows、或一嵌入式作業系統,例如是VxWorks。作業系統122係包括用以處理基本系統服務及執行硬體從屬之工作(hardware dependent tasks)之複數程序。記憶體單元120更可儲存通訊程序在一通訊模組124中。所述通訊程序係用以與一或多個額外的裝置、一或多台電腦、及/或一或多台伺服器進行通訊。記憶體單元120更可包括一顯示模組125、一接觸動作模組126及一圖形模組128,其中接觸動作模組126係用以決定一或多個接觸點及/或其移動動作。圖形模組128係支援界面工具集(widget),意即具有嵌入式圖形之模組或應用程式。界面工具集係可用JavaScipt、HTML、 Adobe Flash或其他適合的電腦程式語言或技術來實現。在一些實施例中,處理器110、記憶體控制器112及/或週邊介面115可以為個別的元件,亦可整合於一積體電路(Integrated Circuit)116中。當影像擷取裝置160進行影像擷取操作時,擷取畫面後所產生的影像會先暫時儲存在記憶體單元120。當處理器110發出儲存影像的指令時,暫存在記憶體單元120的影像則透過記憶體控制器112以及周邊介面115傳送到儲存單元170進行儲存。儲存單元170可以是可攜式電子裝置100的一部分或是可攜式電子裝置100的外部裝置。儲存單元170可以有線或無線的方式連接週邊介面115。儲存單元170可以是硬碟、記憶卡等儲存裝置。 The memory controller 112 is coupled to the memory unit 120, wherein the memory unit 120 includes one or more types of computer-storable media. The memory unit 120 can include high speed random access memory (eg, SRAM or DRAM), and/or non-volatile memory, such as one or more disk storage devices, one or more optical storage devices, and/or fast Flash memory. The memory unit 120 stores an operating system 122, such as LINUX, UNIX, OS X, Windows, or an embedded operating system, such as VxWorks. Operating system 122 includes a plurality of programs for processing basic system services and performing hardware dependent tasks. The memory unit 120 can further store the communication program in a communication module 124. The communication program is for communicating with one or more additional devices, one or more computers, and/or one or more servers. The memory unit 120 further includes a display module 125, a contact action module 126, and a graphics module 128. The contact action module 126 is used to determine one or more contact points and/or their movement actions. The graphics module 128 supports an interface tool set (widget), which means a module or application with embedded graphics. The interface toolset is available in JavaScipt, HTML, Adobe Flash or other suitable computer programming language or technology to achieve. In some embodiments, the processor 110, the memory controller 112, and/or the peripheral interface 115 may be individual components, or may be integrated into an integrated circuit 116. When the image capturing device 160 performs an image capturing operation, the image generated after capturing the image is temporarily stored in the memory unit 120. When the processor 110 issues an instruction to store the image, the image temporarily stored in the memory unit 120 is transmitted to the storage unit 170 through the memory controller 112 and the peripheral interface 115 for storage. The storage unit 170 can be part of the portable electronic device 100 or an external device of the portable electronic device 100. The storage unit 170 can connect the peripheral interface 115 in a wired or wireless manner. The storage unit 170 may be a storage device such as a hard disk or a memory card.

記憶體元件120更可包括一或多個應用程式130。舉例來說,儲存在記憶單元120中的應用程式可包括電話應用程式、電子郵件應用程式、文字訊息或即時訊息應用程式、筆記本應用程式、通訊錄或好友名單(contact list)、日曆、影像擷取及影像管理應用程式、及音樂播放及音樂管理應用程式。應用程式130可包括一網頁瀏覽器(第1圖中未繪示)用以繪示以HTML、WML或其他可組成網頁或其他線上內之語言所寫成的頁面。記憶體單元120更包括一鍵盤模組(或一指令集)131,用以操作一或多個軟體鍵盤。 The memory component 120 can further include one or more applications 130. For example, the application stored in the memory unit 120 may include a phone application, an email application, a text message or instant messaging application, a notebook application, an address book or a contact list, a calendar, and an image file. Access to image management applications, music playback and music management applications. The application 130 can include a web browser (not shown in FIG. 1) for depicting pages written in HTML, WML, or other language that can be composed into web pages or other online languages. The memory unit 120 further includes a keyboard module (or an instruction set) 131 for operating one or more software keyboards.

需注意的是,上述各模組及各應用程式係與一指令集有關,用以操作如前述實施例中的一或多個功能。這些模組(即指令集)可不必以不同的軟體程式、程序或模組來實現。不同的模組或子模組可重新排列及/或合併。可攜式電子裝置 100中的多種功能可用硬體及/或軟體來實現,其可包括一或多個訊號處理及/或應用程式導向之積體電路(Application Specific Integrated circuit,ASIC)。 It should be noted that each of the above modules and each application system is associated with an instruction set for operating one or more functions as in the foregoing embodiments. These modules (ie, instruction sets) do not have to be implemented in different software programs, programs, or modules. Different modules or sub-modules can be rearranged and/or merged. Portable electronic device The various functions in 100 may be implemented in hardware and/or software, which may include one or more signal processing and/or application specific integrated circuits (ASICs).

第2圖係表示根據本發明一實施例的影像擷取方法。以下將配合第1與2圖來說明影像擷取方法200。當處理器110從記憶體元件120載入影像擷取應用程式130(步驟S201)時,處理器110判斷儲存單元170目前的剩餘儲存空間是否小於一既定空間(步驟S202)。若處理器110判斷出儲存單元170目前的剩餘儲存空間不小於既定空間時,可攜式電子裝置100則進入一預設模式來進行影像擷取操作,即對目標場景進行影像拍攝(步驟S203)。當可攜式電子裝置100處於預設模式下進行影像擷取操作時,處理器110啟動影像擷取裝置160,此時,影像擷取裝置160以一預設解析度來對目標場景進行影像擷取操作(步驟S204)。在此實施例中,預設解析度是由可攜式電子裝置100出廠時設定的解析度,或是最近設定的解析度。換句話說,在預設模式下,解析度不會進行調整或改變。當影像擷取裝置160進行影像擷取操作時,擷取到的影像會先暫時儲存在記憶體單元120(即影像資料121)。在一些情況下,例如接收到儲存指令,處理器110則透過記憶體控制器112以及週邊介面115將暫時儲存在記憶體單元120的影像傳送到儲存單元170進行儲存。 2 is a diagram showing an image capturing method according to an embodiment of the present invention. The image capturing method 200 will be described below in conjunction with FIGS. 1 and 2. When the processor 110 loads the image capturing application 130 from the memory component 120 (step S201), the processor 110 determines whether the current remaining storage space of the storage unit 170 is smaller than a predetermined space (step S202). If the processor 110 determines that the current storage space of the storage unit 170 is not less than the predetermined space, the portable electronic device 100 enters a preset mode to perform an image capturing operation, that is, performing image capturing on the target scene (step S203). . When the image capturing operation is performed by the portable electronic device 100 in the preset mode, the processor 110 activates the image capturing device 160. At this time, the image capturing device 160 performs image scanning on the target scene with a preset resolution. The operation is taken (step S204). In this embodiment, the preset resolution is the resolution set by the portable electronic device 100 at the time of shipment, or the resolution set recently. In other words, in the preset mode, the resolution will not be adjusted or changed. When the image capturing device 160 performs an image capturing operation, the captured image is temporarily stored in the memory unit 120 (ie, the image data 121). In some cases, for example, when the storage command is received, the processor 110 transmits the image temporarily stored in the memory unit 120 to the storage unit 170 through the memory controller 112 and the peripheral interface 115 for storage.

若處理器110判斷出影像儲存單元121目前的剩餘儲存空間小於既定空間時,可攜式電子裝置100則進入一特定模式來進行影像擷取操作(步驟S205)。在特定模式下,處理 器110啟動影像擷取裝置160以獲得目標場景的一預覽畫面(步驟S206)。此預覽畫面可顯示於觸控螢幕140。獲得預覽畫面後,處理器110根據此預覽畫面來判斷目標場景是否為一文字類場景(步驟S207)。本說明書中所述的文字類場景是指主要是以文字所組成的場景,例如包括文字筆記的場景、包括書籍內文的場景等等。而非文字類場景則是指主要是以人物或風景所成的場景,例如包括至少一人物的場景、包括山麓、河水、以及/或植物的場景等等。 If the processor 110 determines that the current remaining storage space of the image storage unit 121 is smaller than the predetermined space, the portable electronic device 100 enters a specific mode to perform an image capturing operation (step S205). In a specific mode, processing The device 110 activates the image capturing device 160 to obtain a preview image of the target scene (step S206). This preview screen can be displayed on the touch screen 140. After obtaining the preview picture, the processor 110 determines whether the target scene is a character-like scene based on the preview screen (step S207). The text-type scenes described in this specification refer to scenes mainly composed of words, such as scenes including text notes, scenes including book texts, and the like. A non-textual scene refers to a scene mainly composed of a person or a landscape, such as a scene including at least one character, a scene including a mountain, a river, and/or a plant, and the like.

當處理器110判斷出目標場景不是文字類場景時,處理器110則透過周邊介面115來設定影像擷取裝置160執行影像擷取操作時的解析度,將其設定為具有第一數值的解析度(步驟S208)。之後,影像擷取裝置160則以具有第一數值的解析度來進行影像擷取操作,以獲得目標場景的影像(步驟S209)。此獲得的影像會暫存在記憶體單元120(即影像資料121)。在一些情況下,例如接收到儲存指令時,處理器110則透過記憶體控制器112以及週邊介面115將儲存在記憶體單元120的影像傳送到儲存單元170進行儲存,或者透過周邊裝置115、無線傳輸電路150、以及天線155將儲存在記憶體單元120的影像傳送到可攜式電子裝置100外部的一儲存空間300/310(參閱第3圖),例如,雲端儲存空間(步驟S210)。在一些實施例中,處理器110可同時地將儲存在記憶體單元120的影像傳送到儲存單元170以及儲存空間300/310進行儲存。 When the processor 110 determines that the target scene is not a character-like scene, the processor 110 sets the resolution of the image capturing device 160 to perform an image capturing operation through the peripheral interface 115, and sets the resolution to have a first value. (Step S208). Thereafter, the image capturing device 160 performs an image capturing operation with a resolution having a first value to obtain an image of the target scene (step S209). The obtained image is temporarily stored in the memory unit 120 (ie, the image data 121). In some cases, for example, when the storage instruction is received, the processor 110 transmits the image stored in the memory unit 120 to the storage unit 170 through the memory controller 112 and the peripheral interface 115 for storage, or through the peripheral device 115, wireless. The transmission circuit 150 and the antenna 155 transmit the image stored in the memory unit 120 to a storage space 300/310 (see FIG. 3) outside the portable electronic device 100, for example, a cloud storage space (step S210). In some embodiments, the processor 110 can simultaneously transfer images stored in the memory unit 120 to the storage unit 170 and the storage space 300/310 for storage.

當處理器110判斷出目標場景是文字類場景時,處理器110則透過周邊介面115來設定影像擷取裝置160執行影像 擷取操作時的解析度,將其設定為具有第二數值的解析度(步驟S211)。之後,影像擷取裝置160則以具有第二數值的解析度來進行影像擷取操作,以獲得目標場景的影像(步驟S212)。在此實施例中S207,第二數值小於第一數值。換句話說,具有第二數值的解析度低於具有第一數值的解析度。此獲得的影像會暫存在記憶體單元120(即影像資料121)。在一些情況下,例如接收到儲存指令時,處理器110則透過記憶體控制器112以及週邊介面115將儲存在記憶體單元120的影像傳送到儲存單元170進行儲存,或者透過周邊裝置115、無線傳輸電路150、以及天線155將儲存在記憶體單元120的影像傳送到可攜式電子裝置100外部的一儲存空間300/310(參閱第3圖),例如,雲端儲存空間(步驟S213)。在一些實施例中,處理器110可同時地將儲存在記憶體單元120的影像傳送到儲存單元170以及儲存空間300/310進行儲存。在此實施例中,儲存空間300與310是分屬於不同的雲端儲存器,或者是分屬於同一雲端儲存器中不同的空間。 When the processor 110 determines that the target scene is a text-like scene, the processor 110 sets the image capturing device 160 to execute the image through the peripheral interface 115. The resolution at the time of the operation is extracted, and it is set to have the resolution of the second numerical value (step S211). Thereafter, the image capturing device 160 performs an image capturing operation with a resolution having a second value to obtain an image of the target scene (step S212). In this embodiment, S207, the second value is less than the first value. In other words, the resolution with the second value is lower than the resolution with the first value. The obtained image is temporarily stored in the memory unit 120 (ie, the image data 121). In some cases, for example, when the storage instruction is received, the processor 110 transmits the image stored in the memory unit 120 to the storage unit 170 through the memory controller 112 and the peripheral interface 115 for storage, or through the peripheral device 115, wireless. The transmission circuit 150 and the antenna 155 transmit the image stored in the memory unit 120 to a storage space 300/310 (see FIG. 3) outside the portable electronic device 100, for example, a cloud storage space (step S213). In some embodiments, the processor 110 can simultaneously transfer images stored in the memory unit 120 to the storage unit 170 and the storage space 300/310 for storage. In this embodiment, the storage spaces 300 and 310 belong to different cloud storages, or belong to different spaces in the same cloud storage.

根據上述可得知,當儲存單元170剩餘儲存空間不足時,可攜式電子裝置100則進入特定模式,藉由判斷目標場景是否為文字類場景來選擇性地設定影像擷取裝置160的解析度。如此一來,影像擷取裝置160能以較低的解析度來擷取文字類場景的影像,而以較高的解析度來擷取非文字類場景的影像,藉此,儲存單元170的剩餘空間能被有效地利用。因此,特定模式也就是能有效利用儲存空間的節省模式。再者,在預設模式下,執行影像擷取操作所獲得的影像可傳送至外部的儲 存空間300/310進行儲存,藉此可避免使用影像儲存單元121中已不足的剩餘空間。 According to the above, when the remaining storage space of the storage unit 170 is insufficient, the portable electronic device 100 enters a specific mode, and the resolution of the image capturing device 160 is selectively set by determining whether the target scene is a character-like scene. . In this way, the image capturing device 160 can capture the image of the text-like scene with a lower resolution, and capture the image of the non-text-like scene with a higher resolution, thereby remaining the storage unit 170. Space can be used effectively. Therefore, the specific mode is a saving mode that can effectively utilize the storage space. Furthermore, in the preset mode, the image obtained by performing the image capturing operation can be transmitted to the external storage. The storage space 300/310 is stored, thereby avoiding the use of the remaining space in the image storage unit 121 that is insufficient.

第4A-4B圖係表示根據本發明另一實施例的影像擷取方法。第4A-4B圖的影像擷取方法400與第2圖的影像擷取方法200大致上相同,惟不同之處在於判斷出目標場景為文字類場景後的步驟。在下文中,第2與4A-4B圖中相同的步驟將不再贅述。參閱第4A-4B圖,當處理器110判斷出目標場景是文字類場景時,處理器110接著判斷在預覽畫面中的至少一個文字是否大於一既定尺寸(步驟S401)。當處理器110判斷出此至少一個文字不大於既定尺寸,這表示在預覽畫面中呈現較小的文字。此時,處理器110則透過周邊介面115來設定影像擷取裝置160執行影像擷取操作時的解析度,將其設定為具有第三數值的解析度(步驟S402)。之後,影像擷取裝置160則以具有第三數值的解析度來進行影像擷取操作,以獲得目標場景的影像(步驟S403)。此獲得的影像會暫存在記憶體單元120(即影像資料121)。在一些情況下,例如接收到儲存指令時,處理器110則透過記憶體控制器112以及週邊介面115將儲存在記憶體單元120的影像傳送到儲存單元170進行儲存,或者透過周邊裝置115、無線傳輸電路150、以及天線155將儲存在記憶體單元120的影像傳送到可攜式電子裝置100外部的儲存空間300/310(參閱第3圖),例如,雲端儲存空間(步驟S404)。在一些實施例中,處理器110可同時地將儲存在記憶體單元120的影像傳送到儲存單元170以及儲存空間300/310進行儲存。 4A-4B is a diagram showing an image capturing method according to another embodiment of the present invention. The image capturing method 400 of FIG. 4A-4B is substantially the same as the image capturing method 200 of FIG. 2, except that the step after the target scene is determined to be a character-like scene is determined. In the following, the same steps in the 2nd and 4A-4B drawings will not be described again. Referring to FIGS. 4A-4B, when the processor 110 determines that the target scene is a text-like scene, the processor 110 then determines whether at least one of the characters in the preview screen is greater than a predetermined size (step S401). When the processor 110 determines that the at least one character is not larger than a predetermined size, this means that a smaller text is presented in the preview screen. At this time, the processor 110 sets the resolution when the image capturing device 160 performs the image capturing operation through the peripheral interface 115, and sets the resolution to have the third numerical value (step S402). Thereafter, the image capturing device 160 performs an image capturing operation with a resolution having a third value to obtain an image of the target scene (step S403). The obtained image is temporarily stored in the memory unit 120 (ie, the image data 121). In some cases, for example, when the storage instruction is received, the processor 110 transmits the image stored in the memory unit 120 to the storage unit 170 through the memory controller 112 and the peripheral interface 115 for storage, or through the peripheral device 115, wireless. The transmission circuit 150 and the antenna 155 transfer the image stored in the memory unit 120 to the storage space 300/310 (see FIG. 3) outside the portable electronic device 100, for example, a cloud storage space (step S404). In some embodiments, the processor 110 can simultaneously transfer images stored in the memory unit 120 to the storage unit 170 and the storage space 300/310 for storage.

當處理器110判斷出此至少一個文字大於既定尺 寸,這表示在預覽畫面中呈現較大的文字。此時,處理器110則透過周邊介面115來設定影像擷取裝置160執行影像擷取操作時的解析度,將其設定為具有第四數值的解析度(步驟S405)。之後,影像擷取裝置160則以具有第四數值的解析度來進行影像擷取操作,以獲得目標場景的影像(步驟S406)。在此實施例中,第四數值小於第三數值且第三數值小於第一數值。換句話說,具有第四數值的解析度低於具有第三數值的解析度,且具有第三數值的解析度低於具有第一數值的解析度。之後,影像擷取方法400則執行影像儲存的步驟S404,以將在步驟S406中獲得的影像儲存在儲存單元170以及/或雲端空間300/310。 When the processor 110 determines that the at least one character is greater than the predetermined size Inch, this means that larger text is presented in the preview. At this time, the processor 110 sets the resolution when the image capturing device 160 performs the image capturing operation through the peripheral interface 115, and sets the resolution to have the fourth numerical value (step S405). Thereafter, the image capturing device 160 performs an image capturing operation with a resolution having a fourth value to obtain an image of the target scene (step S406). In this embodiment, the fourth value is less than the third value and the third value is less than the first value. In other words, the resolution having the fourth value is lower than the resolution having the third value, and the resolution having the third value is lower than the resolution having the first value. Thereafter, the image capturing method 400 performs step S404 of image storage to store the image obtained in step S406 in the storage unit 170 and/or the cloud space 300/310.

根據上述,在第4A-4B圖的實施例中,當影像儲存單元121的剩餘儲存空間不足時,不僅根據目標場景是否為文字類場景來選擇性地設定影像擷取裝置160的解析度,在目標場景為文字類場景的情況下,更根據目標場景中的文字大小來進一步選擇性地設定影像擷取裝置160的解析度。 According to the above, in the embodiment of FIG. 4A-4B, when the remaining storage space of the image storage unit 121 is insufficient, the resolution of the image capturing device 160 is selectively set according to whether the target scene is a text-like scene. In the case where the target scene is a character-like scene, the resolution of the image capturing device 160 is further selectively set according to the size of the text in the target scene.

第5A-5B圖係表示根據本發明又一實施例的影像擷取方法500。第5A-5B圖的影像擷取方法500與第2圖的影像擷取方法200大致上相同,惟不同之處在於影像擷取方法500進一步地敘述第2圖中步驟S207的詳細內容。在下文中,第2圖與第5A-5B圖中相同的步驟將不再贅述。參閱第5A-5B圖,在處理器110啟動影像擷取裝置160以獲得目標場景的預覽畫面(步驟S206)之後,處理器110檢查預覽畫面中是否具有至少一文字(步驟S501)。當處理器110檢查出預覽畫面中不具有至少一文 字,處理器110判定目標場景不是文字類場景(步驟S502)。之後,影像擷取方法500則由步驟S502進入到步驟S208。 5A-5B illustrate an image capture method 500 in accordance with yet another embodiment of the present invention. The image capturing method 500 of FIGS. 5A-5B is substantially the same as the image capturing method 200 of FIG. 2, except that the image capturing method 500 further describes the details of step S207 in FIG. In the following, the same steps in FIG. 2 and FIG. 5A-5B will not be described again. Referring to FIGS. 5A-5B, after the processor 110 activates the image capturing device 160 to obtain a preview screen of the target scene (step S206), the processor 110 checks whether there is at least one character in the preview screen (step S501). When the processor 110 checks that the preview picture does not have at least one text The word processor determines that the target scene is not a character-like scene (step S502). Thereafter, the image capturing method 500 proceeds from step S502 to step S208.

當處理器110檢查出預覽畫面中具有至少一文字,處理器110判斷所述至少一文字在預覽畫面中的一佔用空間是否大於一預設畫面空間(步驟S503)。當處理器110判斷出所述至少一文字的佔用空間不大於預設畫面空間,則處理器110判定目標場景不是文字類場景(步驟S502)。之後,影像擷取方法500則由步驟S502進入到步驟S208。當處理器110判斷出所述至少一文字的佔用空間大於預設畫面空間,則處理器110判定目標場景是文字類場景(步驟S504)。之後,影像擷取方法500則由步驟S504進入到步驟S211。 When the processor 110 detects that the preview image has at least one character, the processor 110 determines whether a occupied space of the at least one text in the preview image is greater than a preset screen space (step S503). When the processor 110 determines that the occupied space of the at least one character is not greater than the preset picture space, the processor 110 determines that the target scene is not a text-like scene (step S502). Thereafter, the image capturing method 500 proceeds from step S502 to step S208. When the processor 110 determines that the occupied space of the at least one character is greater than the preset picture space, the processor 110 determines that the target scene is a text-like scene (step S504). Thereafter, the image capturing method 500 proceeds from step S504 to step S211.

第6A-6B圖係表示根據本發明另一實施例的影像擷取方法600。第6A-6B圖的影像擷取方法600與第4A-4B圖的影像擷取方法400大致上相同,惟不同之處在於影像擷取方法600進一步地敘述第4A-4B圖中步驟S207的詳細內容。在下文中,第4A-4B圖與第6A-6B圖中相同的步驟將不再贅述。參閱第6A-6B圖,在處理器110啟動影像擷取裝置160以獲得目標場景的預覽畫面(步驟S206)之後,處理器110檢查預覽畫面中是否具有至少一文字(步驟S601)。當處理器110檢查出預覽畫面中不具有至少一文字,處理器110判定目標場景不是文字類場景(步驟S602)。之後,影像擷取方法600則由步驟S502進入到步驟S208。 6A-6B are diagrams showing an image capture method 600 in accordance with another embodiment of the present invention. The image capturing method 600 of FIGS. 6A-6B is substantially the same as the image capturing method 400 of FIG. 4A-4B, except that the image capturing method 600 further describes the details of step S207 in FIG. 4A-4B. content. Hereinafter, the same steps in FIGS. 4A-4B and 6A-6B will not be described again. Referring to FIGS. 6A-6B, after the processor 110 starts the image capturing device 160 to obtain a preview screen of the target scene (step S206), the processor 110 checks whether there is at least one character in the preview screen (step S601). When the processor 110 checks that the preview picture does not have at least one character, the processor 110 determines that the target scene is not a character-like scene (step S602). Thereafter, the image capturing method 600 proceeds from step S502 to step S208.

當處理器110檢查出預覽畫面中具有至少一文字,處理器110判斷所述至少一文字在預覽畫面中的一佔用空 間是否大於一預設畫面空間(步驟S603)。當處理器110判斷出所述至少一文字的佔用空間不大於預設畫面空間,則處理器110判定目標場景不是文字類場景(步驟S602)。之後,影像擷取方法600則由步驟S602進入到步驟S208。當處理器110判斷出所述至少一文字的佔用空間大於預設畫面空間,則處理器110判定目標場景是文字類場景(步驟S604)。之後,影像擷取方法600則由步驟S604進入到步驟S401。 When the processor 110 checks that the preview image has at least one character, the processor 110 determines that the at least one text is occupied in the preview image. Whether it is greater than a predetermined screen space (step S603). When the processor 110 determines that the occupied space of the at least one character is not greater than the preset screen space, the processor 110 determines that the target scene is not a text-like scene (step S602). Thereafter, the image capturing method 600 proceeds from step S602 to step S208. When the processor 110 determines that the occupied space of the at least one character is greater than the preset picture space, the processor 110 determines that the target scene is a text-like scene (step S604). Thereafter, the image capturing method 600 proceeds from step S604 to step S401.

根據上述,在步驟S601中,檢查判斷預覽畫面中是否具有至少一文字是判斷目標場景是否為文字類場景的粗略判斷。在步驟S603,當預覽畫面中具有至少一文字時,則可藉由判斷所述至少一文字在預覽畫面中是否佔有較大空間,來精準地判斷目標場景是否為文字類場景。如此一來,即使在一目標場景中的人物穿著有文字的衣服或使人物的背景具有文字時,此目標場景不會被誤判為文字場景。 According to the above, in step S601, it is checked whether or not the at least one character in the preview screen is a rough determination as to whether or not the target scene is a character-like scene. In step S603, when there is at least one character in the preview screen, it can be accurately determined whether the target scene is a text-like scene by determining whether the at least one character occupies a large space in the preview image. In this way, even if a character in a target scene wears clothes with text or has a background of the character, the target scene is not misjudged as a text scene.

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 The present invention has been disclosed in the above preferred embodiments, and is not intended to limit the scope of the present invention. Any one of ordinary skill in the art can make a few changes without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.

200‧‧‧影像擷取方法 200‧‧‧Image acquisition method

S201-S2013‧‧‧步驟 S201-S2013‧‧‧Steps

Claims (14)

一種影像擷取方法,用於一電子裝置,該方法包括:當該電子裝置處於一特定模式下,啟動該電子裝置的一影像擷取裝置,以獲得一目標場景的一預覽畫面;根據該預覽畫面來判斷該目標場景是否為一文字類場景;當判斷出該目標場景不是該文字類場景時,設定該影像擷取裝置以具有一第一解析度;透過該影像擷取裝置以該第一解析度來對該目標場景進行一影像擷取操作,以獲得一第一影像;當判斷出該目標場景是該文字類場景時,設定該影像擷取裝置以具有一第二解析度,其中,該第二解析度低於該第一解析度;以及透過該影像擷取裝置以該第二解析度來對該目標場景進行該影像擷取操作,以獲得一第二影像。 An image capturing method for an electronic device, the method comprising: when the electronic device is in a specific mode, starting an image capturing device of the electronic device to obtain a preview image of a target scene; according to the preview The image is used to determine whether the target scene is a text-like scene. When it is determined that the target scene is not the text-like scene, the image capturing device is set to have a first resolution; and the first image is captured by the image capturing device. And performing an image capturing operation on the target scene to obtain a first image; and when determining that the target scene is the text type scene, setting the image capturing device to have a second resolution, wherein The second resolution is lower than the first resolution; and the image capturing device performs the image capturing operation on the target scene by using the second resolution to obtain a second image. 如申請專利範圍第1項所述之影像擷取方法,其中,當判斷出該目標場景是該文字類場景時,設定該影像擷取裝置以具有該第二解析度之步驟包括:當判斷出該目標場景是該文字類場景時,判斷在該預覽畫面中的至少一文字是否大於一既定尺寸;當判斷出該預覽畫面中的該至少一文字不大於該既定尺寸,設定該第二解析度具有一第一數值;以及當判斷出該預覽換面中的該至少一文字大於該既定尺寸,設定該第二解析度具有一第二數值,其中,具有該第一數值的第二解析度高於具有該第二數值的第二解析度。 The image capturing method of claim 1, wherein when the target scene is determined to be the character-type scene, the step of setting the image capturing device to have the second resolution comprises: when determining When the target scene is the text-based scene, determining whether at least one character in the preview image is greater than a predetermined size; and determining that the at least one character in the preview image is not greater than the predetermined size, setting the second resolution to have a a first value; and when it is determined that the at least one character in the preview facet is larger than the predetermined size, the second resolution is set to have a second value, wherein the second resolution having the first value is higher than the The second resolution of the second value. 如申請專利範圍第1項所述之影像擷取方法,其中,根據該預覽畫面來判斷該目標場景是否為該文字類場景之步驟包括;檢查該預覽畫面中是否具有至少一文字;當檢查出該預覽畫面中不具有該至少一文字,判定該目標場景不是該文字類場景;當檢查出該預覽畫面中具有該至少一文字,判斷該至少一文字在該預覽畫面中的一佔用空間是否大於一預設畫面空間;當判斷出該至少一文字的該佔用空間不大於該預設畫面空間,判定該目標場景不是該文字類場景;以及當判斷出該至少一文字的該佔用空間大於該預設畫面空間,判定該目標場景是該文字類場景。 The image capturing method of claim 1, wherein the step of determining whether the target scene is the text-type scene according to the preview screen comprises: checking whether the preview image has at least one character; The preview screen does not have the at least one character, and determines that the target scene is not the text type scene; when it is checked that the preview screen has the at least one text, it is determined whether a occupied space of the at least one text in the preview screen is greater than a preset screen. a space; determining that the occupied space of the at least one character is not greater than the preset picture space, determining that the target scene is not the text type scene; and determining that the occupied space of the at least one text is greater than the preset picture space, determining the The target scene is the text type scene. 如申請專利範圍第3項所述之影像擷取方法,其中,當判斷出該目標場景是該文字類場景時,設定該影像擷取裝置以具有該第二解析度之步驟包括:當判斷出該目標場景是該文字類場景時,判斷該至少一文字是否大於一既定尺寸;當判斷出該至少一文字不大於該既定尺寸,設定該第二解析度具有一第一數值;以及當判斷出該至少一文字大於該既定尺寸,設定該第二解析度具有一第二數值,其中,具有該第一數值的第二解析度高於具有該第二數值的第二解析度。 The image capturing method of claim 3, wherein when the target scene is determined to be the text-type scene, the step of setting the image capturing device to have the second resolution comprises: when determining When the target scene is the text type scene, determining whether the at least one character is greater than a predetermined size; and determining that the at least one character is not greater than the predetermined size, setting the second resolution to have a first value; and when determining the at least A text is greater than the predetermined size, and the second resolution is set to have a second value, wherein the second resolution having the first value is higher than the second resolution having the second value. 如申請專利範圍第1項所述之影像擷取方法,更包括:當判斷出該目標場景不是該文字類場景時,將該第一影像 儲存至一第一儲存空間;當判斷出該目標場景是該文字類場景時,將該第二影像儲存至一第二儲存空間。 The image capturing method of claim 1, further comprising: when determining that the target scene is not the text type scene, the first image The second image is stored in a second storage space when it is determined that the target scene is the text type scene. 如申請專利範圍第1項所述之影像擷取方法,更包括:判斷連接該電子裝置的一儲存單元的一剩餘儲存空間是否小於一既定空間;以及當判斷出該儲存單元的該剩餘儲存空間小於該既定空間,使該電子裝置進入該特定模式。 The image capturing method of claim 1, further comprising: determining whether a remaining storage space of a storage unit connected to the electronic device is smaller than a predetermined space; and determining the remaining storage space of the storage unit Less than the predetermined space, the electronic device enters the specific mode. 如申請專利範圍第6項所述之影像擷取方法,更包括:當判斷出該儲存單元的該剩餘儲存空間不小於該既定空間,使該電子裝置進入一預設模式;以及當該電子裝置處於該預設模式下,啟動該影像擷取裝置,並以一預設解析度來對該目標場景進行該影像擷取操作,以獲得一第三影像。 The image capturing method of claim 6, further comprising: when determining that the remaining storage space of the storage unit is not less than the predetermined space, causing the electronic device to enter a preset mode; and when the electronic device In the preset mode, the image capturing device is activated, and the image capturing operation is performed on the target scene with a preset resolution to obtain a third image. 一種可攜式電子裝置,包括:一影像擷取裝置,其中,當該可攜式電子裝置處於一特定模式下,該影像擷取裝置啟動以獲得一目標場景的一預覽畫面;以及一處理器,用以在該特定模式下執行下列步驟:根據該預覽畫面來判斷該目標場景是否為一文字類場景;當判斷出該目標場景不是該文字類場景時,設定該影像擷取裝置以具有一第一解析度;透過該影像擷取裝置以該第一解析度來對該目標場景進行一影像擷取操作,以獲得一第一影像; 當判斷出該目標場景是該文字類場景時,設定該影像擷取裝置以具有一第二解析度,其中,該第二解析度低於該第一解析度;以及透過該影像擷取裝置以該第二解析度來對該目標場景進行該影像擷取操作,以獲得一第二影像。 A portable electronic device includes: an image capturing device, wherein when the portable electronic device is in a specific mode, the image capturing device is activated to obtain a preview image of a target scene; and a processor For performing the following steps in the specific mode: determining whether the target scene is a text type scene according to the preview image; and determining that the target scene is not the text type scene, setting the image capturing device to have a first a resolution; the image capturing device performs an image capturing operation on the target scene by using the first resolution to obtain a first image; When it is determined that the target scene is the text type scene, the image capturing device is configured to have a second resolution, wherein the second resolution is lower than the first resolution; and the image capturing device is configured to The second resolution is to perform the image capturing operation on the target scene to obtain a second image. 如申請專利範圍第8項所述之可攜式電子裝置,其中,當該處理器判斷出該目標場景是該文字類場景時,該處理器更執行以下步驟:判斷在該預覽畫面中的至少一文字是否大於一既定尺寸;當判斷出該預覽畫面中的該至少一文字不大於該既定尺寸,設定該第二解析度具有一第一數值;以及當判斷出該預覽換面中的該至少一文字大於該既定尺寸,設定該第二解析度具有一第二數值,其中,具有該第一數值的第二解析度高於具有該第二數值的第二解析度。 The portable electronic device of claim 8, wherein when the processor determines that the target scene is the text-type scene, the processor further performs the step of: determining at least the preview image Whether a text is greater than a predetermined size; when it is determined that the at least one character in the preview image is not greater than the predetermined size, setting the second resolution to have a first value; and determining that the at least one text in the preview facet is greater than For the predetermined size, the second resolution is set to have a second value, wherein the second resolution having the first value is higher than the second resolution having the second value. 如申請專利範圍第8項所述之可攜式電子裝置,其中,該處理器更執行以下步驟;檢查該預覽畫面中是否具有至少一文字;當檢查出該預覽畫面中不具有該至少一文字,判定該目標場景不是該文字類場景;以及當檢查出該預覽畫面中具有該至少一文字,判斷該至少一文字在該預覽畫面中的一佔用空間是否大於一預設畫面空間;當判斷出該至少一文字的該佔用空間不大於該預設畫面空間,判定該目標場景不是該文字類場景;以及當判斷出該至少一文字的該佔用空間大於該預設畫面空 間,判定該目標場景是該文字類場景。 The portable electronic device of claim 8, wherein the processor further performs the following steps: checking whether the preview picture has at least one character; and determining that the preview picture does not have the at least one character, determining The target scene is not the text type scene; and when it is checked that the preview screen has the at least one text, it is determined whether a occupied space of the at least one text in the preview image is greater than a preset screen space; when the at least one text is determined The occupied space is not greater than the preset picture space, and the target scene is determined not to be the text type scene; and when the occupied space of the at least one text is determined to be greater than the preset picture space In the meantime, it is determined that the target scene is the text type scene. 如申請專利範圍第10項所述之可攜式電子裝置,其中,當該處理器判斷出該目標場景是該文字類場景時,該處理器更執行以下步驟:判斷該至少一文字是否大於一既定尺寸;當判斷出該至少一文字不大於該既定尺寸,設定該第二解析度具有一第一數值;以及當判斷出該至少一文字大於該既定尺寸,設定該第二解析度具有一第二數值,其中,具有該第一數值的第二解析度高於具有該第二數值的第二解析度。 The portable electronic device of claim 10, wherein when the processor determines that the target scene is the text-type scene, the processor further performs the step of: determining whether the at least one text is greater than a predetermined Dimensions; when it is determined that the at least one character is not greater than the predetermined size, setting the second resolution to have a first value; and when determining that the at least one character is greater than the predetermined size, setting the second resolution to have a second value, The second resolution having the first value is higher than the second resolution having the second value. 如申請專利範圍第8項所述之可攜式電子裝置,更包括:一傳輸電路,耦接該處理器;其中,當該處理器判斷出該目標場景不是該文字類場景時,該處理器透過該傳輸電路將該第一影像儲存至一第一外部儲存空間;以及其中,當該處理器判斷出該目標場景是該文字類場景時,該處理器透過該傳輸電路將該第二影像儲存至一第二外部儲存空間。 The portable electronic device of claim 8, further comprising: a transmission circuit coupled to the processor; wherein, when the processor determines that the target scene is not the text type scene, the processor And storing, by the transmission circuit, the first image to a first external storage space; and wherein, when the processor determines that the target scene is the text-type scene, the processor stores the second image through the transmission circuit To a second external storage space. 如申請專利範圍第8項所述之可攜式電子裝置,其中,該處理器判斷連接該可攜式電子裝置的一儲存單元的一剩餘儲存空間是否小於一既定空間;以及其中,當該處理器判斷出該儲存單元的該剩餘儲存空間小於該既定空間,該處理器使該電子裝置進入該特定模式。 The portable electronic device of claim 8, wherein the processor determines whether a remaining storage space of a storage unit connected to the portable electronic device is smaller than a predetermined space; and wherein, when the processing The device determines that the remaining storage space of the storage unit is smaller than the predetermined space, and the processor causes the electronic device to enter the specific mode. 如申請專利範圍第13項所述之可攜式電子裝置,更包括:其中,當該處理器判斷出該儲存單元的該剩餘儲存空間不小於該既定空間,該處理器使該電子裝置進入一預設模式;以及其中,在該預設模式下,該處理器執行以下步驟:啟動該影像擷取裝置,並以一預設解析度來對該目標場景進行該影像擷取操作,以獲得一第三影像。 The portable electronic device of claim 13, further comprising: wherein, when the processor determines that the remaining storage space of the storage unit is not less than the predetermined space, the processor causes the electronic device to enter a a preset mode; and wherein, in the preset mode, the processor performs the following steps: starting the image capturing device, and performing the image capturing operation on the target scene with a preset resolution to obtain a The third image.
TW104126337A 2015-08-13 2015-08-13 Portable electronic device and image capturing method TWI549067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104126337A TWI549067B (en) 2015-08-13 2015-08-13 Portable electronic device and image capturing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104126337A TWI549067B (en) 2015-08-13 2015-08-13 Portable electronic device and image capturing method

Publications (2)

Publication Number Publication Date
TWI549067B true TWI549067B (en) 2016-09-11
TW201706911A TW201706911A (en) 2017-02-16

Family

ID=57445025

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104126337A TWI549067B (en) 2015-08-13 2015-08-13 Portable electronic device and image capturing method

Country Status (1)

Country Link
TW (1) TWI549067B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030072568A1 (en) * 2001-10-17 2003-04-17 Qian Lin Automatic document detection method and system
TW200908694A (en) * 2007-08-10 2009-02-16 Primax Electronics Co Ltd Scanner with different resolutions
US20100201793A1 (en) * 2004-04-02 2010-08-12 K-NFB Reading Technology, Inc. a Delaware corporation Portable reading device with mode processing
TW201044864A (en) * 2009-05-11 2010-12-16 Creative Tech Ltd A multimodal camera and a method for selecting an operation mode of a camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030072568A1 (en) * 2001-10-17 2003-04-17 Qian Lin Automatic document detection method and system
US20100201793A1 (en) * 2004-04-02 2010-08-12 K-NFB Reading Technology, Inc. a Delaware corporation Portable reading device with mode processing
TW200908694A (en) * 2007-08-10 2009-02-16 Primax Electronics Co Ltd Scanner with different resolutions
TW201044864A (en) * 2009-05-11 2010-12-16 Creative Tech Ltd A multimodal camera and a method for selecting an operation mode of a camera

Also Published As

Publication number Publication date
TW201706911A (en) 2017-02-16

Similar Documents

Publication Publication Date Title
US10136057B2 (en) Image management system, image management method, and computer program product
US9479693B2 (en) Method and mobile terminal apparatus for displaying specialized visual guides for photography
JP7058760B2 (en) Image processing methods and their devices, terminals and computer programs
US9584694B2 (en) Predetermined-area management system, communication method, and computer program product
US11943399B2 (en) Electronic device for providing various functions through application using a camera and operating method thereof
US9407834B2 (en) Apparatus and method for synthesizing an image in a portable terminal equipped with a dual camera
CN106155517B (en) Mobile terminal and control method thereof
US20200027454A1 (en) Text and Voice Information Processing Method and Terminal
US9430500B2 (en) Method and device for operating image in electronic device
US20160112632A1 (en) Method and terminal for acquiring panoramic image
US20150149925A1 (en) Emoticon generation using user images and gestures
CN113191117B (en) Editing method, device and equipment of electronic document and storage medium
US20130335450A1 (en) Apparatus and method for changing images in electronic device
CN107748615B (en) Screen control method and device, storage medium and electronic equipment
US10922479B2 (en) Method and electronic device for creating an electronic signature
US20150010236A1 (en) Automatic image refocusing method
US20150146265A1 (en) Method and apparatus for recognizing document
CN111125601B (en) File transmission method, device, terminal, server and storage medium
TWI521963B (en) Electronic device and video tagging method
US11190653B2 (en) Techniques for capturing an image within the context of a document
CN112119623A (en) Method for sharing content based on account group and electronic device for performing the same
WO2017210908A1 (en) Processing method and terminal
TWI549067B (en) Portable electronic device and image capturing method
US20200264750A1 (en) Method for displaying visual object regarding contents and electronic device thereof
WO2019223259A1 (en) Method and apparatus for processing word bank