Git Product home page Git Product logo

Comments (17)

rbroker avatar rbroker commented on May 29, 2024 1

Just to link this up, the original issue seemed to be coming from libusb initializing the PS3 camera library:

     ntdll.dll!00007ffb0dd313ad()    Unknown
     ucrtbase.dll!00007ffb0b4d9ffe()    Unknown
     ucrtbase.dll!00007ffb0b4da11e()    Unknown
     AITrack.exe!usbi_log_v(libusb_context * ctx, libusb_log_level level, const char * function, const char * format, char * args) Line 2655    C
     AITrack.exe!usbi_log(libusb_context * ctx, libusb_log_level level, const char * function, const char * format, ...) Line 2668    C
     AITrack.exe!init_device(libusb_device * dev, libusb_device * parent_dev, unsigned char port_number, unsigned long devinst) Line 871    C
     AITrack.exe!winusb_get_device_list(libusb_context * ctx, discovered_devs * * _discdevs) Line 1486    C
     AITrack.exe!libusb_get_device_list(libusb_context * ctx, libusb_device * * * list) Line 839    C
>    AITrack.exe!ps3eye::USBMgr::listDevices(std::vector<std::shared_ptr<ps3eye::PS3EYECam>,std::allocator<std::shared_ptr<ps3eye::PS3EYECam>>> &) Line 404    C++
     AITrack.exe!ps3eye::PS3EYECam::getDevices(bool forceRefresh) Line 996    C++
     [External Code]  

We then ran into what seemed like a secondary issue, but I'm not sure if it's related to the original problem or not :(

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024 1

Problem fixed in f177ca6 and confirmed by @Arkhonist and @knighty. It will be out with the next release :)
Closing.

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

Hmm... Looks like a memory error exeception. Just to get a little bit more information:

  1. Have you installed Visual C++ Redistributable x64 on your machine?
  2. What camera do you have? Happens the same if you use Droid Cam with your mobile phone?
  3. Are you launching AItrack.next to the other files included in the zip?
  4. Check if Aitrack.exe has reading/write permissions (try executing as admin).

from aitrack.

rafoloru avatar rafoloru commented on May 29, 2024

I got the same problem here.

  • I installed C++ redis
  • My Webcam is a Logitech HD Webcam C310
  • I'm launching AItrack.exe from its original folder
  • I tried to exacute as admin

