How to replace the paid camera SDK with DirectShow

Dynamsoft Barcode SDK includes a powerful barcode scanning Demo, which supports barcode scanning functions such as file reading, scanner image reading, and camera video stream reading. However, the calling function of scanner and camera is not free. Dynamic. Net Twain is a commercial SDK. This article shares how to remove the scanner function ...

Posted by mmorton on Wed, 08 Apr 2020 01:07:19 -0700

Drawing the dial in the custom coordinate system of win32 window

Drawing the dial in the custom coordinate system of win32 window Test environment: win7 64 bit vs2013 Create a win32 Application. It is an empty project. Its name is HelloDrawClockFace, Add the source file HelloDrawClockFace.cpp to your project: The contents are as follows: #include <windows.h> #include & ...

Posted by stewb on Tue, 07 Apr 2020 08:40:06 -0700

Python practice daily - chop a hundred words

Catalog 1. Word Memory 2. Word Reminder 3. Memory function 4. Speech Reading 5. Integral Evaluation 6. Silent Output 7. Vocabulary acquisition 1. Word Memory English is currently one of the most widely used languages in the world and is also a commonly used language in the world.As countr ...

Posted by MrBiz on Mon, 06 Apr 2020 19:55:36 -0700

[WPF learning] Chapter 61 organization template resources

The novel coronavirus pneumonia was issued today in April 4, 2020 to express the deep condolences of the people of all ethnic groups to the martyrs and their dead compatriots. When using control templates, you need to decide how to share them more widely and whether you want to use them automatically or explicitly. The first is about where yo ...

Posted by nick_whitmarsh on Sun, 05 Apr 2020 22:48:51 -0700

Automatically restart pending python scripts

Run the program, because of memory problems or other blabla blabla problems (not code problems altogether), the program may hang up occasionally, and we can't stare at the program all day. What can we do?It's a good idea to write a script to check if the program hangs up and restart if it does, depending on the operat ...

Posted by besly98 on Sun, 05 Apr 2020 19:41:44 -0700

python basic skills comprehensive training question 2

1. To judge whether each letter in a string is in another string, we can use the characteristics of the set to solve the problem. If the elements of the set exist, it is impossible to add the update to the set again. Then the length of the set is the same as before. If you add it, the length of the set will increase >>> a = 'ghost' ...

Posted by rd321 on Sun, 05 Apr 2020 19:27:47 -0700

Linux command -- file

File is used to view file types. Different from Windows system, Linux system does not reflect the file type through the file name, so you need to use the file command to confirm. [admin@local ~]$ file exe exe: Bourne-Again shell script text executable As above, use the file command to view the type of exe file, whic ...

Posted by kanikilu on Sun, 05 Apr 2020 15:50:44 -0700

Python actual battle: virus trapped me in the fighting room, desktop took me to travel

Article directory 1. Set up Windows Wallpaper with Python 2. Randomly switch Windows Wallpaper 3. Switch Windows wallpaper regularly In modern history, every year of gengzi was unusual: the Opium War in 1840, the invasion of China by the Allied forces of eight countries in 1900, and the famine in 1960. A novel coronavirus e ...

Posted by RogerInHawaii on Sun, 05 Apr 2020 06:57:27 -0700

Record a different implementation of a streaming website and crawl its pit with a Python crawler

I found a movie today and want to download it. Start with the Networks tool to analyze: Preliminary analysis found that TS format file will be pulled when video is loaded, presumably this is an index of m3u8, which records hundreds of TS files, so that it is easy to load when fast-forward.     But when you actually analyze the m3u8 file, you f ...

Posted by soulmedia on Sun, 05 Apr 2020 01:43:38 -0700

C#Implementing Program Start-Up and Start-Up

Recently, I was making a widget that backs up files automatically. I need to use boot-up and self-start Here's the code private void checkBox8_CheckedChanged(object sender, EventArgs e) { try { //Set boot-up self-start if (checkBox8.Checked == true) { ...

Posted by cocell on Sat, 04 Apr 2020 16:54:29 -0700