New System Aims to Automatically Detect Pedestrians In Real-time
Google cars may be tested out in the chaotic streets of London. Here's some research into a potential system to automatically detect pedestrians as they pass.
Join the DZone community and get the full member experience.Join For Free
recently, news emerged of google hoping to try out their cars on the bustling streets of london. as someone who regularly cycles on the streets of london, i can certainly attest to their unpredictable, often combative nature.
as such, they represent an enormous challenge for the google engineers as their cars will have to manage an unprecedented range of unpredictable actors, whether drivers, cyclists or pedestrians.
researchers from the university of california, san diego may be able to provide some assistance, as a recent study has explored how computers can accurately recognize objects as well as humans can.
the team have developed an algorithm that can detect a pedestrian in near real-time and with high levels of accuracy.
“we’re aiming to build computer vision systems that will help computers better understand the world around them,” the authors say.
a central part of this is to give computers real-time vision, with particular applications for things like pedestrian detection systems.
the method uses traditional computer vision classification architecture alongside deep learning models.
managing scale at speed
as you can imagine, the challenge of identifying pedestrians involves a huge amount of data as pedestrians appear in a number of different shapes, sizes and locations. as such, it typically requires millions of windows to be inspected to make an accurate diagnosis, and doing this in real-time is a huge challenge.
this approach works broadly as follows. firstly, the algorithm triages the images so that ones that are obviously not pedestrians are discarded. it then goes to work on the trickier images, so it might try and differentiate between a tree and a human. the final stage then sees the most challenging images worked on.
this approach typically requires "weak learners" to work at each stage. the approach has the advantage of speed, it isn’t really powerful enough to tackle the complex images in the final stages.
thinking fast and slow
to overcome this, the team developed an algorithm that uses deep learning during these complex latter stages. they believe that deep learning models are better suited to complex pattern recognition, thus allowing things to scale.
alas, the models require large amounts of computational grunt, so they often prevent real-time application, thus are unsuitable for the earlier stages of identification.
the team propose a hybrid approach that uses weak learners in the early stages, and then deep learning in the latter stages.
“no previous algorithms have been capable of optimizing the trade-off between detection accuracy and speed for cascades with stages of such different complexities. in fact, these are the first cascades to include stages of deep learning. the results we’re obtaining with this new algorithm are substantially better for real-time, accurate pedestrian detection,” they say.
it is very early stages at the moment, so the algorithm is only capable of working on binary detection tasks, but it will hopefully expand to more complex tasks such as simultaneous multi-object identification in time.
“one approach to this problem is to train, for example, five different detectors to recognize five different objects. but we want to train just one detector to do this. developing that algorithm is the next challenge,” the team conclude.
check out the video below for more on the method:
Published at DZone with permission of Adi Gaskell, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.