Pig variety identification method, device and computer readable storage medium

A recognition method and a technology of a recognition device, which are applied in the field of image recognition, can solve problems such as low recognition accuracy of pig breeds, and achieve the effect of solving low accuracy and improving accuracy

Inactive Publication Date: 2019-11-05
GUANGDONG UNIV OF TECH
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a pig breed identification method, device and computer-readable storage medium, which are used to solve the existing technical problem of low pig breed recognition accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Pig variety identification method, device and computer readable storage medium
  • Pig variety identification method, device and computer readable storage medium
  • Pig variety identification method, device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0054] The present invention provides a first embodiment of a pig breed identification method, comprising:

[0055] Step 101, acquire the image of the pig to be identified.

[0056] The pig image to be identified can be obtained in real time by installing a camera in the pig living environment, and the obtained pig image needs to be screened to leave an effective image containing the pig's front face and side face.

[0057] Step 102, input the image of the pig to be identified into the preset n objective functions as Feature extraction is performed in the convolutional neural network model, and n groups of feature vectors are output;

[0058] Among them, loss cross is the cross entropy loss function, w i is the i-th weight, N is the total number of samples, α is the coefficient of the regularization term, and r is the two regularization terms with The proportion of r takes n different values ​​between [0,1], corresponding to n different models.

[0059] In this example,...

no. 2 example

[0068] The present invention provides a second embodiment of a pig breed identification method, comprising:

[0069] Step 201, acquiring images of pigs to be trained, and marking the images of pigs to be trained.

[0070] Obtaining the image of the pig to be trained is the same as the content of step 101 in the first embodiment. For specific description, please refer to the content of step 101 in the first embodiment, which will not be repeated here.

[0071] Classify and label the collected images of pigs to be trained to obtain a dataset of images of pigs to be trained.

[0072] Step 202, preprocessing the marked pig images to be trained to obtain preprocessed pig images to be trained, and dividing the preprocessed pig images to be trained to obtain n sub-training sets.

[0073] The preprocessing operation includes flipping and / or filling and / or translation operations on the pig image to be trained, so as to expand the training data set. If the training data set is too smal...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a pig variety identification method, a pig variety identification device, and a computer readable storage medium. The method comprises the steps of obtaining a to-be-identifiedpig image; inputting the to-be-identified pig image into n preset convolutional neural network models with target functions as follows for feature extraction, and outputting n groups of feature vectors; inputting the output n groups of feature vectors into n preset classifiers, outputting n first classification results, and performing weighted voting on the output n first classification results to obtain an identification result; wherein losscan is a cross entropy loss function, wi is the ith weight, N is the total number of samples, alpha is a regularization term coefficient, r is the sum oftwo regularization terms and the proportion of the two regularization terms, and r takes n different values between [0, 1] and corresponds to n different models. According to the pig variety identification method provided by the invention, the technical problem that the identification accuracy of pig identification based on a traditional machine vision image identification method is not high is solved.

Description

technical field [0001] The invention relates to the field of image recognition, in particular to a pig breed recognition method, device and computer-readable storage medium. Background technique [0002] With the rise of pork prices, more and more people are investing in the pig industry. During the breeding process, farmers often need to know the diet, health status, growth status and other information of each pig to master the information of each pig. Therefore, identifying the identity information of each pig is beneficial for farmers to manage. Large-scale pig farms do not have an accurate and effective identification method for pig identity management. In the prior art, traditional machine vision-based image recognition methods are used for pig identification, but pigs using traditional machine vision-based image recognition methods Only the recognition accuracy is not high. Contents of the invention [0003] The invention provides a pig breed identification method,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/62
CPCG06F18/2411G06F18/241
Inventor 闫芮铵张立臣
Owner GUANGDONG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products