unspecified error & Process finished with exit code 0 [closed]
hi I have written these codes about Image Processing:
homography, mask = cv2.findHomography(src_pts, dst_pts, cv2.RANSAC, 5.0)
pts = np.float32([[0, 0], [0, h - 1], [w - 1, h - 1], [w - 1, 0]]).reshape(-1, 1, 2)
dst = cv2.perspectiveTransform(pts, homography)
...
col_1 = rot_and_transl[:, 0]
col_2 = rot_and_transl[:, 1]
col_3 = rot_and_transl[:, 2]
normalise vectors
l = math.sqrt(np.linalg.norm(col_1, 2) * np.linalg.norm(col_2, 2))
but after writing "Import math" pycharm wrote some lines except Writing ERROR Clearly (i.e : typeerror or syntaxerror)
Error: failed to send plot to http://127.0.0.1:63342
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2020.2\plugins\python\helpers\pycharm_display\datalore\display\display_.py", line 60, in _send_display_message
urlopen(url, buffer)
File "C:\Users\Ali Hoseyni\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Ali Hoseyni\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\Ali Hoseyni\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\Ali Hoseyni\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
Ofcourse Process finished with exit code 0
Now, I am confused about what happened in My Codes?? Do My codes Have Error? or NOT?
sorry, but we cannot help you configuring your ide, this is entirely off-topic.