Giter Site home page Giter Site logo

adassourrondview's Introduction

360 Surround-View C++ Project

WeChat&知乎:ADAS之眼

wechat

个人博客网站传送门

Reference Repo

index repo info
1 surround-view-system-introduction python verison, refrence repo for 2D avm
2 3d surround-view-system cuda+opengl verison, for 3d avm

the project params described doc link:

surrond view doc

How To Build And Run?

  • build
#!/bin/bash
mkdir build
cd build 
cmake ..
make
  • run
# make sure data(images amd yaml) path is ../../ before cur app
./avm_app

Result

awb and lum banlance disable awb and lum banlance enable
no banlance banlance

adassourrondview's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adassourrondview's Issues

3D环视

你给的这个3D环视的链接,你复现了吗,能不能出个教程

merge_image函数报错"cannot bind non-const lvalue reference of type ‘cv::Mat&’ to an rvalue of type ‘cv::Mat’"

报错如下,请问该如何解决?

/home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp: In function ‘int main(int, char**)’:
/home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:133:58: error: cannot bind non-const lvalue reference of type ‘cv::Mat&’ to an rvalue of type ‘cv::Mat’
  133 |     merge_image(undist_dir_img[0](roi), undist_dir_img[1](roi), merge_weights_img[2], out_put_img(roi));
      |                                         ~~~~~~~~~~~~~~~~~^~~~~
In file included from /home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:8:
/home/funnywii/Documents/CV/360/AdasSourrondView/./srcs/common.h:50:41: note:   initializing argument 2 of ‘void merge_image(cv::Mat, cv::Mat&, cv::Mat&, cv::Mat&)’
   50 | void merge_image(cv::Mat src1, cv::Mat& src2, cv::Mat& w, cv::Mat& out);
      |                                ~~~~~~~~~^~~~
/home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:136:58: error: cannot bind non-const lvalue reference of type ‘cv::Mat&’ to an rvalue of type ‘cv::Mat’
  136 |     merge_image(undist_dir_img[0](roi), undist_dir_img[3](cv::Rect(0, 0, xl, yt)), merge_weights_img[1], out_put_img(cv::Rect(xr, 0, xl, yt)));
      |                                         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:8:
/home/funnywii/Documents/CV/360/AdasSourrondView/./srcs/common.h:50:41: note:   initializing argument 2 of ‘void merge_image(cv::Mat, cv::Mat&, cv::Mat&, cv::Mat&)’
   50 | void merge_image(cv::Mat src1, cv::Mat& src2, cv::Mat& w, cv::Mat& out);
      |                                ~~~~~~~~~^~~~
/home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:139:77: error: cannot bind non-const lvalue reference of type ‘cv::Mat&’ to an rvalue of type ‘cv::Mat’
  139 |     merge_image(undist_dir_img[2](cv::Rect(0, 0, xl, yt)), undist_dir_img[1](roi), merge_weights_img[0], out_put_img(roi));
      |                                                            ~~~~~~~~~~~~~~~~~^~~~~
In file included from /home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:8:
/home/funnywii/Documents/CV/360/AdasSourrondView/./srcs/common.h:50:41: note:   initializing argument 2 of ‘void merge_image(cv::Mat, cv::Mat&, cv::Mat&, cv::Mat&)’
   50 | void merge_image(cv::Mat src1, cv::Mat& src2, cv::Mat& w, cv::Mat& out);
      |                                ~~~~~~~~~^~~~
/home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:142:58: error: cannot bind non-const lvalue reference of type ‘cv::Mat&’ to an rvalue of type ‘cv::Mat’
  142 |     merge_image(undist_dir_img[2](roi), undist_dir_img[3](cv::Rect(0, yb, xl, yt)), merge_weights_img[3], out_put_img(cv::Rect(xr, yb, xl, yt)));
      |                                         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/funnywii/Documents/CV/360/AdasSourrondView/avm_app_demo.cpp:8:
/home/funnywii/Documents/CV/360/AdasSourrondView/./srcs/common.h:50:41: note:   initializing argument 2 of ‘void merge_image(cv::Mat, cv::Mat&, cv::Mat&, cv::Mat&)’
   50 | void merge_image(cv::Mat src1, cv::Mat& src2, cv::Mat& w, cv::Mat& out);
      |                                ~~~~~~~~~^~~~

实际运行

您好,我看到您的项目到拼接鸟瞰图的部分就结束了,有考虑更新实际运行部分的代码吗?

Steps to find project_keypoints

Hi, I know that to perform perspective transform we need source points and reference points. Source points is picked manually from undistorted source image. What is the procedure to get reference points that is passed in params.cpp. As it has to resemble the same on final birds eye view output.

Secondly, at what height was the fisheye cameras mounted?

在4.2 four corner merge得到的图像错误

作者您好,

运行您的代码,得到的结果如下,能看到很多黑色横线。
ADAS_EYES_360_VIEW

配置方面,我的yaml是利用 surround-view-system-introduction 的python代码得到的,内参、畸变参数和proj矩阵是直接copy过来的,weights.png也是copy过来用的

我看了一下左上角的out_put_img(roi)图像,是下面的结果,
zuoshang

使用surround-view-system-introduction 这个代码,拼接得到的图像是正常的,虽然4个角的效果也不太好,但是不存在黑线。

请问这可能是什么原因导致的?

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.