CN106066979A - One operates in specialty bar code scanning method and system on cell phone platform - Google Patents
One operates in specialty bar code scanning method and system on cell phone platform Download PDFInfo
- Publication number
- CN106066979A CN106066979A CN201610363969.4A CN201610363969A CN106066979A CN 106066979 A CN106066979 A CN 106066979A CN 201610363969 A CN201610363969 A CN 201610363969A CN 106066979 A CN106066979 A CN 106066979A
- Authority
- CN
- China
- Prior art keywords
- bar code
- photographic head
- cell phone
- decoded result
- phone platform
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10712—Fixed beam scanning
- G06K7/10722—Photodetector array or CCD scanning
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses one and operate in specialty bar code scanning method and system on cell phone platform, method includes: is triggered by removable suspension icon and starts photographic head;Camera image assembly is initialized;By photographic head auto-focusing and gather bar code image;The bar code image gathered is resolved, obtains decoded result;By in decoded result output to light punctuate position.System includes: trigger element, initialization unit, collecting unit, resolution unit and output unit.The present invention makes, no matter currently at random procedure or the document opened, without exiting, to significantly facilitate the use of user by the triggering that removable suspension icon carries out photographic head.And decoded result can be directly output at light punctuate, substantially increasing the popularity using scene, it is not necessary to be only limited in current application program, as long as obtaining light punctuate, the result after scanning can directly export, be greatly improved practicality.The composite can be widely applied in cell phone platform.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to one and operate in specialty bar code scanning method on cell phone platform
And system.
Background technology
There is the Android application program driving mobile phone camera to be scanned of many moneys at present on the market, but there is several side
The deficiency in face;
First, need icon driver sweep in fixing place, it is impossible to current window open be other application programs time trigger
Scanning;
Second, barcode types supports deficiency, and recognition speed is slow;Scanning software on the market, supports not comprehensive to bar code, right
Bar code definition requires height, and decoding speed is the slowest;Two-dimensional bar code type is supported that type is little, is usually present decoding time-consuming too
The phenomenons such as long, barcode types is not supported, decoded result mistake;
3rd, decoded result can not export at random procedure cursor.Scanning software on market, decoded result can only export
Obtain at cursor to application program own or specifically have at the cursor of Android application program of certain appointment data interaction protocol,
The popularity of application, versatility, practicality are significantly limited to.
Summary of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide one can conveniently use, and can improve scanning effect
The one of rate operates in specialty bar code scanning method and system on cell phone platform.
The technical solution used in the present invention is:
One operates in specialty bar code scanning method on cell phone platform, comprises the following steps:
Triggered by removable suspension icon and start photographic head;
Camera image assembly is initialized;
By photographic head auto-focusing and gather bar code image;
The bar code image gathered is resolved, obtains decoded result;
By in decoded result output to light punctuate position.
A kind of the further improvement of specialty bar code scanning method on cell phone platform is operated in as described, described by can
Mobile suspension icon triggers and starts photographic head, the most also includes:
Create the corresponding views of suspension icon, and the window object adding it to system level shows.
A kind of the further improvement of specialty bar code scanning method on cell phone platform is operated in as described, described by can
Mobile suspension icon triggers and starts photographic head, and it specifically includes:
Obtain the screen coordinate of finger touching in the range of removable suspension icon, and obtain screen seat when finger leaves
Mark;
The screen coordinate when screen coordinate touched according to finger and finger leave, it is judged that whether the behavior of user is to start shooting
Head operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then removable suspension icon is moved to finger from
Screen coordinate when opening.
A kind of operate in the further improvement of specialty bar code scanning method on cell phone platform as described, described will decoding
Result exports to light punctuate position, and it specifically includes:
Obtain light punctuate position and obtain the input connecting object returning in input method;
It is input to decoded result input in connecting object;
By input connecting object in decoded result output to light punctuate position.
Of the present invention another solution is that
One operates in specialty bar code scanning system on cell phone platform, including:
Trigger element, starts photographic head for being triggered by removable suspension icon;
Initialization unit, for initializing camera image assembly;
Collecting unit, is used for by photographic head auto-focusing and gathers bar code image;
Resolution unit, for resolving the bar code image gathered, obtains decoded result;
Output unit, for exporting decoded result to light punctuate position.
A kind of operate in the further improvement of specialty bar code scanning system on cell phone platform as described, described trigger single
Unit, the most also includes:
Creating unit, for creating the corresponding views of suspension icon, and the window object adding it to system level shows
Show.
A kind of operate in the further improvement of specialty bar code scanning system on cell phone platform as described, described trigger single
Unit, it specifically includes:
Coordinate acquiring unit, for obtaining the screen coordinate of finger touching in the range of removable suspension icon, and obtains hands
Refer to screen coordinate when leaving;
Behavior judging unit, the screen coordinate when the screen coordinate according to finger touching and finger leave, it is judged that user's
Whether behavior is to start camera operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then will be removable outstanding
Relief mark move to finger leave time screen coordinate.
A kind of operating in the further improvement of specialty bar code scanning system on cell phone platform as described, described output is single
Unit, it specifically includes:
Object acquisition unit, for obtaining light punctuate position and obtaining the input connecting object returning in input method;
Object input block, for being input to decoded result in input connecting object;
Result output unit, for exporting decoded result to light punctuate position by input connecting object.
The invention has the beneficial effects as follows:
One of the present invention is operated in specialty bar code scanning method and system on cell phone platform and is taken the photograph by removable suspension icon
As the triggering of head makes, no matter currently at random procedure or the document opened, can without exiting, but click directly on removable
Suspension icon is scanned, and significantly facilitates the use of user, and the decoding algorithm in the present invention is by the spy according to bar code
Property is write, and compares relative to traditional mobile telephone scanning bar coded program, the speed catching and decoding faster, the bar code kind of support
Class is the most more comprehensively;And decoded result can be directly output at light punctuate, substantially increase the popularity using scene, nothing
Current application program need to being only limited in, needing to input the place of bar code, as long as obtaining light punctuate, the result after scanning
Directly output, is greatly improved practicality.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described further:
Fig. 1 is that the present invention is a kind of operates in the flow chart of steps of specialty bar code scanning method on cell phone platform;
Fig. 2 is that the present invention is a kind of operates on cell phone platform the flow chart of steps of trigger process in specialty bar code scanning method;
Fig. 3 is that the present invention is a kind of operates on cell phone platform the flow chart of steps of output procedure in specialty bar code scanning method;
Fig. 4 is that the present invention is a kind of operates in the block diagram of specialty bar code scanning system on cell phone platform.
Detailed description of the invention
With reference to Fig. 1, one of the present invention operates in specialty bar code scanning method on cell phone platform, comprises the following steps:
Triggered by removable suspension icon and start photographic head;
Camera image assembly is initialized;
By photographic head auto-focusing and gather bar code image;
The bar code image gathered is resolved, obtains decoded result;
By in decoded result output to light punctuate position.
Being further used as preferred embodiment, described triggering by removable suspension icon starts photographic head, also before
Include:
Create the corresponding views of suspension icon, and the window object adding it to system level shows.
With reference to Fig. 2, being further used as preferred embodiment, described triggering by removable suspension icon starts shooting
Head, it specifically includes:
Obtain the screen coordinate of finger touching in the range of removable suspension icon, and obtain screen seat when finger leaves
Mark;
The screen coordinate when screen coordinate touched according to finger and finger leave, it is judged that whether the behavior of user is to start shooting
Head operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then removable suspension icon is moved to finger from
Screen coordinate when opening.
With reference to Fig. 3, it is further used as preferred embodiment, described decoded result is exported to light punctuate position
On, it specifically includes:
Obtain light punctuate position and obtain the input connecting object returning in input method;
It is input to decoded result input in connecting object;
By input connecting object in decoded result output to light punctuate position.
Preferably, the present invention starts with from soft keyboard, owing to can return an input connecting object when obtaining light punctuate
InputConection, to current input method, can output data to light punctuate by operation input connecting object.With this
As point of penetration, add the input method procedure code through optimizing and realize functional requirement, parse decoding in present invention scanning
After result, notice current input method operation input connecting object, so that it may so that decoded result is exported current cursor point.So
It is not required to use traditional injectKeyEvent function, it is not necessary to obtain the key of the android system of manufacturer's customization, it is ensured that suitable
With the range in face.It is integrated with the input method of autonomous customization inside program, and has gathered inside this input method and can export bar code
Function, completes the function that can export light punctuate at each android system striding course.
In the embodiment of the present invention, user clicked on removable suspension icon before this, and when finger touching screen, record is current to be touched
The coordinate figure (x1, y1) of control point, when finger frames out, records the coordinate figure (x2, y2) when now finger frames out;Ask
Go out the absolute value X of x1-x2;Obtain the absolute value Y of y1-y2;If X is less than 5 pixels, and Y is again smaller than 5 pixels, is judged as
The behavior of user is for starting camera operation, and other situations are then judged as that user is to need mobile removable suspension icon, can
Mobile suspension icon moves to new coordinate figure (x2, y2).
If being now the behavior of driver sweep, the present invention can add self-defining control at the window of current system level
CHSMDecodeComponent, whether this control automatic checkout equipment exists photographic head, just calls shooting if there is photographic head
Head resource, and auto-focusing, capture image continuously;After capturing successfully, call bottom most software algorithm and resolve, work as parsing
The decoded result parsed is returned by bottom, finally by input connecting object decoded result output to any after success
In the middle of one application program obtaining light punctuate or text box.
With reference to Fig. 4, one of the present invention operates in specialty bar code scanning system on cell phone platform, including:
Trigger element, starts photographic head for being triggered by removable suspension icon;
Initialization unit, for initializing camera image assembly;
Collecting unit, is used for by photographic head auto-focusing and gathers bar code image;
Resolution unit, for resolving the bar code image gathered, obtains decoded result;
Output unit, for exporting decoded result to light punctuate position.
It is further used as preferred embodiment, described trigger element, the most also include:
Creating unit, for creating the corresponding views of suspension icon, and the window object adding it to system level shows
Show.
It is further used as preferred embodiment, described trigger element, it specifically includes:
Coordinate acquiring unit, for obtaining the screen coordinate of finger touching in the range of removable suspension icon, and obtains hands
Refer to screen coordinate when leaving;
Behavior judging unit, the screen coordinate when the screen coordinate according to finger touching and finger leave, it is judged that user's
Whether behavior is to start camera operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then will be removable outstanding
Relief mark move to finger leave time screen coordinate.
It is further used as preferred embodiment, described output unit, it specifically includes:
Object acquisition unit, for obtaining light punctuate position and obtaining the input connecting object returning in input method;
Object input block, for being input to decoded result in input connecting object;
Result output unit, for exporting decoded result to light punctuate position by input connecting object.
From the foregoing it can be that one of the present invention operates on cell phone platform specialty bar code scanning method and system by can
Mobile suspension icon carries out the triggering of photographic head and makes the most currently at random procedure or the document opened, can without exiting,
But click directly on removable suspension icon and be scanned, significantly facilitate the use of user, and the decoding algorithm in the present invention
Write by the characteristic according to bar code, compare relative to traditional mobile telephone scanning bar coded program, the speed catching and decoding
Faster, the bar code kind of support is the most more comprehensively for degree;And decoded result can be directly output to, at light punctuate, substantially increase
Using the popularity of scene, it is not necessary to be only limited in current application program, needing to input the place of bar code, as long as obtaining cursor
Point, the result after scanning can directly export, be greatly improved practicality.
It is above the preferably enforcement of the present invention is illustrated, but the invention is not limited to described enforcement
Example, those of ordinary skill in the art also can make all equivalent variations on the premise of spirit of the present invention or replace
Changing, deformation or the replacement of these equivalents are all contained in the application claim limited range.
Claims (8)
1. one kind operates in specialty bar code scanning method on cell phone platform, it is characterised in that comprise the following steps:
Triggered by removable suspension icon and start photographic head;
Camera image assembly is initialized;
By photographic head auto-focusing and gather bar code image;
The bar code image gathered is resolved, obtains decoded result;
By in decoded result output to light punctuate position.
One the most according to claim 1 operates in specialty bar code scanning method on cell phone platform, it is characterised in that: described
Triggered by removable suspension icon and start photographic head, the most also include:
Create the corresponding views of suspension icon, and the window object adding it to system level shows.
One the most according to claim 1 operates in specialty bar code scanning method on cell phone platform, it is characterised in that: described
Being triggered by removable suspension icon and start photographic head, it specifically includes:
Obtain the screen coordinate of finger touching in the range of removable suspension icon, and obtain screen seat when finger leaves
Mark;
The screen coordinate when screen coordinate touched according to finger and finger leave, it is judged that whether the behavior of user is to start shooting
Head operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then removable suspension icon is moved to finger from
Screen coordinate when opening.
One the most according to claim 1 operates in specialty bar code scanning method on cell phone platform, it is characterised in that: described
By in decoded result output to light punctuate position, it specifically includes:
Obtain light punctuate position and obtain the input connecting object returning in input method;
It is input to decoded result input in connecting object;
By input connecting object in decoded result output to light punctuate position.
5. one kind operates in specialty bar code scanning system on cell phone platform, it is characterised in that including:
Trigger element, starts photographic head for being triggered by removable suspension icon;
Initialization unit, for initializing camera image assembly;
Collecting unit, is used for by photographic head auto-focusing and gathers bar code image;
Resolution unit, for resolving the bar code image gathered, obtains decoded result;
Output unit, for exporting decoded result to light punctuate position.
One the most according to claim 5 operates in specialty bar code scanning system on cell phone platform, it is characterised in that: described
Trigger element, the most also includes:
Creating unit, for creating the corresponding views of suspension icon, and the window object adding it to system level shows
Show.
One the most according to claim 5 operates in specialty bar code scanning system on cell phone platform, it is characterised in that: described
Trigger element, it specifically includes:
Coordinate acquiring unit, for obtaining the screen coordinate of finger touching in the range of removable suspension icon, and obtains hands
Refer to screen coordinate when leaving;
Behavior judging unit, the screen coordinate when the screen coordinate according to finger touching and finger leave, it is judged that user's
Whether behavior is to start camera operation, the most then detect photographic head and trigger startup photographic head;Otherwise, then will be removable outstanding
Relief mark move to finger leave time screen coordinate.
One the most according to claim 5 operates in specialty bar code scanning system on cell phone platform, it is characterised in that: described
Output unit, it specifically includes:
Object acquisition unit, for obtaining light punctuate position and obtaining the input connecting object returning in input method;
Object input block, for being input to decoded result in input connecting object;
Result output unit, for exporting decoded result to light punctuate position by input connecting object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363969.4A CN106066979A (en) | 2016-05-26 | 2016-05-26 | One operates in specialty bar code scanning method and system on cell phone platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610363969.4A CN106066979A (en) | 2016-05-26 | 2016-05-26 | One operates in specialty bar code scanning method and system on cell phone platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106066979A true CN106066979A (en) | 2016-11-02 |
Family
ID=57420308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610363969.4A Pending CN106066979A (en) | 2016-05-26 | 2016-05-26 | One operates in specialty bar code scanning method and system on cell phone platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106066979A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106897646A (en) * | 2017-01-17 | 2017-06-27 | 珠海格力电器股份有限公司 | Bar code information input method and device |
CN108268810A (en) * | 2016-12-30 | 2018-07-10 | 希姆通信息技术(上海)有限公司 | Mobile terminal and its bar code scanning method |
CN112417920A (en) * | 2020-12-09 | 2021-02-26 | 迅镭智能(广州)科技有限公司 | Scan input method, device, equipment and medium based on high-speed scanner |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750006A (en) * | 2012-06-13 | 2012-10-24 | 胡锦云 | Information acquisition method |
CN104156685A (en) * | 2014-08-01 | 2014-11-19 | 百度在线网络技术(北京)有限公司 | Implementation method and device for input method |
US20150296340A1 (en) * | 2014-04-11 | 2015-10-15 | Keith Crutchfield | Apparatus, systems and methods for visually connecting people |
CN105549827A (en) * | 2015-10-13 | 2016-05-04 | 苏州摩比力特电子科技有限公司 | Mobile terminal with floating scan key and floating scan key setting method |
-
2016
- 2016-05-26 CN CN201610363969.4A patent/CN106066979A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750006A (en) * | 2012-06-13 | 2012-10-24 | 胡锦云 | Information acquisition method |
US20150296340A1 (en) * | 2014-04-11 | 2015-10-15 | Keith Crutchfield | Apparatus, systems and methods for visually connecting people |
CN104156685A (en) * | 2014-08-01 | 2014-11-19 | 百度在线网络技术(北京)有限公司 | Implementation method and device for input method |
CN105549827A (en) * | 2015-10-13 | 2016-05-04 | 苏州摩比力特电子科技有限公司 | Mobile terminal with floating scan key and floating scan key setting method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268810A (en) * | 2016-12-30 | 2018-07-10 | 希姆通信息技术(上海)有限公司 | Mobile terminal and its bar code scanning method |
CN106897646A (en) * | 2017-01-17 | 2017-06-27 | 珠海格力电器股份有限公司 | Bar code information input method and device |
CN112417920A (en) * | 2020-12-09 | 2021-02-26 | 迅镭智能(广州)科技有限公司 | Scan input method, device, equipment and medium based on high-speed scanner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6893606B2 (en) | Image tagging methods, devices and electronics | |
EP3215900B1 (en) | Robotic process automation | |
US9792708B1 (en) | Approaches to text editing | |
US20120110516A1 (en) | Position aware gestures with visual feedback as input method | |
JP6986187B2 (en) | Person identification methods, devices, electronic devices, storage media, and programs | |
WO2023279705A1 (en) | Live streaming method, apparatus, and system, computer device, storage medium, and program | |
US9058536B1 (en) | Image-based character recognition | |
US10990226B2 (en) | Inputting information using a virtual canvas | |
TW201535157A (en) | Voice input command | |
CN104092932A (en) | Acoustic control shooting method and device | |
CN104090761A (en) | Screenshot application device and method | |
US9519355B2 (en) | Mobile device event control with digital images | |
US11995428B2 (en) | Method and system for providing image-based interoperability with an application | |
CN106066979A (en) | One operates in specialty bar code scanning method and system on cell phone platform | |
CN111047147B (en) | Automatic business process acquisition method and intelligent terminal | |
JP2022536320A (en) | Object identification method and device, electronic device and storage medium | |
CN112036315A (en) | Character recognition method, character recognition device, electronic equipment and storage medium | |
CN103593052A (en) | Gesture capture method based on Kinect and OpenNI | |
CN104965633B (en) | A kind of method and apparatus that service jumps | |
CN104125487A (en) | Method and device for uploading image data | |
CN105739761A (en) | Figure input method and device | |
CN112926420B (en) | Display device and menu character recognition method | |
CN110604918B (en) | Interface element adjustment method and device, storage medium and electronic equipment | |
CN114333056A (en) | Gesture control method, system, equipment and storage medium | |
CN106371818A (en) | Method for generating user-level events for application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161102 |
|
RJ01 | Rejection of invention patent application after publication |