QA Official

sys.argv usage 2019-04-20
The sys.argv variable is a list of strings.Contains a list of command line arguments, that is, arguments passed to your program using the command line.When using Python to perform command line operations, the contents behind the script are passed to the program as parameters.Python stores parameters in sys.argv variables for us.Remember: the name of the script is always the first parameter in the sys.argv list, namely sys.argv[0].

C++ Learning Route and Future Employment Trend 2019-04-18
It has been four years since learning C++, but it has never been deeply studied. Some people say that C++ is an object-oriented programming language, but what I want to say here is that C++ is a multi-generic programming language, which can be process-oriented. For example, we can write C code in C++, which is no problem. It is also an object-oriented language, which has object-oriented characteristics and can simulate various things in the real world.

C++ Programmer Development Direction 2019-04-18
1. C++ Server Programmer (Streaming Media Background, Game Background, High Performance Server Background) 1. Proficient in C++, STL, Linux, etc., familiar with design patterns; 2. Proficient in a scripting language (Lua, Python, Perl, etc.); 3. Have a certain understanding of multi-thread environment programming, can independently complete the development, maintenance and optimization of server-side modules; 4. Proficient in MySQL database development and maintenance, performance optimization; 1. Proficient in C++ programming, at least 3 years experience in server development;

CNN Realize Character Recognition in Camera 2019-04-18
Before this, I have already said about the simple process of tensorflow. I will annotate the intermediate application functions in the example (see the function explanation in tensorflow for more details).Using cnn to realize character recognition in video, I wanted to talk about the principle of cnn first, but based on time and other people, I will say more here in great detail and give a direct example. 1 Face

CVPR 2018 Conference Resource Collection 2019-04-18
1. Links to some visual conference proceedings Computer Vision Conference Proceedings Download: CVPR 2018, Salt Lake City Utah [Main Conference] [Workshops]   ICCV 2017, Venice Italy [Main Conference] [Workshops]   CVPR 2017, Honolulu Hawaii [Main Conference] [Workshops]   CVPR 2016, Las Vegas Nevada [Main Conference] [Workshops]   ICCV 2015, Santiago Chile [Main Conference] [Workshops]   CVPR 2015, Boston Massachusetts [Main Conference] [Workshops]   CVPR 2014, Columbus Ohio [Main Conference] [Workshops]   ICCV 2013, Sydney Australia [Main Conference] [Workshops]   CVPR 2013, Portland Oregon [Main Conference] [Workshops]       2, CVPR 2018 paper address

LDA and Naive Bayesian Combination-Image Classification 2019-04-18
The original space is converted into feature space by LDA method, and then classified by Naive Bayesian method. 1) convert into feature space by LDA method, and use Deng Cai, Xiaofei He, Yuxiao Hu, Jiawei Han, and Thomas Huang,% "learning a spatially smooth subspace for face recognition", code LDA.m transformation in cvpr' 2007 literature function: [eigvector, eigvalue] = lda (x, gnd, options) %eigvector represents a feature vector;

OpenCV Machine Learning (1): Bayesian Classifier Implements Code Analysis 2019-04-18
OpenCV's machine learning class is defined in the ml.hpp file. The basic class is CvStatModel, from which other classifiers are inherited. Study the CvNormalBayesClassifier classifier today. 1. Class Definition The following class definitions are available in ml.hpp: class CV_EXPORTS_W CvNormalBayesClassifier : public CvStatModel { public: CV_WRAP CvNormalBayesClassifier(); virtual ~CvNormalBayesClassifier(); CvNormalBayesClassifier( const CvMat* trainData, const CvMat* responses, const CvMat* varIdx=0, const CvMat* sampleIdx=0 ); virtual bool train( const CvMat* trainData, const

Scikit-Learn machine learning notes -- MNIST 2019-04-18
Scikit-Learn machine learning notes-MNIST reference document: handson-ml import numpy as np import matplotlib.pyplot as plt from sklearn.linear_model import SGDClassifier # 加载MNIST数据集 def load_dataset(): from sklearn.datasets import fetch_mldata mnist = fetch_mldata('MNIST original', data_home='dataset') X, y = mnist['data'], mnist['target'] X_train, X_test, y_train, y_test = X[:60000], X[60000:], y[:60000], y[60000:] shuffle_index = np.random.permutation(60000) X_train, y_train = X_train[shuffle_index], y_train[shuffle_index] print('load mnist successfully\n', 'X_train shape is: ',

VGG16 2019-04-18
Models from the BMVC-2014 paper “Return of the Devil in the Details: Delving Deep into Convolutional Nets” The models are trained on the ILSVRC-2012 dataset. The details can be found on the project page or in the following BMVC-2014 paper: Return of the Devil in the Details: Delving Deep into Convolutional Nets K. Chatfield, K. Simonyan, A. Vedaldi, A. Zisserman British Machine Vision Conference, 2014 (arXiv ref.

ajax Submit Data to Background 2019-04-18
ajax is a function commonly used in web development. its full name is Asynchronous JavaScript And XML. it can send data in the background. the common methods are get and post.I will take submitting forms as an example to explain the use of ajax (I use ajax encapsulated by jquery library). Html5 form code: <form id="loginForm" name="loginForm"> <table> <tr> <td><div align="right" >User Name</div></td> <td><input type="text"name="username"></td> </tr> <tr> <td><div align="right">Password</div></td> <td><input