Spectacular AI SDK fuses data from cameras and IMU sensors and outputs an accurate 6-degree-of-freedom pose of a device.

Overview

Spectacular AI SDK examples

Spatial AI

Spectacular AI SDK fuses data from cameras and IMU sensors (accelerometer and gyroscope) and outputs an accurate 6-degree-of-freedom pose of a device. This is called Visual-Inertial Odometry (VIO) and it can be used in, among other cases, tracking (autonomous) robots and vehicles, as well as Augmented, Mixed and Virtual Reality.

Supported devices

Out-of-the-box

The SDK supports a limited set of devices out-of-the-box. This means that the SDK can be used without any manual calibration, integration or parameter tuning, with these devices. If you want to test the SDK as easily as possible, we recommend buying one of these devices. At the moment, the only supported device is the OAK-D by Luxonis. See the folder python/oak for more information about the OAK-D wrapper.

Other devices

The SDK can be integrated on any device with adequate sensors and processing capabilities. At minimum, a single rolling-shutter camera + mid-quality MEMS IMU is sufficient. For better performance, a global-shutter stereo camera and a better MEMS IMU (e.g., CEVA BNO08X or Murata SCHA634) is recommended. At minimum, CPU resources equivalent to approximately one ARM Cortex A72 core (e.g., one core in Raspberry Pi 4) is required.

For more information, contact us at https://www.spectacularai.com/#contact.

Known limitations in the SDK

