Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

========= Starting: Launcher (2024-08-15 10:59:22.955606) =========

System information:

  • sys.prefix = C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv

  • sys.base_prefix = C:\Users\sale4088\AppData\Local\Programs\DepthAI\WPy64-3950\python-3.9.5.amd64

  • Env 'PYTHONPATH': None

  • Executable: C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\python.exe

C:\Users\sale4088\AppData\Local\Programs\DepthAI\depthai\launcher\launcher.py:75: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead

class Worker(QtCore.QThread):

Dear Luxonis Team, @filipjeretina , @jakaskerl

I went to start my Depthai Viewing interface and was met with the following message, do you know why this is occurring? I am unable to get into the viewing window, it does not seem to progress past this point no matter the time I allow it to run. Can you help?

HEAD detached at v3.5.0

nothing to commit, working tree clean

Current commit: c0a2d6ea178eb3b88ee9361c027280aa571d1ef4

Unknown error occured (Invalid version: 'latest'), exiting...

PS C:\Users\sale4088\AppData\Local\Programs\DepthAI>

Full message, my apologies, I accidently wrote my response halfway through the message.

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

========= Starting: Launcher (2024-08-15 10:59:22.955606) =========

System information:

  • sys.prefix = C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv

  • sys.base_prefix = C:\Users\sale4088\AppData\Local\Programs\DepthAI\WPy64-3950\python-3.9.5.amd64

  • Env 'PYTHONPATH': None

  • Executable: C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\python.exe

C:\Users\sale4088\AppData\Local\Programs\DepthAI\depthai\launcher\launcher.py:75: DeprecationWarning: sipPyTypeDict() is deprecated, the extension module should use sipPyTypeDictRef() instead

class Worker(QtCore.QThread):

HEAD detached at v3.5.0

nothing to commit, working tree clean

Current commit: c0a2d6ea178eb3b88ee9361c027280aa571d1ef4

Unknown error occured (Invalid version: 'latest'), exiting...

PS C:\Users\sale4088\AppData\Local\Programs\DepthAI>

@jakaskerl @filipjeretina

I am trying to run the newest versions of Depthai-Viewer, but i am having some issues and I am unable to open the viewing interface. Can someone assist me in opening the newest version of Depthai Viewer?

Do I need to download the new source files? I am very confused.

This just removed everything that I have been working on for the past couple months

@jakaskerl @filipjeretina

I need to talk to someone ASAP, right now, I have to give a field demonstration tomorrow and I need certain codes to be fixed immediately. Please give me a contact, phone number, or personal email so I can fix these issues and be able to at least give a field demonstration tomorrow.

I clicked the link that you sent me, and my files were in the Depthai folder with the other information, when I did this it deleted everything from that folder

it is all gone

None of the files I had in that folder are present anymore

everything from that folder has been removed

I need that folder ASAP

@filipjeretina and @jakaskerl

The below code is for a person tracking model that was developed and put out in the depthai experiments code, I had this functioning and was going to be used for not only a field demonstration, but also for research. Now when I try to run this code, It does not function as it did before. There is a 12 second delay in the video feed and then it crashes after I move infront of the camera.

I am using a windows computer and I believe a USB2, can you adjust the code so it functions on my computer?

#!/usr/bin/env python3

from depthai_sdk import OakCamera, TrackerPacket, Visualizer, TextPositionimport depthai as daifrom people_tracker import PeopleTrackerimport cv2
pt = PeopleTracker()
with OakCamera() as oak:    color_cam = oak.create_camera('color')    tracker = oak.create_nn('person-detection-retail-0013', color_cam, tracker=True)    tracker.config_nn(conf_threshold=0.6)    tracker.config_tracker(tracker_type=dai.TrackerType.ZERO_TERM_COLOR_HISTOGRAM, track_labels=[1])
    def cb(packet: TrackerPacket, vis: Visualizer):        left, right, up, down = pt.calculate_tracklet_movement(packet.daiTracklets)
        vis.add_text(f"Up: {up}, Down: {down}", position=TextPosition.TOP_LEFT, size=1)        vis.draw(packet.frame)
        cv2.imshow('People Tracker', packet.frame)
    oak.visualize(tracker.out.tracker, callback=cb)    oak.start(blocking=True)

    If you had these files open in a code editor, they might still be cached somewhere, but not sure where, in the stackoverflow question I posted there are instructions for some editors, including vscode

    @filipjeretina

    (venv) C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts>git reset --hard

    fatal: not a git repository (or any of the parent directories): .git