Package: ak-sm-recorder
AKFruitData: AK_SM_RECORDER - Azure Kinect SM RecorderA simple GUI recorder based on Python to manage Azure Kinect camera devices in a standalone mode. Visit the project site
athttps://pypi.org/project/ak-sm-recorder/ContentsPre-requisites.Functionalities.Install and run.Files and folder description.Development tools, environment, build executables.1. Pre-requisitesAzure Kinect DK camera connected to the computer. Specifications can be seen in
themanufacturer site.SDK Azure Kinectinstalled.pyk4a libraryinstalled. If the operating system is Windows, follow
thissteps. You can find test basic examples with
pyk4ahere.In Ubuntu 20.04, we provide a script to install the camera drivers following the instructions
inazure_kinect_notes.2. FunctionalitiesThe functionalities of the software are briefly described. Supplementary material can be found
inUSER's Manual.[Show real time]Display images of the device in real time. Used to see where the camera is pointing.[Start record]Start a video recording.[Stop record]Stops a video recording in progress.[Take screenshots]Take screenshots and save them in Matroska format as short videos.[Take 3D point cloud capture]Take the captures as 3D point cloud data and save them in .XYZ format.[Save config]Enables to the user to configure Azure Kinect devices parameters.Videos and 3D cloud points can be retrieved from"RECORDER_VIDEOS/"folder.3. Install and run3.1 PIP quick install packageCreate your Python virtual environment.python3 -m venv ./ak_sm_recorder_venv
source ./ak_sm_recorder_venv/bin/activate
pip install --upgrade pip

# on Windows systems
.\ak_frame_extractor_venv\Scripts\activate
python.exe -m pip install --upgrade pip



pip install ak-sm-recorder  
python -m ak_sm_recorder3.2 Install and run virtual environments using scripts provided[Linux]
Enter to the folder"ak_sm_recorder/"Create virtual environment(only first time)./creating_env_ak_sm_recorder.shRun script../ak_sm_recorder_start.sh[Windows]
Enter to the folder "ak_sm_recorder/"Create virtual environment(only first time)TODO_HERERun script from CMD../ak_sm_recorder_start.bat4. Files and folder descriptionFolder description:FoldersDescriptiondocs/Documentationsrc/Source codewin_exe_conf/Specifications for building .exe files withPyinstaller...Files description:FilesDescriptionOSactivate.batActivate environments in WindowsWINclean_files.batClean files under CMD.WINak_sm_recorder_main.batExecuting main scriptWINbuild_pip.batBuild PIP package for distributionWINbuild_win.batBuild .EXE for distributionWINcreating_env_ak_sm_recorder.shAutomatically creates Python environmentsLinuxak_sm_recorder_start.shExecuting main scriptLinux/src/ak_sm_recorder/main.pyMain function used in package compilationSupported by Python/ak_sm_recorder_main.pyPython main functionSupported by Pythonsetup.cfgPackage configuration PIPSupported by Pythonpyproject.tomlPackage description pipSupported by Python5. Development tools, environment, build executablesSome development tools are needed with this package, listed below:Pyinstaller.Opencv.Curses for Pythonpip install windows-curses.7zip.5.1 Notes for developersYou can use themain.py for execute as first time in src/ak_sm_recorder/_ _ main _ _.py Configure the path of the
project, if you use Pycharm, put your folder root like this:(docs/img/ak_sm_recorded_presentation.png)5.2 Creating virtual environment Linuxpython3 -m venv ./venv
source ./venv/bin/activate
pip install --upgrade pip
pip install -r requirements_linux.txt5.3 Creating virtual environment  Windows%userprofile%"\AppData\Local\Programs\Python\Python38\python.exe" -m venv ./venv
venv\Scripts\activate.bat
pip install --upgrade pip
pip install -r requirements_windows.txt** If there are some problems in Windows, followthis**pip install pyk4a --no-use-pep517 --global-option=build_ext --global-option="-IC:\Program Files\Azure Kinect SDK v1.4.1\sdk\include" --global-option="-LC:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\amd64\release\lib"5.4 Building PIP packageWe are working to offer Pypi support for this package. At this time this software can be built by scripts automatically.5.4.1 Build packagespy -m pip install --upgrade build
build_pip.bat5.4.2 Download PIP packagepip install ak_sm_recorder-1.0-py3-none-any.whl5.4.3 Run ak_sm_recorderpython -m ak_sm_recorder.py5.4 Building .EXE for Windows 10build_win.batAfter the execution of the script, a new folder will be generated inside the project"/dist". You can copy **
ak_sm_recorder_f/** or a compressed file"ak_sm_recorder_f.zip"to distribute.5.6 Package distribution formatExplain about packages distribution.Package typePackageUrlDescriptionWindows.EXE.EXEExecutables are stored under build/Linux.deb.debNOT IMPLEMENTED YETPIP.whl.whlPIP packages are stored in build/AuthorshipThis project is contributed byGRAP-UdL-AT. Please contact authors to report
bugsjuancarlos.miranda@udl.catCitationIf you find this code useful, please consider citing:GRAP-UdL-AT/ak_sm_recorder.AcknowledgementsThis work is a result of the RTI2018-094222-B-I00 project(PAgFRUIT)granted by MCIN/AEI and by the European Regional
Development Fund (ERDF). This work was also supported by the Secretaria d’Universitats i Recerca del Departament
d’Empresa i Coneixement de la Generalitat de Catalunya under Grant 2017-SGR-646. The Secretariat of Universities and
Research of the Department of Business and Knowledge of theGeneralitat de Catalunyaand Fons Social Europeu (FSE) are
also thanked for financing Juan Carlos Miranda’s pre-doctoral fellowship(2020 FI_B 00586).