(We're working on these)

  • No tracking status. If the tracking breaks (e.g., when pointing at a blank wall), there is no indication of the failure from the SDK
  • No loop closures. The current version of the SDK performs only local VIO. It will eventually drift and the SDK makes no attempts to correct this
  • API documentation to be published soon

Possible other bugs and other problems can be reported as issues in this Github repository.

Copyright

The examples in this repository are licensed under Apache 2.0 (see LICENSE).

The SDK itself (not included in this repository) is proprietary to Spectacular AI. The OAK / Depth AI wrapper available in PyPI is free for non-commercial use on x86_64 Windows and Linux platforms. For commerical licensing options and more SDK variants (ARM binaries & C++ API), contact us at https://www.spectacularai.com/#contact .

Comments
  • Unable to run Mapping_visu with oak-D

    Unable to run Mapping_visu with oak-D

    Hello!

    I am trying to run the dem mapping_visu with a oak-D Pro POE camera.

    but when i start the demo I get this as error message:

    
    Starting OAK-D device
    Close the window to stop mapping
    Spectacular AI SDK: WARN: unrecoginzed OAK board name 'NG9097'
    you may need to manually set IMU-to-camera extrinsics (configuration.imuToCameraLeft)
    [Open3D WARNING] GLFW Error: WGL: Failed to make context current: Der angeforderte Transformationsvorgang wird nicht unterstützt.
    Exception in thread Thread-1:
    Traceback (most recent call last):
      File "C:\Users\in\Anaconda3\envs\DepthAi\lib\threading.py", line 973, in _bootstrap_inner
        self.run()
      File "C:\Users\in\Anaconda3\envs\DepthAi\lib\threading.py", line 910, in run
        self._target(*self._args, **self._kwargs)
      File "E:\Workfolder\DepthAi\SpectacularAI\sdk-examples\python\oak\mapping_visu.py", line 244, in captureLoop
        vioPipeline.startSession(device) as vio_session:
    RuntimeError: Spectacular AI SDK:  error: LOW USB SPEED!
    
    ############################################################################
    Your USB connection speed 'UNKNOWN' is lower than required.
    Please check that you have connected the device to an USB 3 port with an
    undamaged USB 3 cable (blue interior). Speed SUPER or better is recommended.
    Disable this check by setting config.ensureSufficientUsbSpeed to false.
    ############################################################################
    

    My camera is not a USB camera, its a Power Over Ethernet camera.

    Can this be solved?

    Thank you!

    Best regards

    opened by tanzerlana 11
  • What is

    What is "spectacularAI_realsensePlugin"? How to install that?

    Thanks for the Great sharing I met a Error when I try to build the cpp examples: CMake Error at CMakeLists.txt:19 (find_package): By not providing "FindspectacularAI_realsensePlugin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "spectacularAI_realsensePlugin", but CMake did not find one.

    Could not find a package configuration file provided by "spectacularAI_realsensePlugin" with any of the following names:

    spectacularAI_realsensePluginConfig.cmake
    spectacularai_realsenseplugin-config.cmake
    

    Add the installation prefix of "spectacularAI_realsensePlugin" to CMAKE_PREFIX_PATH or set "spectacularAI_realsensePlugin_DIR" to a directory containing one of the above files. If "spectacularAI_realsensePlugin" provides a separate development package or SDK, be sure it has been installed.

    Configuring incomplete, errors occurred! See also "/home/xss/SoftWare/sdk-examples/cpp/realsense/build/CMakeFiles/CMakeOutput.log".

    What is "spectacularAI_realsensePlugin"? How to install that? Thanks a lot

    opened by JimXu1989 5
  • I installed the tutorial on win10 and run the pen_3d demo

    I installed the tutorial on win10 and run the pen_3d demo

    C:/Users/Administrator/Desktop/sdk-examples/python/oak/pen_3d.py:18: DeprecationWarning: setRectifyMirrorFrame() is deprecated. vio_pipeline = spectacularAI.depthai.Pipeline(pipeline)

    rgb pictures only rgb, no pen.

    opened by 19920716 5
  • Arithmetic exception running C++ vio_jsonl with OAK-D S2

    Arithmetic exception running C++ vio_jsonl with OAK-D S2

    Hello,

    I've built the C++ OAK-D examples by linking to the libs from the Linux_Ubuntu_x86-64 release (spectacularAI_depthaiPlugin_cpp_non-commercial_1.1.1.tar.gz), but I've had the following issue when running the vio_jsonl example:

    Stack trace (most recent call last):
    #6    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
    #5    Object "./vio_jsonl", at 0x55e1a8dd1e99, in _start
    #4    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f3cd244cc86, in __libc_start_main
    #3    Object "./vio_jsonl", at 0x55e1a8dd1fea, in main
    #2    Object "/usr/local/lib/libspectacularAI_depthaiPlugin.so.1", at 0x7f3cd45765d5, in spectacularAI::daiPlugin::Pipeline::Pipeline(dai::Pipeline&, spectacularAI::daiPlugin::Configuration const&)
    #1    Object "/usr/local/lib/libspectacularAI_depthaiPlugin.so.1", at 0x7f3cd4576963, in spectacularAI::daiPlugin::Pipeline::Pipeline(dai::Pipeline&, spectacularAI::daiPlugin::Configuration const&, std::function<void (std::shared_ptr<spectacularAI::mapping::MapperOutput const>)>)
    #0    Object "/usr/local/lib/libspectacularAI_depthaiPlugin.so.1", at 0x7f3cd45796f2, in std::shared_ptr<dai::node::StereoDepth> dai::PipelineImpl::create<dai::node::StereoDepth>(std::shared_ptr<dai::PipelineImpl> const&)
    Floating point exception (Integer divide by zero [0x7f3cd45796f2])
    Floating point exception (core dumped)
    

    I'm using Ubuntu 18.04.6 LTS and my architecture is indeed x86_64. I am using an OAK-D S2 and I've tried both the main branch and the oak-d-s2 branch of sdk-examples. I have the depthai-core libraries installed on my system already (built as shared objects).

    Strangely, vio_jsonl runs fine with the OAK-D S2 when I use the binary included with the Linux_Ubuntu_x86-64 release.

    Any help with this would be appreciated, as we are trying out Spectacular AI for potential use in a real-time 3D reconstruction project :)

    opened by RR-BenSteer 4
  • Cannot download spectacularAI from Pip

    Cannot download spectacularAI from Pip

    I can't download the spectacularAI SDK from Pip. It gives me this error

    (pi) pi@pi:~$ pip3 install spectacularAI ERROR: Could not find a version that satisfies the requirement spectacularAI (from versions: none) ERROR: No matching distribution found for spectacularAI Pip3 debug

    (pi) pi@pi:~$ pip3 debug -v Traceback (most recent call last): File "/home/pi/bin/pip3", line 8, in <module> sys.exit(main()) File "/home/pi/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 73, in main command = create_command(cmd_name, isolated=("--isolated" in cmd_args)) File "/home/pi/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 96, in create_command module = importlib.import_module(module_path) File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 848, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/pi/lib/python3.8/site-packages/pip/_internal/commands/debug.py", line 11, in <module> from pip._vendor.certifi import where ModuleNotFoundError: No module named 'pip._vendor.certifi'

    opened by VilobatirKedis 4
  • Not able run vio_mapper in Linux_ubuntu_x86-64

    Not able run vio_mapper in Linux_ubuntu_x86-64

    hello,when i was running ./vio_mapper /home/yy/EDisk/recording/ from the Linux_Ubuntu_x86-64 release (spectacularAI_realsensePlugin_cpp_non-commercial_1.2.0)

    then some wrong messages occured : SpectacularAI WARN: Unknown camera model RS2_DISTORTION_INVERSE_BROWN_CONRADY, ignoring distortion coefficients. SpectacularAI WARN: Unknown camera model RS2_DISTORTION_BROWN_CONRADY, ignoring distortion coefficients. terminate called after throwing an instance of 'std::runtime_error' what(): unused key(s): icpMinOverlapRatio

    so can you help me fix it please.

    opened by woshicaijihahahaha 3
  • mapping_visu.py not runing

    mapping_visu.py not runing

    I'm not able to run mapping_visu.py with the following error.

    • Python 3.9.13
    • Windows
    • USB speed low but sufficient to run vio_jsonl.py, vio_visu.pypen_3d.py.
    python .\mapping_visu.py
    Starting OAK-D device
    Close the window to stop mapping
    SpectacularAI DEBUG: auto-scaling camera calibration parameters with factor 0.5
    SpectacularAI DEBUG: starting SLAM thread
    Spectacular AI SDK: WARN: LOW USB SPEED!
    
    ############################################################################
    Your USB connection speed 'HIGH' is lower than required.
    Please check that you have connected the device to an USB 3 port with an
    undamaged USB 3 cable (blue interior). Speed SUPER or better is recommended.
    Disable this check by setting config.ensureSufficientUsbSpeed to false.
    ############################################################################
    
    SpectacularAI DEBUG: swizzle input colors as rrr (color format 1)
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: First time init failed to track in 3.000000 seconds, reseting
    SpectacularAI DEBUG: quitting SLAM...
    SpectacularAI DEBUG: signaling the SLAM thead to quit
    SpectacularAI DEBUG: starting SLAM thread
    SpectacularAI DEBUG: waiting for the SLAM thead to quit
    SpectacularAI DEBUG: ~Worker end
    SpectacularAI DEBUG: ... SLAM finished
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: First time init failed to track in 3.000000 seconds, reseting
    SpectacularAI DEBUG: quitting SLAM...
    SpectacularAI DEBUG: signaling the SLAM thead to quit
    SpectacularAI DEBUG: starting SLAM thread
    SpectacularAI DEBUG: waiting for the SLAM thead to quit
    SpectacularAI DEBUG: ~Worker end
    SpectacularAI DEBUG: ... SLAM finished
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: First time init failed to track in 3.000000 seconds, reseting
    SpectacularAI DEBUG: quitting SLAM...
    SpectacularAI DEBUG: signaling the SLAM thead to quit
    SpectacularAI DEBUG: waiting for the SLAM thead to quit
    SpectacularAI DEBUG: starting SLAM thread
    SpectacularAI DEBUG: ~Worker end
    SpectacularAI DEBUG: ... SLAM finished
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: IMU stationarity release update
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: First time init failed to track in 3.000000 seconds, reseting
    SpectacularAI DEBUG: quitting SLAM...
    SpectacularAI DEBUG: signaling the SLAM thead to quit
    SpectacularAI DEBUG: waiting for the SLAM thead to quit
    SpectacularAI DEBUG: starting SLAM thread
    SpectacularAI DEBUG: ~Worker end
    SpectacularAI DEBUG: ... SLAM finished
    SpectacularAI DEBUG: applying IMU stationarity ZUPT
    SpectacularAI DEBUG: IMU stationarity release update
    [Open3D WARNING] GLFW Error: WGL: Failed to make context current: The requested resource is in use. 
    Stack trace (most recent call last):
    #26   Object "", at 00007FF8F1307034, in BaseThreadInitThunk
    #25   Object "", at 00007FF8EF0D1BB2, in configthreadlocale
    #24   Object "", at 00007FF898F97B5E, in PyEval_AcquireThread
    #23   Object "", at 00007FF898F97BE2, in PyEval_AcquireThread
    #22   Object "", at 00007FF898F6065F, in PyObject_Call
    #21   Object "", at 00007FF898F6085C, in PyVectorcall_Call
    #20   Object "", at 00007FF898F2BC6D, in PyObject_GC_Del
    #19   Object "", at 00007FF898F2C8B2, in PyFunction_Vectorcall
    #18   Object "", at 00007FF898F302A1, in PyEval_EvalFrameDefault
    #17   Object "", at 00007FF898F302A1, in PyEval_EvalFrameDefault
    #16   Object "", at 00007FF898F346FB, in PyEval_EvalFrameDefault
    #15   Object "", at 00007FF898F6074E, in PyObject_Call
    #13   Object "", at 00007FF898F2C8B2, in PyFunction_Vectorcall
    #12   Object "", at 00007FF898F30C3E, in PyEval_EvalFrameDefault
    #11   Object "", at 00007FF898F302A1, in PyEval_EvalFrameDefault
    #10   Object "", at 00007FF898F30428, in PyEval_EvalFrameDefault
    #9    Object "", at 00007FF89906E7E3, in Py_gitversion
    #8    Object "", at 00007FF898F25215, in PyObject_MakeTpCall
    #7    Object "", at 00007FF898F78A8A, in PyObject_Str
    #6    Object "", at 00007FF836D63A39, in DeadlyExportError::~DeadlyExportError
    #5    Object "", at 00007FF837046184, in librealsense::color_map::get_cache
    #4    Object "", at 00007FF8370460FC, in librealsense::color_map::get_cache
    #3    Object "", at 00007FF8373B44D9, in DeadlyErrorBase::operator=
    #2    Object "", at 00007FF8375B7EEA, in aiGetVersionMinor
    #1    Object "", at 00007FF8375AD2D5, in aiGetVersionMinor
    #0    Object "", at 00007FF84F33AB4B, in DumpRegistryKeyDefinitions
    
    opened by leizhao3 3
  • Origin of imuToCamera in calibration.json from vio_record.py?

    Origin of imuToCamera in calibration.json from vio_record.py?

    Hello,

    When I run vio_record.py, it also outputs a calibration.json file with a reasonably looking imuToCamera matrix. However, querying the camera (OAK-D W Pro) directly with depthai-python reveals that this camera does not have factory calibrated IMU extrinsics, i.e. there are only zeros in the calibration record area in EEPROM. Where does vio_record.py take the parameters? Is it something I can trust, or should I better calibrate IMU extrinsics myself, for this specific camera?

    Regards, Jirka

    opened by jisa 2
  • pip installtion of spectacularAI not working on ubuntu 18.04

    pip installtion of spectacularAI not working on ubuntu 18.04

    I am trying to install spectacularAI in ubuntu 18.04, but I am getting following error

    Could not find a version that satisfies the requirement spectacularAI (from versions: )
    No matching distribution found for spectacularAI
    

    Please let me know how do you install this package ? Its written on their webiste that it will work on ubuntu 18 + Thanks!

    opened by Captain299792458 2
  • Low USB Speed Error with PoE

    Low USB Speed Error with PoE

    Hi, using an Oak-D PoE, I can't get any of the examples to run. Getting this error:

    RuntimeError: Spectacular AI SDK:  error: LOW USB SPEED!
    
    ############################################################################
    Your USB connection speed 'UNKNOWN' is lower than required.
    Please check that you have connected the device to an USB 3 port with an
    undamaged USB 3 cable (blue interior). Speed SUPER or better is recommended.
    ############################################################################
    
    

    I can get image and run other (non-Spectacular) scripts so the camera is definitely visible to the network.

    opened by MadlyFX 2
  • Python sdk

    Python sdk

    Res sir, Do python sdk run on arm device or it applicable only for x86pc and does it have all the features of commercial sdk. I recently read a post from luxonis that spectacular ai is working on vio for movidius keem bay will it available to public for free not source code but in binary form. Thank you

    opened by poudyalbot 1
  • Hide ffmpeg output in vio_record.py

    Hide ffmpeg output in vio_record.py

    or @oseiskar

    Hides this message when closing the recording window:

    ffmpeg version 2022-06-30-git-03b2ed9a50-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
      libavutil      57. 27.100 / 57. 27.100
      libavcodec     59. 34.100 / 59. 34.100
      libavformat    59. 25.100 / 59. 25.100
      libavdevice    59.  6.100 / 59.  6.100
      libavfilter     8. 41.100 /  8. 41.100
      libswscale      6.  6.100 /  6.  6.100
      libswresample   4.  6.100 /  4.  6.100
      libpostproc    56.  5.100 / 56.  5.100
    [hevc @ 000001ceee85e300] Stream #0: not enough frames to estimate rate; consider increasing probesize
    Input #0, hevc, from 'C:\Users\valtt\data\test\2/rgb_video.h265':
      Duration: N/A, bitrate: N/A
      Stream #0:0: Video: hevc (Main), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1200k tbn
    Output #0, mp4, to 'C:\Users\valtt\data\test\2/rgb_video.mp4':
      Metadata:
        encoder         : Lavf59.25.100
      Stream #0:0: Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 1200k tbn
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 000001ceee92ed00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
    [mp4 @ 000001ceee92ed00] pts has no value
    [mp4 @ 000001ceee92ed00] pts has no valueB time=-00:00:00.09 bitrate=N/A speed=N/A
        Last message repeated 168 times
    frame=  170 fps=0.0 q=-1.0 Lsize=    5957kB time=00:00:05.53 bitrate=8819.7kbits/s speed=32.8x
    video:5954kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.049318%
    
    opened by kaatrasa 0
  • Meet trouble when I use OAK-D-PoE with python example

    Meet trouble when I use OAK-D-PoE with python example

    Hi, When I use an OAK-D-PoE with python example, I met some error, it seems PoE devices do not compatible with python sdk : Starting OAK-D device Close the window to stop mapping Spectacular AI SDK: WARN: unrecoginzed OAK board name 'OAK-D-POE' you may need to manually set IMU-to-camera extrinsics (configuration.imuToCameraLeft) Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "mapping_visu.py", line 244, in captureLoop vioPipeline.startSession(device) as vio_session: RuntimeError: Spectacular AI SDK: error: LOW USB SPEED!

    ############################################################################ Your USB connection speed 'UNKNOWN' is lower than required. Please check that you have connected the device to an USB 3 port with an undamaged USB 3 cable (blue interior). Speed SUPER or better is recommended. Disable this check by setting config.ensureSufficientUsbSpeed to false. ############################################################################

    ^CTraceback (most recent call last): File "mapping_visu.py", line 252, in visu3D.run() File "mapping_visu.py", line 124, in run time.sleep(0.01) KeyboardInterrupt

    opened by JimXu1989 0
  • Not able to run mapping_visu.py in Ubuntu 20.04 (python 3.8)

    Not able to run mapping_visu.py in Ubuntu 20.04 (python 3.8)

    Hi,

    I'm trying to use mapping_visu.py, but I run into the following issue.

    1. data.jsonlseems not generated when I ran python mapping_visu.py --outputFolder /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1. Therefore, the following error shows up when trying to replay it:
    $ python mapping_visu.py --dataFolder /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1
    Starting replay
    SpectacularAI ERROR: Could not open /home/lzhao/Spectacular_AI/sdk-examples/python/oak/Maps/20220716Trial1/data.jsonl.
    
    1. mapping_visu.py --dataFolder also ran into the following error message.
    Stack trace (most recent call last):
    #26   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
    #25   Object "python3", at 0x5fa5cd, in _start
    #24   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f31899000b2, in __libc_start_main
    #23   Object "python3", at 0x6b736c, in Py_BytesMain
    #22   Object "python3", at 0x6b6fe1, in Py_RunMain
    #21   Object "python3", at 0x67e816, in PyRun_SimpleFileExFlags
    #20   Object "python3", at 0x67e470, in 
    #19   Object "python3", at 0x67e3ce, in 
    #18   Object "python3", at 0x67e350, in 
    #17   Object "python3", at 0x68d046, in PyEval_EvalCode
    #16   Object "python3", at 0x569399, in _PyEval_EvalCodeWithName
    #15   Object "python3", at 0x570673, in _PyEval_EvalFrameDefault
    #14   Object "python3", at 0x5f3e1d, in _PyObject_MakeTpCall
    #13   Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187edb1d6, in 
    #12   Object "python3", at 0x5a7a06, in 
    #11   Object "python3", at 0x59c747, in 
    #10   Object "python3", at 0x5f3546, in PyObject_Call
    #9    Object "python3", at 0x50b157, in 
    #8    Object "python3", at 0x5f3e1d, in _PyObject_MakeTpCall
    #7    Object "python3", at 0x5f3988, in PyCFunction_Call
    #6    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187eddf8d, in 
    #5    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f01955, in 
    #4    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f2f3c9, in spectacularAI::Replay::Builder::build()
    #3    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187f2d5a4, in 
    #2    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7f3187e65166, in 
    #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f31898fe858, in abort
    #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f318991f03b, in gsignal
    Aborted (Signal sent by tkill() 175584 1889601537)
    Aborted (core dumped)
    

    2.1. Similar issue persists when ran python depthai_combination.py

    [14442C1031F8F5D000] [1.3] [1404.845] [SpatialDetectionNetwork(10)] [warning] Neural network inference was performed on socket 'RGB', depth frame is aligned to socket 'RIGHT'. Bounding box mapping will not be correct, and will lead to erroneus spatial values. Align depth map to socket 'RGB' using 'setDepthAlign'.
    SpectacularAI ERROR: /__w/vio/vio/src/api/../util/allocator.hpp:36
    Stack trace (most recent call last) in thread 176467:
    #9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
    #8    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897e89162, in clone
    #7    Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fb897d4f608, in 
    #6    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88eb33c0f, in 
    #5    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88e38b7ea, in 
    #4    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df4dfb3, in 
    #3    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df649d0, in 
    #2    Object "/home/lzhao/.local/lib/python3.8/site-packages/spectacularAI.cpython-38-x86_64-linux-gnu.so", at 0x7fb88df64941, in 
    #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897d8c858, in abort
    #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7fb897dad03b, in gsignal
    Aborted (Signal sent by tkill() 176406 1889601537)
    Aborted (core dumped)
    
    1. python pen_3d.py has the following issue. Not sure if these are related or not:
    Stack trace (most recent call last):
    #31   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc1ec, in 
    #30   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
    #29   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in 
    #28   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b92634, in 
    #27   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d633b, in 
    #26   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d1490, in 
    #25   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b9179c, in 
    #24   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
    #23   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in 
    #22   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc1ec, in 
    #21   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439cc11a, in gtk_container_propagate_draw
    #20   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43beba93, in 
    #19   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43a842e4, in 
    #18   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d633b, in 
    #17   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad439d1490, in 
    #16   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43a8703f, in 
    #15   Object "/lib/x86_64-linux-gnu/libgtk-3.so.0", at 0x7fad43b0e835, in gtk_render_layout
    #14   Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827f207, in 
    #13   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853dd03, in pango_renderer_draw_layout
    #12   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853d938, in pango_renderer_draw_layout_line
    #11   Object "/lib/x86_64-linux-gnu/libpango-1.0.so.0", at 0x7fad5853ce12, in pango_renderer_draw_glyph_item
    #10   Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827ee3c, in 
    #9    Object "/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0", at 0x7fad5827ec1a, in 
    #8    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b37e7d5, in cairo_show_glyphs
    #7    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b329604, in 
    #6    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b326501, in 
    #5    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b36ff98, in cairo_surface_get_font_options
    #4    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b399c43, in 
    #3    Object "/lib/x86_64-linux-gnu/libcairo.so.2", at 0x7fad5b3971a7, in 
    #2    Object "/lib/x86_64-linux-gnu/libX11.so.6", at 0x7fad5dd38ca9, in XGetDefault
    #1    Object "/lib/x86_64-linux-gnu/libX11.so.6", at 0x7fad5dd5d51e, in XrmQGetResource
    #0    Object "/lib/x86_64-linux-gnu/libpthread.so.0", at 0x7fad8dc70fc4, in pthread_mutex_lock
    Segmentation fault (Address not mapped to object [0x10])
    Segmentation fault (core dumped)
    

    Environment Linux ~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

    Any help will be appreciate! Thank you!

    opened by leizhao3 1
