Research Article
Sensor Fusion Basketball Shooting Posture Recognition System Based on CNN
Algorithm 1
Data alignment and mergence.
1. Open file_H, file_F, and file_M | 2. Send file_H first record to record_H, send file_F first record to record_F | 3. while (file_H NOT end) AND (file_F NOT end) do | 4. if record_H.timestamp == record_F.timestamp do | 5. Merge record_H and record_F to file_M | 6. Send file_H next record to record_H, send file_F next record to record_F | 7. else if record_H.timestamp > record_F.timestamp do | 8. Delete record_F, send file_F next record to record_F | 9. else if record_H.timestamp < record_F.timestamp do | 10. Delete record_H, send file_H next record to record_H | 11. end if | 12. end while | 13. Close file_H, file_F, and file_M |
|