error traffic light detection

11 views (last 30 days)
MUHAMMAD HANIF BIN ABDUL RAHMAN
Answered: Kiran Felix Robert on 23 Jul 2020
im referring to Thomas 2017 works traffic light detection
the coding used a live stream.
i receive error Unrecognized function or variable 'pkg'. anyone know how to solve this.
besides that, can i use other video source other than live stream.? if can how?

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 23 Jul 2020
Hi Muhammad,
I understand that you are trying to load a package into MATLAB path. In MATLAB the way to add packages to path is to set it manually. This is illustrated here.
Image Processing Toolbox contains all the necessary image processing functions.
To load a video from a file instead of a live stream, refer to this documentation about VideoReader.
Kiran

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!