The invention provides a pet behavior
data acquisition and emotion monitoring method and an integrated
system. The method comprises the following steps: firstly, collecting
heart rate, body temperature, environment temperature and
humidity and videos, unifying a time base by matching short-distance
wireless timestamp broadcasting with local time service, performing face
mask, foreground separation and skeleton key point extraction on the videos by an end side, and only uploading structural features including key point coordinates and foreground area ratios;
time lag is obtained through normalized cross-correlation of the skeleton key point speed sequence and the
heart rate sequence,
phase alignment is completed, and a first feature sequence is obtained;
frequency domain analysis is conducted on the
tail trajectory, the
auricle pitch angle and the first feature are connected in series to form a second feature sequence, the second feature sequence is input into a cross-
modal attention sequential network, and continuous coordinates and discrete categories such as relaxation, excitation and
anxiety are output in a combined mode; a deviation degree is calculated based on an individualized
rhythm baseline, and a graded alarm is output when the threshold is exceeded and the standard is continuously reached, so that pet emotion monitoring which is privacy-friendly, reliable in alignment and explainable is realized.