How to use Web Worker to optimize the application of web bar code recognition

Now the mainstream browsers all support WebRTC, through getUserMedia, you can easily open the camera in the browser. Web developers can use JavaScript to develop barcode scanning applications for web pages. Through the tests of chrome and safari, it is found that when JS code takes a lot of time, the video in Chrome is still smooth, while Safar ...

Posted by gdogfunk on Thu, 02 Jan 2020 05:31:04 +0100

Qt's docked window QDockWidget class

Qt's docked window QDockWidget class General process for setting up docked windows 1. Create a docking window for the QDockWidget object 2. To set the properties of this docked form, you usually call setFeatures() and setAllowAreas() 3. Create a new control to insert a docked window. The commonly used controls are QListWidget and QTextEdit 4. I ...

Posted by Mordred on Thu, 02 Jan 2020 05:06:37 +0100

Handwriting input under wpf

The origin of the problem, referring to the handwriting input under winform, realizes the same function under wpf. At last, it is found that the handwritten input cannot be done in the characteristic area. The reason for the problem is that the handle of the control obtained under wpf is the same as that of the whole form. Fin ...

Posted by ramrod737 on Wed, 01 Jan 2020 19:04:13 +0100

End a process that cannot be ended by a normal method

Use NTSD program (if you have installed VS, in the VS installation directory, such as "C: \ program files (x86)," debugging tools for windows (x86), "ntsd.exe", or Download here) ntsd -c q -p PID ntsd -c q -pn PName Two methods One is to use the ID number of the process and replace the PID with the corresponding process ID ...

Posted by Headache on Wed, 01 Jan 2020 03:57:21 +0100

Write your own PHP crawling agent IP project step by step (2)

In this chapter, we officially launch our crawler project. First of all, we need to know which website can get free agent IP. At present, there are popular websites such as Xisi agent and fast agent. Here we take Xisi agent as an example. Official website of West stab agent: http://www.xicidaili.com Here are free IP addresses and port ...

Posted by tomhilton on Mon, 30 Dec 2019 16:18:04 +0100

06-2 document processing

[TOC] Introduction The data generated in the process of application running is stored in memory at first. If you want to save it permanently, you must save it in the hard disk. If the application wants to operate the hardware, it must pass the operating system, and the file is the virtual concept that the operating system provides to the appli ...

Posted by duane on Tue, 24 Dec 2019 11:24:00 +0100

Create and publish a tomato clock from scratch

1. Make your own tomato clock On a PC I've been using "Little Tomato" as my tomato clock software, and I turn it on and maximize it on my secondary monitor so that not only does it do its part, but I can also tell my colleague that I'm working hard.But I always wanted to write a tomato clock software by myself. It was so itchy that I ...

Posted by neogemima on Sat, 21 Dec 2019 20:06:22 +0100

Implementation of registration interface

Put the finished product drawing first: The user's registration interface is actually composed of several input boxes (EditText) and TextView. The key point is that the entered phone number and email can be recognized and displayed in the way of hyperlink. After clicking, the corresponding software will be opened. In fact, i ...

Posted by alex_savin on Sat, 21 Dec 2019 17:51:34 +0100

Advanced Http protocol

What is http protocol http protocol: Format Specification for data transmission between browser client and server Tools for viewing the http protocol 1) Use Firefox's firebug plug-in (right click > firebug > Network) 2) Use Google's "censorship element" http protocol content Request (browser->Server) G ...

Posted by SkyRanger on Sat, 21 Dec 2019 16:03:15 +0100

python crawler -- scratch framework

Scrapy Introduction Scrapy introduction 1.Scrapy is an application framework written in pure Python for crawling website data and extracting structural data. It is widely used 2. The power of the framework, users only need to customize and develop a few modules to easily realize a crawler, which is used to grab web content and various pictures ...

Posted by SeaJones on Mon, 16 Dec 2019 05:46:30 +0100