+ 6

Car Recognition

Hi guys. I have started doing a project and i have to recognise how many cars are there in one photo. I started writing some code about it but i have a problem because i can recognise one car. Have you any ideas what could i do to make my code recognise more objects of the same type (cars) in one photo. I dont need codes i am just asking for ideas.

20th Apr 2018, 5:51 PM
Giorgos Kaminiotis
Giorgos Kaminiotis - avatar
6 Answers
+ 43
the best recipe for that in python is OpenCV , NumPy,If You Want To Play Around With Pygame.Camera :p
20th Apr 2018, 6:40 PM
warlord
warlord - avatar
+ 11
Artificial intelligence, image processing, pattern recognition, neural network, great topic ^^ So your program learned to recognise one pattern. First question: Is the other object looking different and because of that not recognised? Or is it a more general problem like the program stops scanning but shouldn't?
20th Apr 2018, 6:10 PM
Tashi N
Tashi N - avatar
+ 7
I have a ready solution for that, a convolutional neural network. The problem is - can you train it with a sufficient number of "good" examples? Do you have a clean dataset you can use?
20th Apr 2018, 6:30 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
ty guys my haar cascade needed some training . now i need it to detect cars at night any ideas?
22nd Apr 2018, 10:16 PM
Giorgos Kaminiotis
Giorgos Kaminiotis - avatar
+ 1
also do you think neural networks is better or haar cascade?
22nd Apr 2018, 10:16 PM
Giorgos Kaminiotis
Giorgos Kaminiotis - avatar
0
you could create a list and every time you find a car take a look to the list if the list contains the car you keep looking for more cars until you have searched the full photo something like this (i dont know python) list cars while(searchedOnWholePhoto) { if(foundACar) { if(!cars.contains(car){ cars.add(car) } } }
20th Apr 2018, 6:18 PM
Stefanoo
Stefanoo - avatar