Object detection with the DBScan algorithm