LeoDJ / P2Pro-Viewer

A viewer and API for the InfiRay P2 Pro thermal camera module
MIT License
179 stars 24 forks source link

Resolution/FPS of camera id 1 doesn't match. It's probably not a P2 Pro. #3

Closed Shonke closed 1 year ago

Shonke commented 1 year ago

It seems to use my laptop camera.

This is the image I captured using obs:

image
LeoDJ commented 1 year ago

This tool ist not done at all, that's why there's a big WIP (work in progress) disclaimer at the top of the README and a roadmap to see what's already implemented.

What you see on the main branch ist just the current state of development. There is currently not even a GUI.

You just have to wait a bit. Once I'm done with the first milestone, I'll do an update post and create a "release".

But to answer your question directly, if you remove the "1" as the argument in line 16 in main.py, it should do a scan for the camera (takes some seconds, which is why I hardcoded it for testing) and just do a 5 second long recording to test.mkv, which is what I implemented and tested recently.