
Real time traffic tracking using matching algorithms
In this project, the students are expected to perform the "matching algorithms" to capture moving pedestrians and vehicles traffic and compare them quantitatively.
Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

A comprehensive course on Computer Vision using Python. This course is highly suited for beginners
Basics of Computer Vision using Python is an online course from Skill-Lync: 12 weeks, 21 hours of content and 2 industry projects.
Compare all 9 Skill-Lync computer vision courses · Compare all 25 Skill-Lync Python courses · Best computer vision course in India: other providers compared
Our projects are designed by experts in the industry to reflect industry standards. By working through our projects, Learners will gain a practical understanding of what they will take on at a larger-scale in the industry. In total, there are 2 Projects that are available in this program.

In this project, the students are expected to perform the "matching algorithms" to capture moving pedestrians and vehicles traffic and compare them quantitatively.

In this project, students will have to download public road video dataset and design a machine learning based technique to segment and identify specific tasks related to autonomous…
Video stories from learners of related computer science programs, from Skill-Lync's YouTube channel.
by the Skill-Lync team
Computer vision is getting useful facts out of pictures: where the road edge is, whether a part has a crack, how far away a car is. To a computer, a picture is only a grid of numbers. This course names four tools: Python, OpenCV, TensorFlow and Keras. OpenCV handles the classical toolkit. TensorFlow with Keras handles neural networks.
OpenCV calls itself the "Open Source Computer Vision Library". It holds ready-made versions of the filters, edge detectors and feature finders that Weeks 2 to 11 of the syllabus teach. Think of it as a workshop of vision tools. You still have to know which tool fits the job, and that is what the early weeks are for.
TensorFlow is a machine learning platform, and Keras is its high-level interface for building and training neural networks, in TensorFlow's own words. The course overview describes "classical computer vision, 2d and 3d processing, camera projections, use of machine learning in vision systems". Week 12 is where the neural networks arrive: LeNet, AlexNet, YOLO, GAN and a lesson on confidence in classification output. The split of tool to week is our reading of the syllabus, not a promise for every lesson.
Classical methods come first on purpose. They are small enough to compute by hand, as the next three answers do, and they explain what a neural network is later asked to learn.
An edge is a place where brightness jumps. The Sobel filter finds it by sliding a small 3 × 3 table of weights over the image. At each spot it multiplies the 9 pixels under the table by the weights and adds them up. Where brightness is flat the answer is 0. Where it jumps, the answer is large. Week 3 covers Prewitt, Sobel and Canny edge detection.
The weights for finding vertical edges, from the standard Sobel definition, are:
Row by row the table, called , is −1, 0, +1, then −2, 0, +2, then −1, 0, +1.
The 0 column in the middle ignores the pixel itself. The right column adds and the left column subtracts, so the sum is the brightness on the right minus the brightness on the left. The 2 in the middle row gives the pixel straight left and right extra say. A second table, , does the same for horizontal edges. The edge strength is .
Take a tiny 5 × 5 image where every row is 10, 10, 10, 200, 200. That is a dark band next to a bright band, with one vertical edge. This pure-Python code slides both tables over it:
img = [[10, 10, 10, 200, 200]] * 5 # 5 rows, dark on the left, bright on the right
kx = [[-1, 0, 1], [-2, 0, 2], [-1, 0, 1]]
ky = [[-1, -2, -1], [0, 0, 0], [1, 2, 1]]
def slide(k, r, c): # multiply the 3x3 patch centred on (r, c) by the kernel, add up
return sum(k[i][j] * img[r + i - 1][c + j - 1] for i in range(3) for j in range(3))
for r in range(1, 4): # the 1-pixel border is skipped, so the output is 3 x 3
print([slide(kx, r, c) for c in range(1, 4)], [slide(ky, r, c) for c in range(1, 4)])It prints:
[0, 760, 760] [0, 0, 0]
[0, 760, 760] [0, 0, 0]
[0, 760, 760] [0, 0, 0]Read the middle number of the first row. The patch under the table is 10, 10, 200 in each of its 3 rows. Each row gives , and the weights 1, 2, 1 for the three rows give . The first column is 0 because that patch is all 10, so there is no jump. The output is 0 everywhere because nothing changes from the top of the image to the bottom. The edge strength is .
Notice the edge lights up 2 pixels wide, because the table overlaps the jump from two positions. Canny, also in Week 3, thins that to 1 pixel with non-maximal suppression. One more detail: libraries differ on whether they flip the table first (true convolution) or not. A flip reverses the sign of the result, not its strength.
The simplest split is a threshold: every pixel brighter than a cut-off becomes "object" and the rest "background". Otsu''s method picks the cut-off for you, by trying every one and keeping the one that separates the two groups best. It is in Week 4, under thresholding based on the histogram.
A histogram counts how many pixels sit at each brightness. For a part on a dark table it usually has two humps, one dark and one bright, with a valley between. Otsu''s method, as described on Wikipedia, minimises the spread inside the two groups or, equivalently, maximises the gap between them. With and as the shares of pixels in each group and and as their average brightness, the score for a cut-off is:
Use a toy 8-level image of 100 pixels. The counts at levels 0 to 7 are 10, 28, 16, 3, 2, 6, 24 and 11. Two humps sit at levels 1 and 6, with a valley at levels 3 and 4. This code scores every cut-off:
h = [10, 28, 16, 3, 2, 6, 24, 11] # pixels at grey levels 0 to 7, 100 in all
N = sum(h)
for t in range(1, 8): # levels below t are "dark", the rest "bright"
n0 = sum(h[:t]); w0 = n0 / N
m0 = sum(i * h[i] for i in range(t)) / n0
m1 = sum(i * h[i] for i in range(t, 8)) / (N - n0)
print(t, round(w0 * (1 - w0) * (m0 - m1) ** 2, 2))It prints:
1 1.2
2 3.96
3 5.52
4 5.68
5 5.61
6 4.96
7 1.71The best score is 5.68 at , so levels 0 to 3 become background and 4 to 7 become object. Check it by hand for : 57 pixels are dark, so and . Their averages are 1.21 and 6.02, giving from the rounded averages, or 5.68 unrounded. Compare at 1.20: that cut puts the big hump at level 1 on both sides of the line.
The catch is that Otsu works best when the histogram really has two humps. Uneven lighting smears them together, which is why the same week lists Adaptive Otsu, background subtraction and clustering such as K-means.
In the pinhole model, a point in 3D lands on the image at a position scaled by the focal length divided by the distance: . The focal length has to be in pixels, not millimetres. Convert with . Weeks 10 and 11 cover the projective camera model, calibration and stereo depth.
Use a real camera so the numbers are not made up. The Raspberry Pi Camera Module 3 documentation lists a Sony IMX708 sensor of 4,608 × 2,592 pixels, a pixel size of 1.4 µm and a focal length of 4.74 mm. The sensor area it lists is 6.45 × 3.63 mm. That checks out: mm.
The point 2 m to the right, 0.5 m below and 30 m ahead of the camera is m. With the optical axis through the image centre (an assumption, real cameras are slightly off), the pixel position is:
f_mm, pix_um, w_px, h_px = 4.74, 1.4, 4608, 2592 # Raspberry Pi Camera Module 3, full resolution
f_px = f_mm * 1000 / pix_um # focal length in pixels
X, Y, Z = 2.0, 0.5, 30.0 # metres: right, down, ahead of the camera
u = w_px / 2 + f_px * X / Z # assume the optical axis hits the image centre
v = h_px / 2 + f_px * Y / Z
print(f"f = {f_px:.0f} px, point lands at ({u:.0f}, {v:.0f})")
print(f"a 1.8 m wide car at 30 m is {f_px * 1.8 / Z:.0f} px wide")
print(f"a 1.8 m wide car that looks 100 px wide is {f_px * 1.8 / 100:.1f} m away")It prints:
f = 3386 px, point lands at (2530, 1352)
a 1.8 m wide car at 30 m is 203 px wide
a 1.8 m wide car that looks 100 px wide is 60.9 m awaySo pixels, the point lands at (2530, 1352), and a 1.8 m wide car at 30 m is 203 pixels wide. Run it backwards and you can estimate distance: a car 1.8 m wide that looks 100 pixels wide is about 60.9 m away. The width of 1.8 m is an assumed value for a car, and that is the catch. From one image, size and distance cannot be separated unless you know one of them. The syllabus names this "ambiguity in single view", and Week 11's stereo geometry is the fix.
These figures are for the full 4,608 × 2,592 mode. Other camera modes crop or bin the sensor, which changes .
You compare the box your program drew with the box a person drew, using intersection over union (IoU): the overlap area divided by the combined area. A perfect match scores 1 and no overlap scores 0. It is the same statistic as the Jaccard index. The first course project compares tracked traffic quantitatively, and Week 12 reaches YOLO, a detector that outputs boxes.
Say the true box on a pedestrian is 200 × 150 pixels, from (100, 100) to (300, 250). Your tracker outputs a box of the same size from (150, 120) to (350, 270), slid 50 pixels right and 20 down. The overlap runs from x = 150 to 300 and y = 120 to 250, which is pixels. Each box has , so the union is and:
def iou(a, b): # boxes are (x1, y1, x2, y2) in pixels
w = min(a[2], b[2]) - max(a[0], b[0])
h = min(a[3], b[3]) - max(a[1], b[1])
inter = max(w, 0) * max(h, 0)
union = (a[2]-a[0]) * (a[3]-a[1]) + (b[2]-b[0]) * (b[3]-b[1]) - inter
return inter / union
truth = (100, 100, 300, 250)
print(round(iou(truth, (150, 120, 350, 270)), 3))
print(round(iou(truth, (110, 105, 310, 255)), 3))It prints:
0.481
0.849The second box is off by only 10 pixels and 5 pixels and scores 0.849. A box that looks close to the eye can still score under 0.5. Where you draw the line between "found it" and "missed it" is your choice, and it should be stated with any result. Accuracy alone can also mislead, as our steel surface defect project shows with a worked case.
It is 12 weeks of classical computer vision followed by neural networks, recorded as 41 sessions of about 21 hours in total, with 2 projects. It goes from how a camera forms an image to edges, segmentation, tracking, camera geometry and deep learning. The tools are Python, OpenCV, TensorFlow and Keras.
The 2 projects are "Real time traffic tracking using matching algorithms" and "Real time video segmentation using machine learning and feature extraction". The second asks you to download a public road video dataset and design a machine learning based method to segment it, using open source tools or a data competition such as Kaggle.
The syllabus asks for some algebra, statistics and basic programming in Python or MATLAB. The lesson titles on the learning platform are only "Week 1 Session 1" and so on, so this page describes lessons by the syllabus. For what comes next, see Applying CV for Autonomous Vehicles, Introduction to Camera Systems and Localization, Mapping, and SLAM. For fees and a comparison of providers, see the computer vision course comparison. The wider topic is on the computer vision hub.
Our records cannot show it for this course. As of 22 Nov 2026, none of Skill-Lync's 3,905 placement records names this course, and none has vision, image, CV, perception or ADAS in the job title. The nearest signal is machine learning and data science roles, and it is small.
17 out of 3,905 is thin, and these are not computer vision roles and not outcomes of this course. The sample is self-reported by learners, covers 2019 to 2026, and is mostly 2021 to 2023 starting offers. Treat it as a floor on what we can see, not as a market size.
So read the course as a skill, not a job promise. A vision project you can show matters more than a certificate. The two projects here, traffic tracking and road video segmentation, are the portfolio pieces, and the comparison page covers fees and alternatives.
| Course | Length | Projects | Tools | Fee |
|---|---|---|---|---|
| Basics of Computer Vision using Python (this page)Classical vision first, then CNNs and YOLO | 12 weeks, 21 h | 2 | Python, OpenCV, TensorFlow, Keras TensorFlow 2 | ₹40,000 |
| Applying CV for Autonomous Vehicles using PythonCV applied to autonomous vehicles | 12 weeks, 21 h | 2 | MATLAB, Python, TensorFlow, OpenCV, Keras TensorFlow 2 | ₹40,000 |
| Introduction to Camera SystemsHow cameras and image sensors work | 8 weeks, 28 h | 2 | - | ₹40,000 |
| Localization, Mapping, and SLAM using PythonMapping and locating a robot with sensors | 12 weeks, 19 h | 2 | Python, C++ | ₹40,000 |
| Path Planning & Trajectory Optimization Using C++ & ROSPlanning paths in C++ and ROS | 12 weeks, 23 h | 2 | C++, ROS, Eclipse ADORe | ₹40,000 |
| Introduction to ROS/GitHub/LinuxROS, GitHub and Linux basics | 12 weeks, 19 h | 2 | ROS, GitHub, Python, CARLA, OpenCV | ₹40,000 |
Lengths, projects and fees are taken from each course page on 22 Nov 2026; fees are the Premium plan in INR, including all charges.
Become job ready with our comprehensive industry focused curriculum for freshers & early career professionals
The syllabus above lists the topics for each of the 12 weeks, and the course runs as 41 recorded sessions, about 21 hours in all, on Skill-Lync's learning platform with 1 year of access.
The week-by-week syllabus does not list cloud services as a topic, so you do not need a cloud background. The tools named for the course are Python, OpenCV, TensorFlow and Keras.
A counsellor will walk you through the syllabus, projects and fee options — and tell you honestly if another course suits you better.