Traffic-Rules-Violation-Detection-System icon indicating copy to clipboard operation
Traffic-Rules-Violation-Detection-System copied to clipboard

How I can add new camera?

Open phatberstromgg opened this issue 5 years ago • 6 comments
trafficstars

Hi @sakibreza , your project is great. I met some problems when using it. I want to add my camera but I do not know what to do. And in your code, I couldn't file where you add your link camera. Could you help me? Thank you

phatberstromgg avatar Dec 20 '19 03:12 phatberstromgg

Did you manage to run the program ? Bcos i couldnt. It was error on the db. Do you mind to share you env package list? Pip list all

Sukhoimaster avatar Dec 21 '19 05:12 Sukhoimaster

@Sukhoimaster I managed to run the system using WSL2 Ubuntu.

erick-mars avatar Apr 16 '23 18:04 erick-mars

Hi @phatberstromgg, thanks for your interest in my project. If you want to use any camera or video files as the input of this system. You can just change the argument of the video capture method call here - https://github.com/sakibreza/Traffic-Rules-Violation-Detection-System/blob/54eea705daa9b4505996c25ea308b4d1141e1a3e/MainWindow.py#L198

For example, if you want to use your default webcam, you can just use - self.vs = cv2.VideoCapture(0)

Hope that helps. Please let me know if you have any other questions.

sakibreza avatar Apr 16 '23 20:04 sakibreza

Hello, can you give me tips on how to run the project? I followed the above steps and I still have a problem

KissAKTAK avatar Apr 29 '24 23:04 KissAKTAK

Kindly share the problem you are facing and we can discuss it @KissAKTAK .

hamzamgit avatar May 02 '24 12:05 hamzamgit

Hello, can you give me tips on how to run the project? I followed the above steps and I still have a problem

have u successfully run the project?

aks057 avatar May 25 '24 13:05 aks057