Hello,
first of all, I would like to thank you for your support in my first project with OAK-D-S2. Everything worked properly as I wanted to be.
For spatial coordination detection, I used the code that @erik gave to me which was:
from depthai_sdk import OakCamera, ArgsParser

import argparse

import depthai as dai

def a(packet):

for det in packet.detections:

spatials = det.img_detection.spatialCoordinates

print(spatials.x, spatials.y, spatials.z)

# parse arguments

parser = argparse.ArgumentParser()

parser.add_argument("-conf", "--config", help="Trained YOLO json config path", default='model/yolo.json', type=str)

args = ArgsParser.parseArgs(parser)

with OakCamera(args=args) as oak:

stereo = oak.create_stereo(fps=8)

color = oak.create_camera('color', fps=8)

nn = oak.create_nn(args['config'], color, nn_type='yolo', spatial=stereo)

oak.visualize(nn, fps=True, scale=2/3)

oak.callback(nn.out.passthrough, a)

oak.start(blocking=True)

Right now, I want to make exactly the same project with different devices so that I can detect a larger outdoor space. Therefore, from Waveshare's website, I chose the following combination:
-NVIDIA Jetson Nano Developer Kit (B01)

-High-Resolution High Sensitivity IMX477 Sensor(*2)

-6mm Wide Angle Lens for Raspberry Pi High-Quality Camera(*2)

My question is: Can I apply the same code to them? If not, What should I do to get the same results with them?

Thanks,

Hi @MhmdBarazi
The depthai library is intended to be used with Luxonis OAK devices. It won't work on Jetson, unless you also have an OAK device connected to it.

Thanks,
Jaka

What's the main reason for going with separate components instead of using OAK camera?

    erik OAK has a DEPTH MEASURING RANGE limit which is 35 meter. It is not enough for me.

      Hi MhmdBarazi
      Depth range is depends on the baseline, the resolution and the HFOV of the cameras. docs.

      Using a jetson won't help unless you also change the baseline. You can do the same thing by using something like an OAK-FFC-3P or 4P and set a custom baseline distance, which will allow you to have a greater depth accuracy at higher distances.

      Thanks,
      Jaka

      5 days later

      @jakaskerl erik Can this option(FFC-3P or 4P) reach to around 100m depth measuring range?

      I know that using a jetson won't help. But if I want to go with FFC-3P or 4P, which kit do you recommend with them?

      Thanks,