Home Technology Building a Blockchain Police Bodycam PoC for $25

Building a Blockchain Police Bodycam PoC for $25

0
Building a Blockchain Police Bodycam PoC for $25

Video forgery is changing into an epidemic. Blockchain know-how can assist within the battle in opposition to malicious video alteration. A blockchain police bodycam is incorruptible. Right here is constructing a blockchain police bodycam PoC for $25.

Police bodycams are important for contemporary regulation enforcement, however they are often corrupted.

The proof on a bodycam is usually a essential differentiator within the justice course of. It may be the distinction if somebody spends the remainder of their life in jail or leaves the courtroom a free man. Lives are on the road. The authenticity of bodycam movies have to be protected to the best potential diploma.

The significance of police bodycam movies is unquestionable — however is the specter of video corruption actual? Sure, very.

Researchers have discovered that:

This isn’t distant hypothesis, it’s already a significant issue.

Blockchain can be sure that the info is genuine.

Most individuals have at the least heard concerning the Bitcoin by now, however blockchain know-how can take many types. A blockchain can be utilized to make sure that information isn’t modified or deleted.

Having information that may’t be modified in any method is the utilization we will apply particularly to police bodycams.

Bodycams can value as much as $2,00Zero per digicam, inserting a hefty burden on police forces which might be already money strapped. Is it potential to run a blockchain on a low-cost low-power digicam gadget?

The {hardware}.

Right here’s the tools we shall be working with. Our whole value: $25.00

The components for our test.
The parts for our check.

This isn’t going to supply a area prepared piece of apparatus, however that isn’t the aim. We simply have to show it’s potential.

Utilizing some sizzling glue, tape, a few further wires, and a few minor soldering, we have now a purposeful gadget that simply barely crams into our venture field.

Our (poorly) assembled components in a project box.
Our (poorly) assembled parts in a venture field.

Software program and Blockchain.

  • Raspbian Buster Lite Working System
  • FFMPEG Multimedia Framework
  • RigidBit Blockchain (synced to Ethereum)

Putting in and Configuring.

After a few hours of putting in and configuring, we’re prepared for our first video check at a 720p decision with 30 fps.

Screenshot of our first FFMPEG test.
Screenshot of our first FFMPEG check.

Uh oh, FFMPEG means — maxing out the CPU. 😲 We have to get the CPU means down, or this check shall be a full failure.

Our energy is trying good, although. Maxing out at round 0.3A, we should always have the ability to get a honest period of time out of our 3200mAH battery.

Power utilization at full load.
Energy utilization at full load.

Subsequent, I attempted 480p at 10fps. Nonetheless maxing out the CPU, and we’re not even working the blockchain but. 😢

Then I remembered one thing. Doesn’t the Raspberry Pi have {hardware} x264? After some fast googling: Sure, and it really works with FFMPEG. 😃

Now to place it to the check.

Screenshot of our successful FFMPEG test.
Screenshot of our profitable FFMPEG check.

Operating 720p at 30fps consumes solely 5% of CPU; we have now loads of room to spare! 🙌

The following step is to get RigidBit working. Compiling is painfully sluggish, so it was left to run in a single day. At 4:25 am, the compile is completed — and (to my shock) this didn’t require any modification. Thanks, Rust!

Screenshot of RigidBit running on our Raspberry Pi.
Screenshot of RigidBit working on our Raspberry Pi.

Now for the ultimate check. Can our $10 Raspberry Pi deal with the duty of capturing video and storing it in a blockchain?

Screenshot of RigidBit and FFMPEG running together.
Screenshot of RigidBit and FFMPEG working collectively.

RigidBit hovers round 10% and FFMPEG at round 5%.

Success! Our digicam’s video is now anchoring movies with Ethereum.

It’s not fairly, however for $25, we have now purposeful video seize being secured with a blockchain on the gadget itself.

Photo of our fully operational blockchain bodycam proof of concept.
Photograph of our absolutely operational blockchain bodycam proof of idea.

There’s loads of room for enchancment.

The experiment right here could also be adequate for a dwelling safety digicam, however anybody who suggests duct-taping this to a police officer ought to be fired instantly.

My experiment right here is a proof of idea and isn’t even near being prepared for area deployment.

RigidBit requires an web connection to sync with Ethereum. Since cell telephones are broadly accessible, this isn’t a full deal-breaker, but it surely’s not very best.

If we incorporate trusted {hardware}, we could possibly obtain an appropriate degree of provability whereas solely needing to sync with Ethereum at the start and finish of a shift.

RigidBit is already light-weight, however it may be stripped down a lot additional since a lot of the options should not getting used. We’d have the ability to strip it down sufficient to run on an MCU as an alternative of a Raspberry Pi.

Raspberry Pis are nice, however we would have the ability to get the price and energy utilization even decrease by utilizing an SoC like an RTL8170 or an ESP32.

By combining all the above, we might lower the gadget prices, cut back energy utilization, cut back the bodily footprint, and remove the necessity for a full OS.

Extra use circumstances:

A blockchain police bodycam is just the start. There are many different potential functions:

  • Blockchain safety cameras for all public installations.
  • Blockchain sprint cameras for vehicles, vehicles, and bikes.
  • Blockchain black bins for all types of mass transit.

Anyplace the place information integrity is necessary, blockchain can serve an necessary function in offering absolute provability in a fully open and clear means.

Thanks for studying! Please be happy to answer with any feedback or questions.

Jordan Mack

Jordan is a blockchain developer and researcher. He has been concerned with blockchain and cryptocurrency since 2011 and is the founding father of the RigidBit blockchain.

LEAVE A REPLY

Please enter your comment!
Please enter your name here