Nothing of this steps works for me :(

It's the same Windows event as knighty

from aitrack.

knighty avatar knighty commented on May 29, 2024
  1. Yes I reinstalled with the linked one to check
  2. Honestly I'm not sure what the webcam is, I've had it for many years. It's not the most ancient thing but it certainly isn't new. It's a logitech. I can view it in the windows webcam viewer fine so I believe it outputs fine to the webcam channel (I forget how that all works)
  3. I extracted the folder and I'm launching the exe from that folder
  4. Tried as an admin already, as well as with compatibility modes

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

Everything seems okay for you @rafoloru.

For you, @knighty, if the above doesn't work, please, test it with Droid Cam just to see if it still crashes and we can discard a webcam problem.

As reported previously by other users when program crashed, changing the USB camera to another port (to a 3.0 one, if possible) seemed to work. Try that before Droid Cam.

from aitrack.

knighty avatar knighty commented on May 29, 2024

I tried putting in a usb 3.0 port and that made no difference. Trying to get DroidCam working at the moment with little luck but I'll let you know if/when I get this working

edit: Yeah this is just plain refusing to work and I think it's because I have my wifi router sitting in front of my one my pc is physically linked into so it's struggling to find it on the network. @rafoloru any chance of you looking at droidcam potentially?

edit2: Got DroidCam working by changing my network setup. Didn't solve the problem

from aitrack.

knighty avatar knighty commented on May 29, 2024

I poked through searches for the signature a bit and when looking up b29ecf52 I got this page. Could be something that points us somewhere?

https://answers.microsoft.com/en-us/windows/forum/all/integrated-web-cam-issue/03db172e-8a18-4cd6-9cb1-152fb3779011

10.0.18362.815 is apparently an "HD True Vision" driver

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

Droid Cam is reported to work without issues. So I doubt the problem is camera related... However, just to check something more: Does your camera work using Opentrack with input = aruco tracker? (check you have video input in Opentrack).

NTTDLL is Windows related and, as using Droid Cam also makes the program crash, I'm suspecting it could be related to Windows itself.

Is it also possible that you have any program running already that is using the camera? Do you have any VR headset connected? (that could also confuse AITrack).

from aitrack.

Arkhonist avatar Arkhonist commented on May 29, 2024

I have the same issue, I'm using Droid Cam and it does work with aruco tracker on opentrack

from aitrack.

knighty avatar knighty commented on May 29, 2024

Just checked and my camera is also a Logitech HD Webcam C310. It works in OBS. aruco tracker doesn't seem to show anything for me, not sure where I'd see video there.

I disconnected by VR headset already and nothing else uses my cam (I haven't had it plugged in for years)

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

I think there are already people using this particular webcam. I'm suspecting it's an issue related to Windows itself (but not sure).

I just told @Arkhonist on Discord to update Windows to see if that solves the problem. What version are you using? Some users reported that updating solved the crashing problems.

from aitrack.

knighty avatar knighty commented on May 29, 2024

I actually just spent the last 2 hours doing updates because I had the same thought and I was 2 months behind because apparently my windows update broke, which led me through a whole process of resetting windows update to get it to run again. I've done all those updates now and still no luck unfortunately. The fact that I have no video input on opentrack with aruco seems suspicious to me. In case you were wondering, my privacy settings in windows are setup to allow anything to use the camera and verifying with OBS seems that it is the case as it works there

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

Good, a thing less to worry about.

Opentrack doesn't receive video feed probably because it uses an almost deprecated (in windows) OpenCV video capture backend. AITrack tries to use that as a default but, in case of any error falls back to the most modern one (

CV_BACKEND = cv::CAP_DSHOW;
if (!is_camera_available())
{
// Check again with Media foundation backend
CV_BACKEND = cv::CAP_MSMF;
if (!is_camera_available())
throw std::runtime_error("No compatible camera found.");
), which should be working okay.

I'm quite sure there is any kind of conflict on a previous part of the program (before the camera initialization).

Could you please come by to the discord server to deeply investigate that?

from aitrack.

rafoloru avatar rafoloru commented on May 29, 2024

On my side,

  • My Windows is up to date
  • I tried with an other more recent webcam (on both USB 2 and USB 3)

And nothing working, the app still crash on start up. My webcams works in OBS.

Here the "Information" Windows Event and after the "Error" event: (Sorry it's in French)

Plage de défaut 1637937118537399227, type 4
Nom d’événement : APPCRASH
Réponse : Non disponible
ID CAB : 0

Signature du problème :
P1 : AITrack.exe
P2 : 0.0.0.0
P3 : 5f43aa79
P4 : ntdll.dll
P5 : 10.0.18362.815
P6 : b29ecf52
P7 : c0000005
P8 : 000000000001b38d
P9 :
P10 :

Nom de l’application défaillante : AITrack.exe, version : 0.0.0.0, horodatage : 0x5f43aa79
Nom du module défaillant : ntdll.dll, version : 10.0.18362.815, horodatage : 0xb29ecf52
Code d’exception : 0xc0000005
Décalage du défaut : 0x000000000001b38d
ID processus défaillant : 0x1c1c
Heure de démarrage de l’application défaillante : 0x01d67a823ed6815d
Chemin de l’application défaillante : C:\Users\RAfoLOru\Desktop\aitracker-v0.5\AITrack.exe
Chemin du module défaillant : C:\WINDOWS\SYSTEM32\ntdll.dll
Code de rapport : 5b0c49ab-0f84-40ca-be42-d6e89b72be9a
Nom complet de l’ensemble défaillant :
ID de l’application relative à l’ensemble défaillant :

from aitrack.

AIRLegend avatar AIRLegend commented on May 29, 2024

Confirming it's a problem related with the PS3 Camera library, as @rbroker suggests. I'm working on it.

from aitrack.

rafoloru avatar rafoloru commented on May 29, 2024

And BTW... Thanks for your work! :)

from aitrack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.