Open 5urabhi opened 1 year ago
@5urabhi Hi!
Please refer to the following issues:
The part of the code you mentioned is from sktime library
Hey I tried to run your code with bounce=1 and minimap =1
getting error:
File "/content/drive/MyDrive/Tennis-T-D/predict_video.py", line 342, in
Hey i wanted to know how does you predict the bouncing point of the ball so correctly. I was trying to understand your code to implement something similar to your bounce detection. I understand the part where you are saving x, y and v data in csv format and you are using pretrained model to detect the bounce but i am unable to understand how does this part of the code works: Xs = test_df[['lagX_20', 'lagX_19', 'lagX_18', 'lagX_17', 'lagX_16', 'lagX_15', 'lagX_14', 'lagX_13', 'lagX_12', 'lagX_11', 'lagX_10', 'lagX_9', 'lagX_8', 'lagX_7', 'lagX_6', 'lagX_5', 'lagX_4', 'lagX_3', 'lagX_2', 'lagX_1']] Xs = from_2d_array_to_nested(Xs.to_numpy()) can you please explain in detail.