QA Official

Simple Implementation of Face Recognition

https://qaofficial.com/post/2019/05/13/71872-simple-implementation-of-face-recognition.html 2019-05-13
# Some Face Recognition# 1 data yale 2 prepare trainlabel-"train# 3 cnn 4 Detectionimport tensorflow as tfimport numpy as npimport scipy.io as siof = open('./Yale_64x64.mat','rb')mdict = sio.loadmat(f)# print(type(mdict))# print(mdict.keys())# print(mdict['gnd'])# print(mdict['fea'])# fea gndtrain_data = mdict['fea']train_label = mdict['gnd']# Method 1 (Disorder)# np.random.seed(50)# train_data = np.random.permutation(train_data)# np.random.seed(50)# [0,1,2,3,4,5] -> [3,5,2,4,0,1]# train_label = np.random.permutation(train_label)# Method 2 (Disorder)# np.random.seed(50)# np.random.shuffle(train_data)# np.random.seed(50)# # [0,1,2,3,4,5] -> [3,5,2,4,0,1]# np.random.shuffle(train_label)# Method 3 (Disorder)m = len(train_label)Permutation = np.

Summary of Key Points for Realizing Speech Recognition and Speech Synthesis of Windows SDK in Unity

https://qaofficial.com/post/2019/05/13/71876-summary-of-key-points-for-realizing-speech-recognition-and-speech-synthesis-of-windows-sdk-in-unity.html 2019-05-13
Some time ago, the Xunfei SDK was needed in the project to realize the functions of speech recognition and speech synthesis. However, it was necessary to realize these functions in the project inside built by Unity. The difference in programming languages and the characteristics of Unity itself made it difficult to use the Xunfei SDK on Unity.After looking up some information from the Internet and some of my own attempts,

Unable to load DLL. Specified module not found

https://qaofficial.com/post/2019/05/13/71839-unable-to-load-dll.-specified-module-not-found.html 2019-05-13
Today, I encountered a problem when trying to write a test script with ranorex. I found that a dll component could not be called, causing an exception. I searched the network and found three versions of the solution: Scheme 1 copy XXXX.dll (indicating missing components) to bin directory in project folder Scheme II copy XXXX.dll (indicating missing components) to system32 directory Scheme III = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[EMGU] Learn EmguCV (II) Use of Image and Matrix

https://qaofficial.com/post/2019/05/13/71840-emgu-learn-emgucv-ii-use-of-image-and-matrix.html 2019-05-13
Reprinted from: http://www.cnblogs.com/bomo/archive/2013/03/28/2986573.html [EMGU] Learn EmguCV (II) Use of Image and Matrix

c #-opencv-initial value of the type "Emgu.CV.CvInvoke" showing picture exception

https://qaofficial.com/post/2019/05/13/71854-c-#-opencv-initial-value-of-the-type-ampquotemgu.cv.cvinvokeampquot-showing-picture-exception.html 2019-05-13
first make sure that opencv and emgucv are not installed repeatedly, which may cause errors when configuring path.Emgucv includes opencv. friends who use C# development can safely install emguv only. 1. In case of error prompt: tbb_debug.dll cannot be found Please download and install the Intel tbb library. You need to configure the path where the TBB library or dll file is located in the system environment variable PATH.

code comments for opencv face recognition facedetect

https://qaofficial.com/post/2019/05/13/71783-code-comments-for-opencv-face-recognition-facedetect.html 2019-05-13
First contact with computer vision requires the use of opencv, so I borrowed some data and found this face recognition program very interesting, so I added some simple comments for further study.PS: The water is so deep ~ ~ ~ Come on. #include "opencv2/objdetect/objdetect.hpp" //物体检测库 #include "opencv2/highgui/highgui.hpp" //图形视频处理库 #include "opencv2/imgproc/imgproc.hpp" //brief The Image Processing #include <cctype>

learning note TF058: face recognition

https://qaofficial.com/post/2019/05/13/71879-learning-note-tf058-face-recognition.html 2019-05-13
Face Recognition, a biometric identification technology based on human face feature information.Cameras and cameras collect face images or video streams, automatically detect and track faces in images, and perform face related technical processing, face detection, face key point detection, face verification, etc."MIT Technology Review" (MIT Technology Review), 2017, the world's top 10 breakthrough technology list, Alipay "Paying with Your Face" shortlisted. face recognition advantages, non-mandatory (acquisition method is not easy

GMM Introduction

https://qaofficial.com/post/2019/05/11/70154-gmm-introduction.html 2019-05-11
Gaussian mixture model (GMM) Whether it is k-means, hierarchical clustering or DBSCAN, there is an obvious "dividing line" after clustering. However, if it is two mixed data, these methods cannot cluster well, while GMM can classify such mixed data well. GMM uses the principle of Gaussian distribution of similar data to distinguish the data. 1 step Step 1: Initialize K Gaussian distributions; GMM required parameter, n_components, specifying the number of

Integer, int uses traps

https://qaofficial.com/post/2019/05/11/69632-integer-int-uses-traps.html 2019-05-11
Trap One: System.out.println(2/3); Execution Result:zero Trap 2: System.out.println(Integer.parseInt("01")); Execution Result:one Trap 3: System.out.println(Integer.valueOf(null)); Execution Result:Exception in thread “main” java.lang.NumberFormatException: nullat java.lang.Integer.parseInt(Integer.java:542)at java.lang.Integer.valueOf(Integer.java:766)

JavaScript Implements Selective Sorting Algorithm to Sort Arrays

https://qaofficial.com/post/2019/05/11/69768-javascript-implements-selective-sorting-algorithm-to-sort-arrays.html 2019-05-11
principle: Find the largest (smallest) number from the array and place it at the beginning of the array. Continue to find the largest (smallest) number from the remaining numbers and place it after the sorted sequence. Repeat the search until the array is sorted. code: var examplearr=[8,94,15,88,55,76,21,39]; Array.prototype.selectSort = function(){ var arr = this.concat(); for(var i= 0, len = arr.length; i < len; ++i) { var index = i; for(var