# Enhanced Pet Behavior Prediction via S2 GAN-Based Heterogeneous Data Synthesis
## 4 Experiment
### Data Collection Tools and Collected Dataset  
To facilitate smooth data collection, a kit consisting of a webcam for CCTV, wearable devices, and a data collection device was assembled. The CCTV webcam used is the ABKO APC930 model, capturing data at FHD (1920 \(\times\) 1080) resolution at 20 FPS. Since the goal of this paper is to apply the setup in real environments, the position or shooting angle of the webcam was not fixed. To ensure effective joint extraction from the video, the entire body of the pet was recorded within a 3 m radius. The wearable device was custom-made, consisting of Maxim's MAX32670 board and an ICM-20948 IMU sensor, collecting accelerometer, gyroscope, and magnetometer data at 50 Hz. Finally, as shown in Figure 6(a), the board was mounted inside a 3D-printed case and attached to a collar, weighing approximately 28 g with dimensions of approximately 40 \(\times\) 15 \(\times\) 10 mm\({}^{3}\).  
The data collection device was a tool designed to synchronize and process video and sensor data based on time. As shown in Figure 8, the Odroid-N2+ board produced by Hard Kernel was used in this study. An application installed on the data collection device enabled users to start and stop data collection. Upon completion of data collection, an environment was established to store the data in a database connected to a server.  
\begin{table}
\begin{tabular}{c c} \hline \hline
**Component** & **Specification** \\ \hline CPU & AMD Ryzen 9 5950X \\ GPU & NVIDIA RTX 3090 Ti \\ RAM & 128 GB \\ CUDA & 11.8 \\ cuDNN & 8.3 \\ Python & 3.10 \\ Pytorch & 2.2 \\ Keras & 2.13.1 \\ \hline \hline \end{tabular}
\end{table}
Table 3: Experimental environment specifications.  
Participants were recruited to collect pet behavior data; to ensure that data could be collected in an environment similar to real-life settings, instructions for setting up and using the data collection device, CCTV, and wearable devices were provided to the participant.  
Ultimately, data were collected from 10 dogs (Table 4). During the data collection process, instances where a part of a human body appeared in the frame or only a part of the pet was captured, preventing skeleton extraction, were excluded. The number of actions collected for each behavior is listed in Table 5.  
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**Number** & **Breed** & **Age (Month)** & **Weight (kg)** \\ \hline
1 & Yorkshire & 48 & 7.8 \\
2 & Toy Poodle & 76 & 4.7 \\
3 & Toy Poodle & 150 & 5 \\
4 & Toy Poodle & 130 & 1.5 \\
5 & Miniature Poodle & 68 & 2.2 \\
6 & Miniature Bichon & 94 & 3.1 \\
7 & Mixed Breed & 36 & 4.6 \\
8 & Mixed Breed & 42 & 4.2 \\
9 & Border Collie & 24 & 14.5 \\
10 & Mixed Breed & 12 & 6.3 \\ \hline \hline \end{tabular}
\end{table}
Table 4: List of dogs that participated in the experiment.  
Figure 8: Odroid-N2+ board and the application of data collection devices: (**a**) Odroid-N2+ board produced by Hard Kernel and (**b**) screen showing data collection.  
Figure 7: Custom-made wearable device for the pet. (**a**) Wearable device board; (**b**) actual appearance of a dog wearing the device.