摘要:
A preprocessing section binarizes input image data and calculates a total black pixel ratio. A feature extracting section detects connected components included in the binary image data and detects circumscribing bounding boxes of the connected components. Predetermined connected components are removed from all of the connected components based on the sizes of the detected circumscribing bounding boxes and bounding box black pixel ratios. By using the connected components that remain after removing the unnecessary connected components, a histogram is generated by specifying the sizes of the circumscribing bounding boxes as classes and numbers of the connected components as the frequencies of occurrence. A determining section determines whether the input image data is document image data or non-document image data based on information related to the generated histogram and the total black pixel ratio.
摘要:
A preprocessing section binarizes input image data and calculates a total black pixel ratio. A feature extracting section detects connected components contained in the binarized image data and detects circumscribing bounding boxes that circumscribe these connected components, respectively. Based on sizes of the circumscribing bounding boxes detected and numbers of black pixels contained therein, predetermined connected components are removed. A determining section generates an edge map by using the residual connected components, and performs two-dimensional fast Fourier transform thereon to generate spectral data. The determining section performs two-dimensional fast Fourier transform on template images to generate spectral data. The determining section determines, based on these pieces of spectral data, whether or not a circular shape is contained in the input image data.
摘要:
The present invention discloses a method for obtaining the direction of a target location through a handset, which includes: the handset obtains geographical information of a current location and that of the target location, determines a geographical meridian line of the current location and a angle of this geographical meridian line displayed on the screen of the handset; the handset determines the direction from the current location to the target location according to geographical information of the current location and that of the target location, determines an included angle between this direction and the geographical meridian line. According to the included angle and that of the geographical meridian line displayed on its screen, the handset determines the direction displayed on the screen of the handset from the current location to the target location, and displays the direction of the target location on the screen according to the displayed direction. The present invention solves the problem that existing handsets cannot provide the direction of the target location for the user. The user can confirm the direction of the target location through the handset.
摘要:
An operation method of peripheral device includes setting up connection of peripheral device to host, directly loading firmware of said peripheral device from said host, and operating said firmware by said peripheral device. The requirement of the peripheral device to non-volatile memory capacity is decreased. By pre-storing the firmware of the peripheral device in the host, the requirement of the peripheral device to non-volatile memory capacity is decreased. And it is not necessary to download the firmware in the non-volatile memory frequently when producing and debugging the peripheral device. Only loading the firmware of the peripheral device from the host directly is needed, and the efficiency is improved.
摘要:
A peripheral equipment operating method, including: generating waiting data by a peripheral equipment; sending the waiting data to a host which communicates with the peripheral equipment; receiving the result returned by the host, after the host processed the waiting data by the peripheral equipment driving software. A method of assisting the operation of the peripheral equipment, including: the host which communicates with the peripheral equipment receives the waiting data from the peripheral equipment; the host processes the waiting data by the peripheral equipment driving software; the host sends the processed result to the peripheral equipment. A peripheral equipment and a host are also provided.
摘要:
A modem includes a modulation/demodulation function module, a hub function module, and at least one storage module. The storage module and the modulation/demodulation function module are connected to the hub function module, respectively. By adding one or more storage modules in to the modem, the invention enables mass storage of data to be provided at the modem, and thereby provides convenience to the user.
摘要:
The present invention discloses a method for obtaining the direction of a target location through a handset, which includes: the handset obtains geographical information of a current location and that of the target location, determines a geographical meridian line of the current location and a angle of this geographical meridian line displayed on the screen of the handset; the handset determines the direction from the current location to the target location according to geographical information of the current location and that of the target location, determines an included angle between this direction and the geographical meridian line. According to the included angle and that of the geographical meridian line displayed on its screen, the handset determines the direction displayed on the screen of the handset from the current location to the target location, and displays the direction of the target location on the screen according to the displayed direction. The present invention solves the problem that existing handsets cannot provide the direction of the target location for the user. The user can confirm the direction of the target location through the handset.
摘要:
The present invention discloses a method for obtaining the direction of a target location through a handset, which includes: the handset obtains geographical information of a current location and that of the target location, determines a geographical meridian line of the current location and a angle of this geographical meridian line displayed on the screen of the handset; the handset determines the direction from the current location to the target location according to geographical information of the current location and that of the target location, determines an included angle between this direction and the geographical meridian line. According to the included angle and that of the geographical meridian line displayed on its screen, the handset determines the direction displayed on the screen of the handset from the current location to the target location, and displays the direction of the target location on the screen according to the displayed direction. The present invention solves the problem that existing handsets cannot provide the direction of the target location for the user. The user can confirm the direction of the target location through the handset.
摘要:
Embodiments of the present invention relate to the field of communication technologies, and disclose a method and device for network access. The method includes: detecting whether a notification message reported by an x digital subscriber line module is received within a set time, wherein the notification message is used for indicating that the x digital subscriber line module is connected to a network successfully; if yes, establishing a connection between a service terminal and the x digital subscriber line module so that the service terminal accesses the network through the x digital subscriber line module; and if no, establishing a connection between the service terminal and a 3G data card module so that the service terminal accesses the network through the 3G data card module.
摘要:
The present invention discloses a method for obtaining the direction of a target location through a handset, which includes: the handset obtains geographical information of a current location and that of the target location, determines a geographical meridian line of the current location and a angle of this geographical meridian line displayed on the screen of the handset; the handset determines the direction from the current location to the target location according to geographical information of the current location and that of the target location, determines an included angle between this direction and the geographical meridian line. According to the included angle and that of the geographical meridian line displayed on its screen, the handset determines the direction displayed on the screen of the handset from the current location to the target location, and displays the direction of the target location on the screen according to the displayed direction. The present invention solves the problem that existing handsets cannot provide the direction of the target location for the user. The user can confirm the direction of the target location through the handset.