Owner
Spectacular AI
Spectacular AI
Example Of Splunk Search Query With Python And Splunk Python SDK

SSQAuto (Splunk Search Query Automation) Example Of Splunk Search Query With Python And Splunk Python SDK installation: ➜ ~ git clone https://github.c

AmirHoseinTangsiriNET 1 Nov 14, 2021
Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.

Amundsen 3.7k Jan 3, 2023
Elementary is an open-source data reliability framework for modern data teams. The first module of the framework is data lineage.

Data lineage made simple, reliable, and automated. Effortlessly track the flow of data, understand dependencies and analyze impact. Features Visualiza

null 898 Jan 9, 2023
🧪 Panel-Chemistry - exploratory data analysis and build powerful data and viz tools within the domain of Chemistry using Python and HoloViz Panel.

???? ??. The purpose of the panel-chemistry project is to make it really easy for you to do DATA ANALYSIS and build powerful DATA AND VIZ APPLICATIONS within the domain of Chemistry using using Python and HoloViz Panel.

Marc Skov Madsen 97 Dec 8, 2022
Created covid data pipeline using PySpark and MySQL that collected data stream from API and do some processing and store it into MYSQL database.

Created covid data pipeline using PySpark and MySQL that collected data stream from API and do some processing and store it into MYSQL database.

