Tag Archives

Archive of posts published in the category: speed
Apr
3

ahmetozlu/vehicle_counting_tensorflow: “MORE THAN VEHICLE COUNTING!” This project provides prediction for speed, color and size of the vehicles with TensorFlow Object Counting API.

This sample project focuses on “Vechicle Detection, Tracking and Counting” using TensorFlow Object Counting API.


The TensorFlow Object Counting API is used as a base for object counting on this project, more info can be found on this repo.



The developing is on progress! This sample project will be updated soon, the more talented traffic analyzer app will be available in this repo!


General Capabilities of This Sample Project

This sample project has more than just counting vehicles, here are the additional capabilities of it:

  • Detection and classification of the vehicles (car, truck, bicycle, motorcycle, bus)
  • Recognition of approximate vehicle color
  • Detection of vehicle direction of travel
  • Prediction the speed of the vehicle
  • Prediction of approximate vehicle size
  • The images of detected vehicles are cropped from video frame and they are saved as new images under “detected_vehicles” folder path
  • The program gives a .csv file as an output (traffic_measurement.csv) which includes “Vehicle Type/Size”, ” Vehicle Color”, ” Vehicle Movement Direction”, ” Vehicle Speed (km/h)” rows, after the end of the process for the source video file.

ToDos:

  • More powerful detection models will be shared.
  • Sample codes will be developed to process different types of input videos (for different types of road traffics such as two way lane road).
  • Code cleanup will be performed.
  • UI will be developed.

The input video can be accessible by this link.

Theory

System Architecture

  • Vehicle detection and classification have been developed using TensorFlow Object Detection API, see for more info.
  • Vehicle speed prediction has been developed using OpenCV via image pixel manipulation and calculation, see for more info.
  • Vehicle color prediction has been developed using OpenCV via K-Nearest Neighbors Machine Learning Classification Algorithm is Trained Color Histogram Features, see for more info.

TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them.

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products.

Tracker

Source video is read frame by frame with OpenCV. Each frames is processed by “SSD with Mobilenet” model is developed on TensorFlow. This is a loop that continue working till reaching end of the video. The main pipeline of the tracker is given at the above Figure.

Model

By default I use an “SSD with Mobilenet” model in this project. You can find more information about SSD in here. See the detection model zoo for a list of other models that can be run out-of-the-box with varying speeds and accuracies.

The minimum vehicle detection threshold can be set in this line in terms of percentage. The default minimum vehicle detecion threshold is 0.5!

Project Demo

Demo video of the project is available on My YouTube Channel.

Installation

Docker setup with Nvidia GPU: Run the demo in

May
29

A Horsepower Calculator For Elevating Your Automobile’s Top Speed

Folks had by no means wondered that they’d be capable of fly excessive in the sky just like the birds, or make a manner by way of water similar to the aquatic creatures. I do not know if it is the new vehicle which drives in another way or MY driving or what. While the brand produces luxury vehicles, these vehicle are additionally recognized for his or her energy as a lot as their luxury options. Per vehicle per crossing with as much as 7 passengers together with the driver.

Here are the driving particulars monitored by the Drive Smart machine. Nonetheless, as you play with the automobile calculator you will discover that loan terms and interest rates can have a large an impact on the bottom line, particularly for the costlier vehicles.

However for older model automobiles and trucks, batteries have individual cells that have to be refilled with battery fluid. The vehicles’ weekly body repairs could be simply seen within the later episodes. They suspected that the gadget was the trigger and advised me to regulate it. Positive enough, the following time the car freaked out, I reseated the device and the issue went away.

Even in vehicles with conventional hydraulic steering, that is no accident. That is most likely no accident, as automobile manufacturers must be doing comparable research to ours when setting the sales costs for their cars. People need to refrain in doing even small issues that may trigger extra pollution on their vehicles.

A voice on a megaphone says, “Back away from my vehicle” four occasions. When you drive lengthy distances, an electric automobile won’t suit your needs, so you will need to think about how far you intend on driving your automobile. Since drivers actually save even a cent to purchase clear diesel or motor oil, what they do is they have a tendency to not change it for some fairly period of it.

Individuals are recognized for his or her fondness of high efficiency cars which are obviously excessive powered. Take a screwdriver handle and tap the MAF flippantly a number of times on the plugin side. Point out the current local market prices of such automobiles.…