GithubHelp home page GithubHelp logo

balloon61 / perception-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 138.67 MB

Assignments in Computer Vision course. This repository including AR marker detect, Histogram equalization, Line detection, Stereo Vision, Turning prediction

Python 100.00%
ar-markers computer-vision histogram-equalization hough-transform line-detection stereo-vision

perception-project's Introduction

Perception-Project

Description:

This repository includes several basic perception project

Requirement:

numpy, cv2, matplotlib

AR Tag Detection:

Description:

Detect AR tag in any direction.

Result:

AR_detect_AdobeExpress (1)

Video 1. AR Tag detection

Coin Seperation

Description:

Calculate how many coins in this image.

Result:

Image processing is shown as follows, and the number of coins will be published in your terminal when you executed the code. Q1imageScreenshot from 2022-10-26 13-23-55

Fig 1. (Left) Preprocessing image (Right) After processing image

Historgram Equalization

Description:

Given a sequence of image and do Historgram Equalization and Adaptive Historgram Equalization to each images.

Result:

0000000000 Fig 2. Original image output00 Fig 3. Historgram Equalization (top) original (mid) Historgram Equalization (bot) Adaptive Historgram Equalization

Line Detection

Description:

Detect Lane in the highway.

Lane_detection_AdobeExpress

Video 2. Line Detection

Steering Prediction

Description:

Calculate the curvature of the lane in the highway and predict the steering direction.

Results:

turning_prediction_AdobeExpress (1)

Video 3. Turning Prediction

Stereo Vision

Description:

implement the concept of Stereo Vision. given several different datasets, each of them contains 2 images of the same scenario but taken from two different camera angles. By comparing the information about a scene from 2 vantage points, we can obtain the 3D information by examining the relative positions of objects.

Pipeline for creating a Stereo Vision System:

  1. Calibration: Get the F (fundamental matrix), K (intrinsic matrix), and E (essential matrix)
  2. Rectification: Apply the perspective transformation to make sure that the epipolar lines are horizontal for both images
  3. Correspondence: Get the disparity image which is the image that given where each pixels gives the disparity of the 3D points.
  4. Compute Depth Image: Directly use the disparity matrix to calculate the depth image.

Results:

Rectification:

Screenshot from 2022-10-26 13-51-10 Fig 4. Corresponding Eplliplolar line

Screenshot from 2022-10-26 13-50-59

Fig 5. Rectified

Correspondence:

Screenshot from 2022-10-26 13-50-27

Fig 6. Disparity

Depth Image:

Screenshot from 2022-10-26 13-52-40

Fig 7. Depth image

perception-project's People

Contributors

balloon61 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.