Magnetic fingerprint has a multitude of advantages in the application of indoor positioning, but as a weak magnetic field, the dynamic range of the data is limited, which exerts direct influence on the positioning accuracy. Aiming at resolving the problem wherein the indoor magnetic positioning results tremendously rest with the magnetic characteristics, this paper puts forward a method based on deep learning to fuse the temporal and spatial characteristics of magnetic fingerprints, to fully explore the magnetic characteristics and to obtain stable and trustworthy positioning results. First and foremost, the trajectory of the acquisition area is extracted by adopting the ameliorated random waypoint model, and the simulation of pedestrian trajectory is completed. Then, the magnetic sequence is obtained by mapping the magnetic data. Aside from that, considering the scale characteristics of the sequence, a scale transformation unit is designed to obtain multi-scale features. At length, the neural network self-attention mechanism is adopted to fuse multiple features and output the positioning results. By probing into the positioning results of dissimilar indoor scenes, this method can adapt to diverse scenes. The average positioning error in a corridor, open area and complex area reaches 0.65 m, 0.93 m and 1.38 m respectively. The addition of multi-scale features has certain reference value for ameliorating the positioning performance.
In the development of web systems, data uploading is a relatively important function. The traditional method of uploading data is to manually fill out forms, but when the data to be uploaded mostly exist in the form of form images, and the form content contains a lot of similar field information and irrelevant edge information, using traditional methods is not only time-consuming and labor-intensive, but also prone to errors. This requires a technology that can automatically fill in complex form images. OCR is an optical character recognition technology that can convert images into digitized text data using computer vision methods. However, using this technology alone cannot complete the tasks of extracting relevant data and filling corresponding fields. To address this issue, this article proposes a method that combines OCR technology and Levenshtein multi-text similarity. This method can effectively solve the problem of data filling after parsing complex form images, and the application results of this method in web systems show that the filling accuracy for complex form images can reach over 90%.
With the development of technology, the popularity of online medical treatment is becoming more and more widespread. However, the accuracy and credibility of online medical treatment are affected by model design and semantic understanding. In particular, there are still some problems in the accurate understanding of complex structured texts, which affects the accuracy of judging users’ intentions and needs. Therefore, this paper proposes a new method for medical text parsing, which realizes core tasks such as named entity recognition, intention recognition, and slot filling through a multi-task learning framework; uses BERT to obtain contextual semantic information; and combines BiGRU and BiLSTM neural networks, and uses CRF to realize sequence annotation and DPCNN to realize classification prediction. Thus, the task of entity recognition and intention recognition can be accomplished. On this basis, this paper builds a multi-task learning model based on BiGRU-BiLSTM, and uses CBLUE and CMID databases to verify the method. The verification results show that the accuracy of named entity recognition and intention recognition reaches 86% and 89%, respectively, which improves the performance of various tasks. The ability of the model to process complex text is enhanced. This method can improve the text generalization ability and improve the accuracy of online medical intelligent dialogue when it is used to analyze medical texts.
The exotic pet trade is a major driver of alien species invasions. Improper introductions or a lack of management can result in severe ecological consequences. Therefore, accurate identification of exotic pets is essential for the prevention and early warning of species invasions. This paper proposes a novel recognition method for fine-grained images of small-scale exotic pet snakes in complex backgrounds based on an improved SimCLR framework. A hierarchical window attention mechanism is introduced into the encoder network to enhance feature extraction. In the loss function, a supervised contrastive mechanism is introduced to exclude false negative samples using label information, which helps reduce representation noise and enhance training stability. The training strategy incorporates random erasing and random grayscale data augmentation techniques to improve performance further. The projection head is constructed using a two-layer multilayer perceptron (MLP), and the cosine annealing schedule combined with the AdamW optimizer is adopted for learning rate adjustment. Experimental results on a self-constructed dataset demonstrate that the proposed model achieves a recognition accuracy of 97.5%, outperforming existing baseline models. This study fills a gap in exotic pet snake classification and provides a practical tool for species invasion prevention and early detection.
In the realm of image classification, the capsule network is a network topology that packs the extracted features into many capsules, performs sophisticated capsule screening using a dynamic routing mechanism, and finally recognizes that each capsule corresponds to a category feature. Compared with previous network topologies, the capsule network has more sophisticated operations, uses a large number of parameter matrices and vectors to express picture attributes, and has more powerful image classification capabilities. However, in the practical application field, the capsule network has always been constrained by the quantity of calculation produced by the complicated structure. In the face of basic datasets, it is prone to over-fitting and poor generalization and often cannot satisfy the high computational overhead when facing complex datasets. Based on the aforesaid problems, this research proposes a novel enhanced capsule network topology. The upgraded network boosts the feature extraction ability of the network by incorporating a multi-scale feature extraction module based on proprietary star structure convolution into the standard capsule network. At the same time, additional structural portions of the capsule network are changed, and a variety of optimization approaches such as dense connection, attention mechanism, and low-rank matrix operation are combined. Image classification studies are carried out on different datasets, and the novel structure suggested in this paper has good classification performance on CIFAR-10, CIFAR-100, and CUB datasets. At the same time, we also achieved 98.21% and 95.38% classification accuracy on two complicated datasets of skin cancer ISIC derived and Forged Face EXP.
Day–night image classification under low-light conditions faces substantial domain shift, uncertain target-domain predictions, and unreliable pseudo-label supervision. To address these challenges, this paper proposes an unsupervised day–night domain adaptation method for image classification based on target-domain discriminative enhancement. Built on a bidirectional day–night domain alignment framework, the method introduces Target-Domain Discriminative Clustering (TDCL) and Confidence-Calibrated Pseudo-Label Learning (ConCal). TDCL combines sample-level entropy minimization with batch-level nuclear-norm maximization to improve prediction certainty and the discriminative structure of target-domain predictions. ConCal applies class-adaptive confidence thresholds to current-model predictions to select reliable target samples and uses the corresponding pseudo-labels for self-training. On the CODaN nighttime test set, the proposed method achieves an accuracy of 76.24 ± 0.41%, exceeding the published WiiD result by 5.92 percentage points. On the extended ExDark evaluation set, comprising additional non-overlapping nighttime images, it achieves 76.73 ± 0.57%, outperforming the reproduced WiiD baseline by 3.63 percentage points. These results indicate that explicitly optimizing the target-domain prediction structure and improving pseudo-label reliability can further enhance nighttime classification.