null 2 Nov 20, 2021
PrimaryBid - Transform application Lifecycle Data and Design and ETL pipeline architecture for ingesting data from multiple sources to redshift

Transform application Lifecycle Data and Design and ETL pipeline architecture for ingesting data from multiple sources to redshift This project is composed of two parts: Part1 and Part2

Emmanuel Boateng Sifah 1 Jan 19, 2022
fds is a tool for Data Scientists made by DAGsHub to version control data and code at once.

Fast Data Science, AKA fds, is a CLI for Data Scientists to version control data and code at once, by conveniently wrapping git and dvc

DAGsHub 359 Dec 22, 2022
Python data processing, analysis, visualization, and data operations

Python This is a Python data processing, analysis, visualization and data operations of the source code warehouse, book ISBN: 9787115527592 Descriptio

FangWei 1 Jan 16, 2022
Demonstrate the breadth and depth of your data science skills by earning all of the Databricks Data Scientist credentials

Data Scientist Learning Plan Demonstrate the breadth and depth of your data science skills by earning all of the Databricks Data Scientist credentials

Trung-Duy Nguyen 27 Nov 1, 2022
Tuplex is a parallel big data processing framework that runs data science pipelines written in Python at the speed of compiled code

Tuplex is a parallel big data processing framework that runs data science pipelines written in Python at the speed of compiled code. Tuplex has similar Python APIs to Apache Spark or Dask, but rather than invoking the Python interpreter, Tuplex generates optimized LLVM bytecode for the given pipeline and input data set.

