imagine an app that is sort of like a panic button. You get pulled over, you open the app and hit the button which then (depending on your preferences), starts recording/streaming video and audio, locks the phone, and maybe starts recording accelerometer/gps data, etc.

It would need to be thoroughly developed/tested before actually it could be ethically recommended.

What do you think? Good idea? Bad idea? unfeasible? Already existing?

  • cvieira@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    This is a bit of self promotion, but I built an entirely open-source dash-cam that excels in this scenario. Instead of recording to an SD card inside the camera, the camera is connected to a capture device installed somewhere else in the car.

    It’s not perfect, but it’s very time consuming for a potential adversary to locate the video storage. It was designed like this primarily for car break-ins, but it would work well here as well.

    It all runs on a generic Linux SBC, so there’s technically nothing stopping you from encrypting the SD card too.

    • solrize@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      That’s pretty cool! Any hardware info? I had thought a diy dashcam project would be most about hardware (rpi zero and 3d printed enclosure maybe) with the software being relatively simple. Using an old phone might be another approach.

      • cvieira@lemmy.ml
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        I will say it’s quite a bit more expensive than a typical off-the-shelf consumer dash-cam, since you’re essentially just installing a full-blowm compurer. I use a Raspberry Pi 5 for the pre-made kits, which is able to record 30fps@720p across two channels (front/rear). It’ll work with just about any USB webcam. The tricky part for new users is that you typically have to create a 12V to 5V USB harness to power it from the car.

        • solrize@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 day ago

          Cig lighter phone charger won’t supply the 5v? I’d have thought the camera mount and enclosure would take the most effort. Raspberry pi zero with their camera accessory would be the main camera.

          • cvieira@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            13 hours ago

            It might, but the Pi 5 has pretty strict power requirements. The official specs reccomend 5V5A, while most 12V adapaters supply 5V2.4A (or 5V1A for the cheap ones). It’ll generally work, but customers often experience strange behavior with questionable power supplies.

            Mounting the camera isn’t terribly difficult. A significant portion of USB cameras have 1/4th inch tripod mounts, which gives you a lot of options. I personally use a little adhesive GoPro mount, with a small 1/4th inch tripod adapter. That lets you securely mount it just about anywhere with a flat surface. The camera’s cable is several meters long, which means you can mount the Pi just about anywhere. In my install you have to disassemble a significant portion of the car to get to the SD card (video is typically offloaded over LAN, which is password protected).

            I will say that the Pi Zero is almost certainly insufficient for video recording. In my tests, the Pi 5 tops out at about 2 channels of 720p@30fps, while the Pi 4 struggles to encode one 480p@30fps stream. I’ve been researching SBCs better suited to video encoding, like the Nvidia Jetson, but I’m not quite ready to invest in dev kits for a non-profit project when other components of the software are much more commercially successful.