ultralytics / kinect

3D Scene Reconstruction in MATLAB with the Microsoft Kinect depth sensor.
https://ultralytics.com
GNU Affero General Public License v3.0
18 stars 8 forks source link

arrangement about the requirements #1

Open jeihyunsung opened 5 years ago

jeihyunsung commented 5 years ago

The requirements in this repo are for Linux users, and I couldn't understand fully about that there is another download file for run this code.

First for running this code MATLAB, we should download another MATLAB utilities from https://github.com/ultralytics/functions-matlab and there are some useful utilites used in the code 'buildscene.m' like 'fig' functions from line 19. Next I tried to run this code with addpath for MATLAB utilites and for convenience, I put this kinect folder into the MATLAB utility folder, 'functions-matlab'. And then I run the code addpath to all folders.

Also, I think the code 'addpath(genpath('/functions-matlab'))' should be changed to 'addpath(genpath('./functions-matlab'))' (add a mark) is it right? I did it anyway.

pderrenger commented 5 months ago

@jeihyunsung hello!

Thank you for reaching out with your questions regarding the setup for MATLAB utilities. It seems like you've been exploring the integration of our code with MATLAB and have some queries about the correct usage of addpath.

You are correct that the addpath function is used to include directories in MATLAB's search path, allowing it to find the functions you need. If you've placed the 'functions-matlab' directory within your current working directory, then using addpath(genpath('./functions-matlab')) is indeed the right approach. The . refers to the current directory, and genpath generates a path string that includes all the subfolders in 'functions-matlab', which is necessary for MATLAB to access all the utilities.

If you encounter any further issues or have additional questions, please feel free to ask. Remember, the documentation at Ultralytics Docs can also be a helpful resource for additional information.

Happy coding! 😊👨‍💻