Tuplex 791 Jan 4, 2023
A data parser for the internal syncing data format used by Fog of World.

A data parser for the internal syncing data format used by Fog of World. The parser is not designed to be a well-coded library with good performance, it is more like a demo for showing the data structure.

Zed(Zijun) Chen 40 Dec 12, 2022
Fancy data functions that will make your life as a data scientist easier.

WhiteBox Utilities Toolkit: Tools to make your life easier Fancy data functions that will make your life as a data scientist easier. Installing To ins

WhiteBox 3 Oct 3, 2022
A Big Data ETL project in PySpark on the historical NYC Taxi Rides data

Processing NYC Taxi Data using PySpark ETL pipeline Description This is an project to extract, transform, and load large amount of data from NYC Taxi

Unnikrishnan 2 Dec 12, 2021
Utilize data analytics skills to solve real-world business problems using Humana’s big data

Humana-Mays-2021-HealthCare-Analytics-Case-Competition- The goal of the project is to utilize data analytics skills to solve real-world business probl

Yongxian (Caroline) Lun 1 Dec 27, 2021
PostQF is a user-friendly Postfix queue data filter which operates on data produced by postqueue -j.

PostQF Copyright © 2022 Ralph Seichter PostQF is a user-friendly Postfix queue data filter which operates on data produced by postqueue -j. See the ma

Ralph Seichter 11 Nov 24, 2022
Catalogue data - A Python Scripts to prepare catalogue data

catalogue_data Scripts to prepare catalogue data. Setup Clone this repo. Install

BigScience Workshop 3 Mar 3, 2022
A Pythonic introduction to methods for scaling your data science and machine learning work to larger datasets and larger models, using the tools and APIs you know and love from the PyData stack (such as numpy, pandas, and scikit-learn).

This tutorial's purpose is to introduce Pythonistas to methods for scaling their data science and machine learning work to larger datasets and larger models, using the tools and APIs they know and love from the PyData stack (such as numpy, pandas, and scikit-learn).

Coiled 102 Nov 10, 2022
Statistical Analysis 📈 focused on statistical analysis and exploration used on various data sets for personal and professional projects.

Statistical Analysis ?? This repository focuses on statistical analysis and the exploration used on various data sets for personal and professional pr

Andy Pham 1 Sep 3, 2022