Image programming based on Opencv in Ubuntu system

1, Introduction to OpenCV OpenCV is a cross platform computer vision and machine learning software library based on BSD license (open source), which can run on Linux, Windows, Android and Mac OS operating systems. [1] It is lightweight and efficient - it is composed of a series of C functions and a small number of C + + classes. At the sam ...

Posted by crawfd on Sun, 24 Oct 2021 12:20:01 -0700

[Python 3 learning notes - basic syntax] learn about standard libraries in Python

Operating system interface The os module provides many functions associated with the operating system. >>> import os >>> os.getcwd() # Returns the current working directory 'C:\\Python34' >>> os.chdir('/server/accesslogs') # Modify the current working directory >>> os.system('mkdir today') # Ex ...

Posted by mattsoftnet on Sun, 24 Oct 2021 11:27:01 -0700

Second week of CV transformer

6.2.1 data set introduction The data used in this OCR experiment is based on Task 4.3:Word Recognition in icdar2015 incident scene text. This is a word recognition task. Remove some pictures to simplify the difficulty of this experiment. The data set contains many text areas in natural scene images. The training set in the original data co ...

Posted by ManWithNoName on Sun, 24 Oct 2021 08:41:35 -0700

Population analysis cases

demand Source data acquisition – password: 6qpt Import the file and view the original dataCombine population data with state abbreviation dataDelete the duplicate abstraction column in the merged dataView columns with missing dataFind out which states / regions make the value of state NaN and perform the de duplication ope ...

Posted by razz on Sun, 24 Oct 2021 07:02:25 -0700

Dict container for Python

5. Dict container for Python 5.1 what is dict If the list of students' names corresponds to the list of students' grades one by one, we can also find the grades of each student through subscript. names = ['Alice', 'Bob', 'Candy', 'David', 'Ellena'] scores = [45, 60, 75, 86, 49] index = 0 for name in names: score = scores[index] print ...

Posted by Poofman on Sun, 24 Oct 2021 06:39:34 -0700

Deep learning practice Chapter 2 quick start to machine learning

Reference book "deep learning practice" by Yang Yun and Du Fei softmax implementation exercise In the exercises in this chapter, we will gradually complete: 1. Be familiar with using CIFAR-10 dataset2. Code softmax_ loss_ The naive function uses an explicit loop to calculate the loss function and the gradient3. Code softmax_ loss_ ...

Posted by Wolfsoap on Sun, 24 Oct 2021 02:46:34 -0700

Django learning - 3.Django's view layer

Project Name: mydemo2 Python version: 3.7.0 Django version: 3.2.0 Introduction to Django's View The View in Django framework is a logical program used to process user requests and return responses.In short, a View is a Python function or method that accepts a web request and returns a Web response.No matter what logic the view itself co ...

Posted by akano on Sun, 24 Oct 2021 02:22:35 -0700

The stock is valued by DCF model

The value of a stock is equal to the discounted value of its future cash flow. ——Stock market rules 1, Foreword DCF(Discounted Cash Flow) is the abbreviation of discounted cash flow method, which can evaluate stocks. At present, most stock API s on the Internet only provide simple daily quotes, which is far from enough for analy ...

Posted by RogerInHawaii on Sat, 23 Oct 2021 20:48:00 -0700

ini configuration file processing of Python 3 Programming - Application of configparser module

1, What is the configparser module? The configparser module is a python standard library (which means it comes with Python and does not need to be installed). It can be used to operate configuration files with the suffix. ini. The format of the configuration file parsed by the configparser is similar to that of the. ini configuration file ...

Posted by auday1982 on Sat, 23 Oct 2021 20:14:17 -0700

At 8 p.m., I received the boss's demand on the subway: draw the relationship of more than 400 tables. The customer wants it tomorrow morning!

1. Story background I was working on a project recently, so I got off work a little late. Sitting on the subway, I habitually took out my Ipad and brushed graduate courses for a while. Suddenly the mobile phone rang. It turned out that it was organizing a voice conference to discuss the er diagram of the customer's need for the system. More th ...

Posted by cordoprod on Sat, 23 Oct 2021 19:50:31 -0700