I'm using depthai_experiments main.py script to generate aligned RGBD images.
The blob file /depthai-experiments/gen2-mega-depth/models/megadepth_192x256_openvino_2021.4_6shave.blob
seems to be set to 192X256 pixels. Is it possible to change this file to the full resolution of the depth camera pair (640X480)?
I tried the command:
NN_WIDTH, NN_HEIGHT = 480, 640
into the script, and it gives an error:
[18443010510F8E1200] [333.752] [NeuralNetwork(0)] [warning] Input image (480x640) does not match NN (256x192)
I assume that means that even though the NN_WIDTH command is used to specify width, that the blob file is preloaded with the lower resolution parameters.
I'm using an Oak-D lite, and its stated depth camera resolution is 640 X 480.
Any ideas how to get to the stated resolution? There are significant object edge artifacts in the RGBD image, which may be caused by mapping the much lower resolution depth map to the 1080 X 1440 color image which is 31 times less dense. The 480X640 resolution would be lower by a factor of 5, which would improve things greatly.