Shortest Path

Finding the shortest path between two dots.
400 Downloads
Updated 23 Mar 2012

View License

You can use this code to draw a line according to your hand movements in videos. It draws a line comparing consecutive two frames and center of hands position. You first hand position is (x,y) and second hand position is (x1,y1), keeping this information in the buffer you can draw a line.

Cite As

deniz kumlu (2024). Shortest Path (https://www.mathworks.com/matlabcentral/fileexchange/35836-shortest-path), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graph and Network Algorithms in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0