Skip to content

butnaruteodor/IPMandCamCalib

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


IPMandCamCalib

This is a repository for high performance real time camera calibration and performing inverse perspective mapping at the same time.
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

I've had problems with finding a performant algorithm which calibrates the camera and performs inverse perspective mapping to get the bird eye view variant of an image to use in my self driving car project so I made this repository to help other people that want a high performance camera calibration and/or ipm algorithm.

The IPM code is heavily inspired from IPM-master by JamesLiao so huge thanks for his work!

The code was built primarily to run on jetson nano although it should work on any cuda capable device.

(back to top)

Getting Started

First you should get started by trying out the demo

Prerequisites

Here are all the dependencies you will need:

  • cuda 10.1 or 10.2

    Follow the official documentation from NVIDIA CUDA

  • gcc 8

    sudo apt-get install gcc-8 g++-8
  • cmake

    sudo apt-get install cmake
  • eigen

    sudo apt install libeigen3-dev
  • opencv (needed only for demo)

    Follow the official documentation OpenCV

Installation

  1. Clone the repo
    git clone https://github.com/butnaruteodor/IPMandCamCalib.git
  2. Build the project
    chmod +x build.sh && ./build.sh
  3. Run the demo
    ./IPM

(back to top)

Usage

(back to top)

Roadmap

  • Add documentation
  • Add usage examples
  • Broader compatibility

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Butnaru Teodor - butnaruteodor@gmail.com

Project Link: https://github.com/butnaruteodor/IPMandCamCalib

(back to top)

Acknowledgments

(back to top)