Hello aol. First of all let me thank you for the great software, I'm enjoing it since 2010 (on Win Mobile those days) during russian ice and snow racing events.
I do have an idea how to improve RC Pro version. These days the number of Android based car audio devices increasing, especially with the great help from our Chineese friends. I also purchased such device (2 DIN, as a replacemet for original Subaru car audio) for myself, it has all typical Android (6.0.1) smartphone functionality (even three USB OTG ports) except... build-in camera.
I've already tested RС Pro on this device and it works perfect together with Qstarz 10Hz BT GPS and ELM27 OBD Adapter - everything like on my Xiaomi, but with 7'' screen firmly installed inside the car dashboard.
Would you mind to check if this is possible to add USB camera support for RC Pro? I checked a number of USB cameras - it's possible to watch and record the video using special software (like this one: https://play.google.com/store/apps/details?id=infinitegra.app.usbcamera
If it's not too difficult to implement I guess it can be a good improvement for Race Chrono application.
That said, if USB-cameras turn out to be very easy (or alternatively fun to do) addition, then I might do it anyways. Any suggestions on the cameras?
Here is the one of many topics on StackOveflow (with code samples) about it:
Since I am in the house for some time, I am trying to use a Logotitech QuickCam for notebooks Pro. I can use an OTG adapter and view the video with an app called cameraFi, but some searching says, "webcams using the standard Android Camera2 API and the camera HIDL interface. " Would that help you?
Problem is racechrono is not able to recognize it. I imagine we could feed many usb streams into app and gain different cam sources.
Are we going to jump on this hype hq camera train?
look how easy is to turn rspi into usb cam: http://www.davidhunt.ie/raspberry-pi-zero-with-pi-camera-as-usb-webcam/
Pi hq cam
USB otg cable micro-micro
And Android phone (currently lineage os 17 rooted)
With otg cable connect pi zero to Android.
Is supposed to be UVC stream like USB video cameras.
With other apps I am able to read camera stream.
I am not able to select camera in racechrono.
I can select USB cameras in racechrono.
Thanks, exactly, any USB camera is good.
It can be done through the raw USB APIs and I suspect this is how the USB camera apps do it, but you'll need lot of code to achieve that.
I might test some other hardware some time, but this is what I found.
I tried to connect a Logitech USB webcam using the OTG adapter. I disabled the Internal camera in settings, and Set API V2 to 'Prefer.' Then I started a session (in the house) and changed to the camera screen. The video information box (upper-left) says 'Internal camera disabled, and tapping it shows the camera disabled icon. There was no image from the video camera.
I can't add a camera, since it only lists the GoPro.
I'm not sure what the Compatibility mode (1,2,3) will do.
The camera does work with CameraFi2, but that's not RC.
Is there anything else you can suggest? Would a webcam with a USB-C connection.
OH- It's a Galaxy Tab A 8, Android 9.