Call the camera in the Web page to implement the photo upload-Gao Yini two times development

Source: Internet
Author: User

call the camera in the web to implement the photo upload

Gao Yini two times development

 

 

in some public-sector offices, such as banks, passport-handling centers, taxes, and so on, we might notice a machine on our desk. The Office uses it to take a variety of documents, documents, forms, and sometimes photographs of people's faces.

The name of the instrument is Gao Yini. As you would guess, the nature of Gao Yini is the camera. Some of the high beat devices have only one camera, which is used to make documents on the tablet. Some upscale at the top also has a camera, generally used to pat the face.

compared with the normal camera, Gao Yini has the following two advantages:

1. Pixel height. ordinary camera pixels are generally 1 million or 2 million, Gao Yini pixels are roughly 3 million, 5 million, 8 million, or even 10 million, 16 million. For document Photography needs, the importance of high pixel is self-evident, text clear and easy to read, do follow-up OCR word recognition processing there will be a higher accuracy rate.

2. Advanced image processing function. Common text recognition module, document Edge Automatic detection, PDF generation module. increasing the ID card identification module on the Gao Yini seems to have become an industry standard. Integrated ID card module, IC card Reader, fingerprint identification instrument and other professional equipment Gao Yini is not uncommon.

The same is the core function of document shooting, Gao Yini and scanner imaging quality is comparable. Then what difference does it have?

1. Gao Yini fast. It has automatic detection function, the staff simply put the document on the tablet, the document will be automatically photographed, detection time in about 1 seconds. If the number of pages needed to be scanned is minimal, traditional scanners will waste a lot of time putting paper, adjusting scan settings, and starting a scan button.

2. Gao Yini no paper jam.

3. Gao Yini maintenance costs are low. The scanner cartridge replacement cost is still more expensive.

4. Gao Yini compatible with various paper thickness, hardness, size.

5. Gao Yini's two cameras can be used to collect portraits and documents, respectively.

Top-grade Gao Yini usually provide two development kits for programming, and use ActiveX technology more often. The advantage of this technique is that it supports Internet Explorer better, but does not support any other browsers, such as Chrome,firefox,edge. That is, you cannot cross browsers.

Another flaw is that different high beat development packages vary, and if more than one model is used in our project, we need to customize the code for each model.

If you want to quickly develop a high-quality electronic imaging system, in the case of budget permitting, you may wish to try the third party's image acquisition and development package. Taking the Dynamsoftcamera SDK I tried, for example, it provides a JavaScript API that makes it easy to capture images and video streams from USB (USB video Class, or UVC) capture devices, such as cameras, Gao Yini, in a browser. Using the Dynamsoft Camera SDK, a web-based development control, only a few lines of JavaScript code can be used in a Web page program to achieve real-time playback of video streaming, capture document pictures or photos and online image editing, uploading and other functions.

The control's document acquisition mode also includes automatic border detection and automatic processing and optimization of document photos, including perspective correction, automatic denoising, and so on.

Support a variety of server-side programming technology and deployment environment, support ASP, JSP, PHP, asp.net and other common server-side programming technology, Image Acquisition results support PDF, JPG and BMP format pictures.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.