Giter VIP home page Giter VIP logo

carnd-camera-calibration'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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

carnd-camera-calibration's Issues

ModuleNotFoundError: No module named 'PyQt4'


ModuleNotFoundError Traceback (most recent call last)
in ()
4 import matplotlib.image as mpimg
5 import glob
----> 6 get_ipython().magic('matplotlib qt')
7
8 fname = 'calibration_test.png'

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py in magic(self, arg_s)
2156 magic_name, _, magic_arg_s = arg_s.partition(' ')
2157 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2158 return self.run_line_magic(magic_name, magic_arg_s)
2159
2160 #-------------------------------------------------------------------------

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py in run_line_magic(self, magic_name, line)
2077 kwargs['local_ns'] = sys._getframe(stack_depth).f_locals
2078 with self.builtin_trap:
-> 2079 result = fn(*args,**kwargs)
2080 return result
2081

in matplotlib(self, line)

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/magic.py in (f, *a, **k)
186 # but it's overkill for just that one bit of state.
187 def magic_deco(arg):
--> 188 call = lambda f, *a, **k: f(*a, **k)
189
190 if callable(arg):

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/magics/pylab.py in matplotlib(self, line)
98 print("Available matplotlib backends: %s" % backends_list)
99 else:
--> 100 gui, backend = self.shell.enable_matplotlib(args.gui)
101 self._show_matplotlib_backend(args.gui, backend)
102

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/interactiveshell.py in enable_matplotlib(self, gui)
2947 gui, backend = pt.find_gui_and_backend(self.pylab_gui_select)
2948
-> 2949 pt.activate_matplotlib(backend)
2950 pt.configure_inline_support(self, backend)
2951

/Users/xqian/anaconda/lib/python3.6/site-packages/IPython/core/pylabtools.py in activate_matplotlib(backend)
306
307 import matplotlib.pyplot
--> 308 matplotlib.pyplot.switch_backend(backend)
309
310 # This must be imported last in the matplotlib series, after

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/pyplot.py in switch_backend(newbackend)
231 matplotlib.use(newbackend, warn=False, force=True)
232 from matplotlib.backends import pylab_setup
--> 233 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
234
235

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/init.py in pylab_setup()
30 # imports. 0 means only perform absolute imports.
31 backend_mod = import(backend_name,
---> 32 globals(),locals(),[backend_name],0)
33
34 # Things we pull in from all backends

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/backend_qt4agg.py in ()
16
17
---> 18 from .backend_qt5agg import FigureCanvasQTAggBase as _FigureCanvasQTAggBase
19
20 from .backend_agg import FigureCanvasAgg

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/backend_qt5agg.py in ()
14
15 from .backend_agg import FigureCanvasAgg
---> 16 from .backend_qt5 import QtCore
17 from .backend_qt5 import QtGui
18 from .backend_qt5 import FigureManagerQT

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/backend_qt5.py in ()
24
25 from matplotlib.widgets import SubplotTool
---> 26 import matplotlib.backends.qt_editor.figureoptions as figureoptions
27
28 from .qt_compat import (QtCore, QtGui, QtWidgets, _getSaveFileName,

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/qt_editor/figureoptions.py in ()
18 import matplotlib
19 from matplotlib import cm, markers, colors as mcolors
---> 20 import matplotlib.backends.qt_editor.formlayout as formlayout
21 from matplotlib.backends.qt_compat import QtGui
22

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/qt_editor/formlayout.py in ()
54
55 from matplotlib import colors as mcolors
---> 56 from matplotlib.backends.qt_compat import QtGui, QtWidgets, QtCore
57
58

/Users/xqian/anaconda/lib/python3.6/site-packages/matplotlib/backends/qt_compat.py in ()
139 # have been changed in the above if block
140 if QT_API in [QT_API_PYQT, QT_API_PYQTv2]: # PyQt4 API
--> 141 from PyQt4 import QtCore, QtGui
142
143 try:

ModuleNotFoundError: No module named 'PyQt4'

Incorrect `test_image.jpg` in `calibration_wide/`

Hello,

The test_image.jpg you provided in the calibration_wide/ does not match the figure in Udacity's ND0013 Exercise 1.2.1: Correcting-for-Distortion.ipynb.

This affects the test data provided to us in the wide_dist_pickle.p pickle file to compare the student's object points/image points returned from the OpenCV findChessboardCorners() method as well as the camera intrinsics/extrinsic from OpenCV's calibrateCamera().

Because of this, students are unable to compare their solution to factual test data using their version of test_image.png given in the exercise workspace.

Please update either this test_image.jpg file and the corresponding data in the pickle file, or provide Udacity students in their Jupyter workspace the actual test_image.png shown in the assignment figure below:

Fig. 1. The Udacity figure with the expected "test image".

More information

  • This is an ongoing issue discussed with the Mentor (Neha) on Udacity Knowledge forum here
  • The "Original Image" shown in the figure below appears to be GOPR0038.jpg
  • However, using this as the "test_image" and checking my solution with Udacity's test() against the pickle file, I receive a 'Oops! that looks different than my result!' error.
  • Using the current test_image.jpg, this is what I obtain after correction:
    Fig. 2. The results I obtain from using the actual test_image.png provided to me in the workspace.
    which is clearly a very different result than the expected above.

Notebook crashing with docker image

OS
Ubuntu 18.04.2 LTS

Docker Image:
docker pull udacity/carnd-term1-starter-kit

Docker Run:
docker run -it --rm --entrypoint "/run.sh" -p 8888:8888 -v ~/Documents/Github/Self\ Driving\ Car\ Engineer/CarND-Camera-Calibration/:/src udacity/carnd-term1-starter-kit

Error Lines:
%matplotlib qt

Error:
Kernel Died

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.