Closed GuardKing closed 1 year ago
Dear Guardking, thank you very much for your comments. Yes, it is true that the program presented an error to extract the cloud points. It is because, the videos must be in BGRA MODE, this is a mode that you can select from the camera. I will check the error following your suggestions.
Dear Guardking, a new version was tested (https://pypi.org/project/ak-frame-extractor/), I added videos in BGRA32 mode, to test the software. You can download it from here (https://zenodo.org/record/8232445). The tests I performed were based on the video 1080_07072022180929.mkv. According to the manufacturer's site, the best way to extract point clouds is BGRA32. The error was due to the fact that the other videos are in MJPG format. Dependencies have been updated. Steps followed for install: Setting Python environment
Installing package
Using extracted data in CloudCompare
Thank you for your report!
👍 :)
@juancarlosmiranda Thanks for your sweet reply!
I received your reply on time a month ago, but I'm sorry that I couldn't respond immediately. You solved the problem I asked about perfectly. However, due to the long delay in your response, I ended up solving the issue by writing some code to extract the point cloud data by my way. The key point indeed was the BGRA32 format. Although I don't have the opportunity to use your project now, I still want to sincerely express my gratitude for your work and responsible reply.
Wishing you a good day!
Hello author!
I have explored the project for a few days and some issues occured. In the beginning, I used the command
pip install ak-frame-extractor
to quickly install the package. But it was interrupted when installing the pyk4a1.3.0. So I couldn't install the package and run it directly throughpython -m ak_frame_extractor
.Here is my solution. I cloned the source code using the Git tool. Then I modifed the _requirementswindows.txt by removing version restrictions for pyk4a, which successfully ran the command
pip install -r requirements_windows.txt
in the virtual environment I created. Then I solved some errors about importing modules. At last I ran the commandpython ak_frame_extractor_main.py
under the _ak_frameextractor directory to try to start the main program. Fortunately it worked and the GUI appeared.The program can extract the RGB, Depth and IR data using the supplied video samples. But when I try to extract the cloud points by checking the checkbox of cloud points, some errors occur below. As a result, As a result, it extracts the RGB, Depth and IR data excluding the cloud points under the customed Dataset directory.
So my question is how to solve the error and extract the cloud points successfully? Is something wrong that the way I run the project?
I would be grateful if I could get a reply from you! Becasue I have focused on this for a long time and i really wish it can be fixed. And my OS is windows10.