limaries30 / AutoParking

AutoParking using RaspberryPi
8 stars 4 forks source link

Get AVM(Around View Monitor) image #10

Open hkh9715 opened 3 years ago

hkh9715 commented 3 years ago

https://github.com/Ahid-Naif/Around-View-Monitoring-AVM https://github.com/Nebula4869/fisheye_camera_undistortion

https://www.notion.so/gunny/2020-11-16-AVM-study-3d1cd8a39eca4286958d9a07e5e60b5e https://www.notion.so/gunny/2020-11-22-camera-calibration-45e1249b7cc94809bdacbb66f4dc9057

  1. make bird view rectified
hkh9715 commented 3 years ago

undistortion.py

file = open("Parameters/K_DValues" + cameraName + ".txt", "r")

-경로 수정으로 해결

File "c:\Users\한건희\Desktop\pythonworkspace\Around-View-Monitoring-AVM\Camera[Undistortion.py](http://undistortion.py/)", line 76, in undistort undistortedImage = cv2.remap(image, map1, map2, interpolation=cv2.INTER_LINEAR, borderMode=cv2.BORDER_CONSTANT)

cv2.error: OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wwma2wne\opencv\modules\imgproc\src\imgwarp.cpp:668: error: (-215:Assertion failed) !ssize.empty() in function 'cv::remapBilinear'