Research Article
Sensor Fusion Basketball Shooting Posture Recognition System Based on CNN
Algorithm 2
Data segmentation and exclusion.
1. Open file_M | 2. Send file_M first record to record_M | 3. while file_M NOT end do | 4. if record_M is shooting interval do | 5. Delete record_M | 6. else if record_M is shooting posture do | 7. Send record_M to the shooting matrix(i) | 8. if shooting posture is end do | 9. if matrix(i) is not error do | 10. Store matrix(i) to posture dataset | 11. endif | 12. Clear matrix(i) | 13. end if | 14. end if | 15. Send file_M next record to record_M | 16. end while | 17. Close file_M |
|