-
Notifications
You must be signed in to change notification settings - Fork 51
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
No detections #3
Comments
FYI: This was a proof of concept project carried out by a group of students and therefor support isn't possible (unless one of the students involved are able to help). |
Hi @mesakarghm First of all I see you are running on windows. I never tested the code on windows so it may be that is giving you trouble. To help you further however I need some info like error messages. Maybe there are some in the terminal? But if you want to get it running quickly then I recommend you install Ubuntu lts. I think that the video detection thread is crashing because of some missing dependencies. Greetings Sieuwe |
@sieuwe1 I did test this on Ubuntu as well as I have a dual booted system and there was no detection there as well. What you should note is, I did perform the test on a prerecorded video, using the external source option in gui.py and changing cv2.videocapture("video path") in tracker.py. Could you recreate the scenario and find out whether the problem lies with the repo or my sytem ? I don't have the openremote manager installed, that shouldn't really be a problem should it? |
Can you re clone the entire repo so you start with a fresh unchanged version. And then go to main.py and change at line 18 the "0" to "path to your video file". And then run main.py. Thus should start the yolo detection but bypasses the gui. Greetings Sieuwe |
Thanks, that did solve the problem of no detection. The code runs fine now, but there's some kind of weird warning: NumbaWarning: File "sort.py", line 37: |
I have a problem like that. I didn't solve it . |
I have this problem too! `[True, True, True, True, True, True, ['person'], True, 0] File "sort.py", line 38: @jit |
I had the same issue., Now got Fixed., Try and Follows these steps to fix the bug.
from scipy.optimize import linear_sum_assignment as linear_assignment
def linear_assignment(cost_matrix): |
I have been trying to test the model in a pre-recorded video. But unfortunately, there's no any detection being made in the frames. The code seems alright to me? Any idea why this is happening?
The text was updated successfully, but these errors were encountered: