To automatically detecting whether a person is wearing mask properly,we propose a face mask detection algorithm based on hue-saturation-value(HSV)+histogram of oriented gradient(HOG)features and support vector machine...To automatically detecting whether a person is wearing mask properly,we propose a face mask detection algorithm based on hue-saturation-value(HSV)+histogram of oriented gradient(HOG)features and support vector machines(SVM).Firstly,human face and five feature points are detected with RetinaFace face detection algorithm.The feature points are used to locate to mouth and nose region,and HSV+HOG features of this region are extracted and input to SVM for training to realize detection of wearing masks or not.Secondly,RetinaFace is used to locate to nasal tip area of face,and YCrCb elliptical skin tone model is used to detect the exposure of skin in the nasal tip area,and the optimal classification threshold can be found to determine whether the wear is properly according to experimental results.Experiments show that the accuracy of detecting whether mask is worn can reach 97.9%,and the accuracy of detecting whether mask is worn correctly can reach 87.55%,which verifies the feasibility of the algorithm.展开更多
Writer identification(WI)based on handwritten text structures is typically focused on digital characteristics,with letters/strokes representing the information acquired from the current research in the integration of ...Writer identification(WI)based on handwritten text structures is typically focused on digital characteristics,with letters/strokes representing the information acquired from the current research in the integration of individual writing habits/styles.Previous studies have indicated that a word’s attributes contribute to greater recognition than the attributes of a character or stroke.As a result of the complexity of Arabic handwriting,segmenting and separating letters and strokes from a script poses a challenge in addition to WI schemes.In this work,we propose new texture features for WI based on text.The histogram of oriented gradient(HOG)features are modified to extract good features on the basis of the histogram of the orientation for different angles of texts.The fusion of these features with the features of convolutional neural networks(CNNs)results in a good vector of powerful features.Then,we reduce the features by selecting the best ones using a genetic algorithm.The normalization method is used to normalize the features and feed them to an artificial neural network classifier.Experimental results show that the proposed augmenter enhances the results for HOG features and ResNet50,as well as the proposed model,because the amount of data is increased.Such a large data volume helps the system to retrieve extensive information about the nature of writing patterns.The affective result of the proposed model for whole paragraphs,lines,and sub words is obtained using different models and then compared with those of the CNN and ResNet50.The whole paragraphs produce the best results in all models because they contain rich information and the model can utilize numerous features for different words.The HOG and CNN features achieve 94.2%accuracy for whole paragraphs with augmentation,83.2%of accuracy for lines,and 78%accuracy for sub words.Thus,this work provides a system that can identify writers on the basis of their handwriting and builds a powerful model that can help identify writers on the basis of their sentences,words,and sub words.展开更多
基金National Natural Science Foundation of China(No.519705449)。
文摘To automatically detecting whether a person is wearing mask properly,we propose a face mask detection algorithm based on hue-saturation-value(HSV)+histogram of oriented gradient(HOG)features and support vector machines(SVM).Firstly,human face and five feature points are detected with RetinaFace face detection algorithm.The feature points are used to locate to mouth and nose region,and HSV+HOG features of this region are extracted and input to SVM for training to realize detection of wearing masks or not.Secondly,RetinaFace is used to locate to nasal tip area of face,and YCrCb elliptical skin tone model is used to detect the exposure of skin in the nasal tip area,and the optimal classification threshold can be found to determine whether the wear is properly according to experimental results.Experiments show that the accuracy of detecting whether mask is worn can reach 97.9%,and the accuracy of detecting whether mask is worn correctly can reach 87.55%,which verifies the feasibility of the algorithm.
文摘Writer identification(WI)based on handwritten text structures is typically focused on digital characteristics,with letters/strokes representing the information acquired from the current research in the integration of individual writing habits/styles.Previous studies have indicated that a word’s attributes contribute to greater recognition than the attributes of a character or stroke.As a result of the complexity of Arabic handwriting,segmenting and separating letters and strokes from a script poses a challenge in addition to WI schemes.In this work,we propose new texture features for WI based on text.The histogram of oriented gradient(HOG)features are modified to extract good features on the basis of the histogram of the orientation for different angles of texts.The fusion of these features with the features of convolutional neural networks(CNNs)results in a good vector of powerful features.Then,we reduce the features by selecting the best ones using a genetic algorithm.The normalization method is used to normalize the features and feed them to an artificial neural network classifier.Experimental results show that the proposed augmenter enhances the results for HOG features and ResNet50,as well as the proposed model,because the amount of data is increased.Such a large data volume helps the system to retrieve extensive information about the nature of writing patterns.The affective result of the proposed model for whole paragraphs,lines,and sub words is obtained using different models and then compared with those of the CNN and ResNet50.The whole paragraphs produce the best results in all models because they contain rich information and the model can utilize numerous features for different words.The HOG and CNN features achieve 94.2%accuracy for whole paragraphs with augmentation,83.2%of accuracy for lines,and 78%accuracy for sub words.Thus,this work provides a system that can identify writers on the basis of their handwriting and builds a powerful model that can help identify writers on the basis of their sentences,words,and sub words.