-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.10 : TypeError #1
Comments
Hi @cryptoer-satoshi, Thanks for reporting this issue. It seems that the error is related to converting datetime objects to integers in the VehicleDetectionTracker.py file. To assist you better, could you please provide examples of the data you're working with when this error occurs? This will help us understand the context in which it's happening and how we can address it more effectively. Looking forward to your response so we can continue working on a solution. Thank you! |
Hi sergio11 I was working with mp4 file which was the input, so I get this error : by the way, thank you for great work. |
Same issue for me:
I was processing an mp4 file locally. |
Hi @wimdecorte Could you test with the last version 0.0.32? This issue is already fixed in this version which I just launched |
Hi @sergio11 , That was using 0.0.32. Changing line 195 fixes the issue as per @cryptoer-satoshi 👍 |
/workspace/vehicle_detection_tracker/examples/OpenCvTrackerTest.py", line 19, in
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/VehicleDetectionTracker/VehicleDetectionTracker.py", line 291, in process_video
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/VehicleDetectionTracker/VehicleDetectionTracker.py", line 195, in process_frame
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'datetime.datetime'
we need to change the package code,
delta_t = t2.timestamp() - t1.timestamp()
The text was updated successfully, but these errors were encountered: