The Gun Detector - Smarter Every Day 225


1,8 млн көрүүлөр544

    We built a gun detector using machine learning that works with existing surveillance cameras.
    Get started with 8 free meals - that’s $80 off your first month of HelloFresh. Go to and enter smarter80
    Click here if you're interested in subscribing:
    ⇊ Click below for more links! ⇊
    There are many companies working on this type of technology at the moment. We made ours in 2018, and Chad visited my house in January 2019 to film most of this. We didn't post it for various reasons, but decided now might be a good time. The fidelity of the inference is a function of how you train it.... so obviously the more data points you provide, the better it will perform. This particular type of machine learning is known as object detection, with the computation being performed by a deep neural network "on the edge". The video stream is processed locally and no internet is needed to find the object in real time. If you're working on something similar or could use this technology in your systems and would like to collaborate.... (or would simply like to support what we're doing) please reach out by using this link:
    (If I did this right these should be working Amazon affiliate links to purchase the stuff I like to use. When people purchase from these links it will support Smarter Every Day.)
    ❓Mystery Item (just for fun):
    Things I use and like:
    📷Camera I use :
    Favorite Lens:
    On-camera Mic:
    Lav Mic:
    Hot shoe mount for Lav Receiver:
    My Tripod:
    My Multi-tool:
    Favorite SD Card:
    💾How I get footage off my phone:
    Travel Tripod:
    My Backpack:
    My Headlamp:
    Favorite Bidet:
    World Map:
    Favorite Shoes:
    Everyone needs a snatchblock:
    🥽Goggle Up! :
    Also, if you’re interested in a Smarter Every Day shirt etc. they’re really soft and you can get there here:
    Tweet Ideas to me at:
    Smarter Every Day on Facebook
    Smarter Every Day on Patreon
    Smarter Every Day On Instagram
    Smarter Every Day SubReddit
    Ambiance, audio and musicy things by: Gordon McGladdery
    If you feel like this video was worth your time and added value to your life, please SHARE THE VIDEO!
    If you REALLY liked it, feel free to pitch a few dollars Smarter Every Day by becoming a Patron.
    Warm Regards,

    күнү жарыяланды Жыл мурун


    1. SmarterEveryDay

      Do me a favor and PLEASE CONSIDER SHARING THIS VIDEO. I'm a bit worried it won't be distributed due to images in the video and the topic in general.... but I believe this is a positive thing and it's something people on both sides of the gun debate can get behind. I've been talking to people about this type of technology and in an upcoming video I will explain how this is simply one component in a much larger suite of tools which can be used. Are there flaws in this method? Absolutely. Is it possible to spoof a system like this? Yes... this could be easily tricked.... but would be perps would have to take the time to worry about it focus on tricking it. I personally think the main benefit is providing real time situational awareness. Another limitation is that it would identify toy guns as real guns and send a notification to authorities. The purpose of this video is to start the discussion because systems like this are frankly already here and in use. We don't claim to have all the answers, but we decided to use our engineering skills to try to make a positive step. We've found support amongst both sides of the gun debate, and in today's political climate that alone feels like a step in the right direction. If you'd like to reach out, we can be reached through a contact form here:

      1. Mary Lagua

        Okay, will do.

      2. MWall711

        @Kamen Rider Blade Sure, now just convince everyone to open their bank accounts to pay for your unrealistic idea.

      3. MWall711

        @Kamen Rider Blade Haven't been to a school before, have you?

      4. MWall711

        @Chev Chelios You're kind of an idiot. You have my pity.

      5. MWall711

        @Shayne Jenkins You're kind of an idiot. No worries, though, because by your logic the schools would be safe from you carrying a gun.

    2. Chip

      Should really keep your finger off the trigger.

    3. - Caveira -

      Me: Sees the preview picture Also Me: Nice trigger dicipline pal.

    4. Nordak Balrem

      Anyone who is fascinated with mechanical and aerodynamic engineering will have a fascination with firing mechanisms and ballistics, right up there drag profiles and engine design.

    5. Self Evident

      shall not be infringed 4 simple words that mean what they say and say what they mean. They are critical for the survival of a free state. Removing guns means removing Liberty.

    6. Johnny Rep

      Most of our gun violence is perpetrated by Democrat favored demographics shooting each other in our inner cities. 1) That's not my fault. 2) No amount of crime diminishes the purpose of the 2nd Amendment (the security of a free state).

    7. Ihsan Topcu

      Algorithm got me here

    8. Maxi

      Man I'm glad to be living in Europe, the Wikipedia page for school shootings in Germany has a total of six entries. Last one is in 2009. They are clearly doing _something_ right, but obviously you can't just apply the same rules to America, as the mindset of the people is very different. So I hope that the American government can find a good solution that actually works, and I'm curious to see where things go. Also, for people saying "there aren't many shootings, but other massacres for sure" I mean yeah there is the 2016 Berlin truck attack, the Duisburg massacre in 2007, and the Bosphorus serial murders from 2000 to 2007. So still in the single digits. Even if there are more, it's orders of magnitudes lower than what happens in the US in a single year, or even month. So for all of you Americans, I hope things get better, and I'm sure that they will some day. My heart goes out to all the people who have lost someone in one of these attacks, no matter if it involved guns or not.

    9. user deleteddd

      I can see the practicality of this system great work to both of you.

    10. Derby Mods

      I don't wanna be microwaved

    11. Derby Mods

      eeeeeek the trigger discipline in the thumbnail 😂

    12. T Spin

      Why do I hate the name chadd

    13. fuhnyboypedro

      Dustin is such a good guy

    14. Synkratic

      I understand the gun was probably unloaded but trigger dicipline my dude. You get comfortable with that finger on the trigger things can go wrong. "Never put you finger on the trigger unless you are going to pull it"

    15. Adventure One

      KGup then licenses this technology and uses it to identify and demonetize nearly all gun videos...

    16. Casey Michel

      Not sure how this helps stop school shootings if it doesnt look through bags or clothes... seems like by the time the system is alerting the authorities it’s too late... I’m all for the forth amendment but I care more about children’s lives

    17. MARF BEATS

      How about 3d scanning all the guns possible and run virtual video of a man and diffenrent holding position of the gun


      Give everyone a gun

    19. Jeremy Jackson

      im gonna be honest dude id feel way more comfortable if it could see through your clothes

    20. Dale Sides

      I am truly impressed with the amount of detail and conscious effort you make toward gun safety and stating the weapon is on safe or the weapon is clear. Thank you for actively demonstrating the safety techniques we should all use if we decide to carry or handle a weapon.

    21. MyName JEFF

      Can It detect my 120mm smooth bore cannon?

    22. oliver24x

      I think a certain amount of false positives is fine for the proposed scenario where it's to give real time information on a persons whereabouts, someone would shift through all incoming data fast and quickly determine what's true and false. However it needs a lot more training until it's at an alert based scenario where a notification almost certainly means an active firearm. Is there an update on this project?

    23. Noxious Ophidian

      It is completely useless tool for this age and is a dangerous one when distributed to the public. It has its uses in special situations, and it is completely not required in everyday life. It is completely illogical and stupid to own one and talk about safety. Humans are unpredictable creatures and we hurt each other in impulse and when given enough thought we usually resolve to peaceful resolutions, and guns just make the impulsive action a lot more dangerous. No one is getting smarter every day being 'diplomatic' about guns!

    24. Mary Lagua

      Thank you.👍

    25. Pao-pao Hack

      So it is useless 😂😂😂 If some one wants to kill they will not show their guns in public.. They if they show it. They have 5 seconds to start killing people. And your too Late 😂😂😂

    26. Medic 6934

      Destin you're pointing that gun at me. You have flagged me quite a few times....

    27. Samuele Valente

      For me the best way to protect from a guns is not have guns... fortunately I live in a state where there are a lot of problem, but no guns.. it’s crazy to my that basically every one can have a gun and in any time some crazy person can shot someone in a school.. in any case nice video

    28. Christopher Wells

      I Could see this technology eventually helping patrol officers in a shoot /don’t shoot situation . Of course this would be way down the road after the technology has evolved and been accepted by society.

    29. James Monahan

      I thought I saw a passive gun detector system in a gun magazine back in the late '80s

    30. SaintSynapses

      I wish they used this and knifes for subway security. NYPD is having a real problem lately.

    31. Drew Leslie

      What if a criminal, say a school shooter, just put the gun in a holester

    32. Bob Stringer

      I bet it won't track a black gun being held by a person with black skin.

    33. Bob Stringer

      Prove that School shootings are real Oh, you got the information from CNN which is openly admitted to be ran by the U.S. Pentagon. (Fake News) Google: Crisis Actors

    34. Bob Stringer

      The only people that have a problem with Americans being armed are the people in the U.S. Government that have been knighted by the Queen of England.

    35. Sam J

      Nice trigger finger in the thumbnail

    36. zac richmond

      Guns have one use. To kill. Why do we need to kill each other.

    37. Daniel Donaldson

      I really love this channel, so finding a video on this topic was not surprising but intriguing. It's definitely an engineer's view, of course, that's the whole idea of the channel. But I think you can't engineer you way out of some problems. You frame the discussion in terms of the Second Amendment, which is a thing that no other other countries have. They also don't generally have the problem that the US is plagued with - dead children in school corridors. I don't actually think this is simple causality: the Second Amendment doesn't cause school shootings. But there is a clear correlation, and I think that the relationship is the result of the use that the Secord Amendment has, through its interpretations. This is where the US's situation as the only country that addresses guns in this particular way becomes problematic. Without implementations of similar constitutional rights, the way the Second Amendment is used boils down to the current prevailing interpretation of the amendment. Your way of dealing with it can't be judged as aberrational or normative, because there is no class of similar things. But undeniably, your outcomes are shockingly aberrational: other civilzed people don't live the way you do. The interpretation of the Second comes down to what specific cases are brought before the courts, and ultimately the Supreme Court. When asked to rule on the Second Amendment, the courts are constrained, usually by the context the case being heard provides. The striking thing about this for a non United States citizen (I'm Canadian), is that that interpretation supports a hazy agreement to the premise, but doesn't examine the larger context - because the specific context of the test cases brought did not invite that. The NRA, and other advocacy groups have steered this interpretation, and have caused the current interpretation to be focused on an individual mandate to own a gun inherent in the 2nd. The verbiage about militias, well regulated, the temporal considerations, the historical conditions that framed its use are ignored. You only have to look at the Third Amendment to understand that these instruments are not always documents for the ages, but, frankly, hacks in some cases. The Second is one of those, but its use has changed. Here's the basic, non-engineering problem: a sovereign state is an entity that holds a monopoly on violence. To be absolutely clear about this, a state is not an entity that gains, after its establishment, such a monopoly: the monopoly is the state. Starting with Hobbes, who the so called Founding Fathers knew the writings of intimately, the monopoly on violence is the state. So in my reading the current interpretation, - expressed in any number of memes there for the reading January 6 in Washington - the Second Amendment is seen permitting any minority group of citizens to take up arms against a government that they, in their wisdom, declare to be despotic. This, in itself is a contradiction that the framers were exceedingly unlikely to have endorsed. And that was not the interpretation of the courts, on the few occasions that the Second found itself being interpreted, prior to the end of the Second World War. But that interpretation of the Second is a very useful tool, in that it provides an unanswerable base to assert any kind of gun ownership at all, which is how most advocates for gun rights will, eventually, line up. All you have to do is accept the absurd proposition that a state would willingly not only permit, but encourage the preparation for, competing forces, fully armed, intent on using violence, to challenge the integrity of the entity that grants them that same right. Most people's, and perhaps that includes Destin's views may be much more nuanced, but there's no nuanced interpretation from the Supreme Court available: if you want to keep your guns, you're forced to take the current maximalist position. That means that many people of good faith find themselves in the same boat as some pretty dangerous people, and artificially separated by gun policy from people they agree with. No wonder the moderate struggles to be heard in your country. In turn, this makes the gun rights tent a really big tent, one that holds the responsible gun owners, and the lunatic fringe, the Minutemen, the Militias, the preppers, and on down the line. Like the Republican Party's current crisis of direction, it prevents the US policy debate from flourishing, and seeking actual solutions, while holding the moderates hostage. I'm writing this all here, because Destin's dedication and sincerity is as always on full view, and it's great. As a person whose rationalist credentials are impeccable, I see him as someone who is not on the other side of politics from me - even though, I, like most Canadians, and in fact most people everywhere, think guns are a blight, and a symptom of unaddressed problems. This is the problem with the existing maximalist view of the Second, for Americans. We don't have the problem that you're trying to solve. What I'm trying to say is that the Second Amendment is another form of engineering, political engineering, done originally on sound engineering principles, but recently overadapted, and modified beyond its safe operating limits, and still running on the original fitness for use certification. The Gun Detector is a response to, and an implicit acceptance of, the misapplication of basic principles, like a terrible computer patch meant to keep fundamentally flawed code running. It can be well engineered, but it can't repair the underlying broken system it's meant to extend.

    38. M P

      Love your attitude at the beginning Dustin! Too many people simply turn the other way rather than have an intelligent discussion. It’s sad but watching your channel builds my faith in humanity

    39. James Kenney

      I live in the UK almost no one is allowed gun, even most of the police don't have them. You get a minimum of 5 years in prison just for having a gun in your possession, even more if you have ammo or actually use it. Just saying how it is, but American gun culture its interesting to me because 99.9% of Brits cannot own a gun and we don't miss what we never had.

    40. Siaw Richard

      Since this is a gun video, i humbly suggest we feature Matt from DemolitionRanch

    41. Sebastian D

      How can the system ever allocate 100% certainty?

    42. Sebastian D

      So, if there is a bitten apple on the gun, the system would think it is a smartphone? Does not appear too useful.

    43. Filip Skotnica

      4:14 So a terrorist simply puts the gun in aluminum foil or case, and all you'll catch are a few terrorists who don't and a LOT of innocent people w/guns (who won't typically put foil around their everyday carry gun) Breakdown: Most people carrying regularly aren't going to do that, but terrorists will... all you would catch is a mix of: - innocent people w/guns - innocent people w/guns in gun-prohibited zones (carrying with good intentions) - dumb terrorists w/guns in gun-prohibited zones (carrying with bad intentions, not knowing about microwaves) People you won't catch: - people without guns - smarter terrorists w/guns that use foils or cases to avoid detections - terrorists w/bombs in backpacks (that look like water bottles for example)

    44. Badger

      How would this system react to something like a glue gun, or other things similar to guns, such as infrared thermometers?

    45. Kyle Stoner

      Illegally concealed highly dangerous weapons are very important reason why you ought to care more about public spaces being observable. The fourth amendment was written in an era where seeing through clothes (or walls) was punishable by being burned to death because technology was considered evil.

    46. Daniel DiBono

      Just don't have it "neutralize" the gun threat. That could have some downsides.

    47. Widur

      Most countries on earth don't have such problems with gun violence, like the USA does. The solution to the gun problem is quite obvious. I like engineering but i think that overengineering a solution tó a problem that shouldn't exist on the first place isn't really a solution, it is an excuse. I know this is a heated topic, but hearing from a country that managed to start a space program and fly someone to the moon within a decade, that getting rid of guns is impossible and unnecessary is really unbelievable.

    48. Immanuel Funes

      I just Love that intro its actually great

    49. Marijn Vorsters

      Why do you own a gun?

    50. Bombie A

      Isn’t it too late if the detection only happens when it is about to be used? What is the point of it then?

    51. BigPaaryna

      Can it detect a bazooka or a katana tho ?

    52. Nemo 74

      Wanna get rid of school shootings? Get rid of the fbi and cia. Problem solved.

    53. asddsaaassddd

      now the devil in me is saying someone could use GANs to develop paint patterns to defeat such systems depicted in the video

    54. Schnemley

      Meanwhile in 2021 where this is at the top of my For You page...

    55. lawrance hernandez

      It looked like the software was having a hard time distinguishing a pistol with the slide locked to the rear. Was that true or was the pistol not close enough to the camera?

    56. Marcel s

      Me in the uk knows that dont have to worry about guns

      1. Rishabh Gangadeen

        Yeah but you have to worry about knives

    57. ElectricalCoconut

      John Wick: Ahh, looks like i got a problem.

    58. Jonathan T.

      What is "gun" violence? Is this like alcohol violence? Car violence?

    59. mandarin125

      What about rifles and shotguns?

    60. Cryosen

      why even have a lethal weapon for everyone with less than 60IQ? why even have weapons legal where a human cant do anything against it, start fights with some speers, but not with a thing where u need no balls to hurt someone

    61. John Smith

      Guns are not divisive leftists are.

      1. John Smith

        @Rapture Sometimes the truth may be perceived as divisive.

      2. Rapture

        A divisive thing to say.


      guns are scary

    63. Tony Brock

      6:15 Dude, please don't put your finger on the trigger until you're actually ready to shoot something. Holding a pistol like this would seriously freak out most of your fellow shooters.

    64. Cal Driver

      i full heartedly agry that x-ray cameras every where would be the worst!!!

    65. king james488

      if a place had enough cameras to track someone with a weapon with AI a person could do it better... it's still the matter of having every inch of a building covered in cameras... what about the washrooms? do you put cameras there? the change rooms? the staff room?... do you say it's ok to have cameras monitored by AI everywhere because a real person isn't watching you? is that ok? you aren't really solving the problem you claim to be solving and kinda creating new ones.

    66. Mika

      Plottwist: The lamp was actually a handgun 8:48

    67. king james488

      youtube just recommended me this video... guess the algorithm is getting desensitized by 2021...

    68. Mary Lagua

      Good morning Destin!!😊 true people will forget everything when the action comes.

    69. DasHnezz Edits.

      Phew, luckily I'm living in a civilized country where this is not an issue.. Cool tech though.

    70. Predrag Markovljev

      I know you wont read this but i will write it non the less. Why there are almost no shootings in police stations? Because the shooter wants to enter a building where he wont encounter resistance. If he starts shooting in police station he will quickly encounter a stopping force (a police officer who will shoot back). In schools he knows there are no people with guns who can harm him. So the solution: enable and educate teachers who want to carry a gun in school how to use it and quickly neutralize a perp. Once bad guys realize the schools aren't an easy target, the school shootings will drop by a large margin.

    71. Aditya Vadduri is not suppressing the video

    72. Larry Booth

      Love Smarter Every day. My issue with this episode is. Stop addressing them as (GUNS.) If you wish to discuss the issue of (FIREARMS?) We're good with that. Calling them GUNS Carries a stigma. Let's use the proper language when addressing such a hot topic.

    73. Guy Pipili

      Umm, unless you're going to fire your weapon, you need to rest your finger on the trigger guard. I saying this due to what I am seeing on your thumbnail.

    74. Tomaz

      What about toy guns with orange tips?

    75. microshotgunand #yoloswaggot

      I like your handguns

    76. M B

      Imagine living in a "free" country where active shooters are a problem...

    77. ScruffyGaming

      It a good idea, but needs a LOT of work to be truly useful. As it is i guess it's better than not having it for sure. But absolutely is not at a level to replace human monitoring/security. It fails to detect way too much. Human beings can relativly easily see you are holdin a gun at that far range, but the application cannot. It's possible for machines to detect what humans cannot, which is what tells me this has a LONG way to go, it can be much better. Once this goes live, you will then have all the active programs continue learning from the video they get from every active program. Learning more and more and improving constantly.

    78. Vijay Raj

      Why do people want to be armed to stay protected???police are there to serve the people by protecting and securing them from threats.if people keep on stocking weapons then someday cops are going to be withdrawn from service and people have to protect themselves by themself.

    79. Douglas Sykes

      Okay, you scared me at the beginning, I thought you going to get political against our 2A rights. But, I stayed with it. I like the idea. I can see this used in places like a church entrance, a camera could be setup to detect someone holding a firearm that would sound an alarm and alert church security, someone walking down the isle of a store holding a firearm, a school hallway, etc. I think there is a lot of potential here.

    80. Matthew Kongesor

      just curious, as this is a system that would be used in schools, would this be funneled through all of the cctv and all of the computers webcams as well? also how many camera inputs can this system handle? I am a gun owner and supporter of the second amendment but I also support this as I have many friends in law enforcement who would greatly appreciate active accurate information when going into the situation this is designed for.

    81. TheJugg

      Not to be a wet blanket, but this can be defeated with a paper bag.

      1. Eleeiboi Musk

        only really works once when everyone hears a load bang come out of you paper bag and it tears apart they know you have a gun

    82. Richard Bliss

      I had that same gun I loved it

    83. Nick Janse

      So, lets say this gets implemented. The workaround if this is a known technique is simple. Just put the gun in a pillow. I bet that helps with gunpowder traces too.

    84. I’m bored nation

      So I think this may be a good idea and that you may be able to invent but pretty much on school doors there’s a special like bolt lock or so whenever you want be really use that wherever there’s some sort of violence thing/person going around the school or something I feel like once that deadbolt turns it should activate a sensor which calls 911 in like has a GPS any and all that but I feel like that would be a very good way to kind of help the first responders know without Alerting the school shooter because that may make the school shooter kind of more aggressive

    85. Muckalee Master

      we need guns trump2020

    86. keith leadbetter

      Not surprised to see a legitimate solution with a constitutional stance here on SED. Also not surprising gun stores and legal gun owners would support this brilliant idea.

    87. MrBeatboxmasta

      If it only detects it when someone is holding the gun out in the open, which the human eye can detect without even trying, doesn't it defeat the purpose?

    88. RapCat

      wait until I bring my water gun

    89. Inspector Steve

      KGup doesn't care about gun violence. They just don't want guns out there.

    90. ivbrleci

      Is that modified face recognition algorithm?

    91. Jacob Pulcifer


    92. Poutine Operator

      I’d say that the best countermeasure for an active shooter situation is concealed carry

    93. Bjørn Martin Stonersen

      It doesn't recognize when it is not cocked

    94. LPG

      Secret Service already has microwave/X-ray technology to detect concealed weapons or devices. Many former agents end up contracting some form of cancer which I would venture to say could be related to the amount of radiation they are exposed to on a regular basis via radar, electronic jammers, x-ray devices, etc. Moral of the story, just watch the POTUS on TV and not in person lol

    95. Heath T

      I watched this episode minutes after it was originally uploaded. At the time, as a programmer I thought this was a pretty clever idea but it needed polish. Fast forward to the end of 2020 and I think we need to figure out a way to disable the pistols of officers unless there's a weapon detected. By doing this, ego driven shootings of unarmed people would be next to zero. Rifles would work regardless, giving them a go to for a known threat (ie. Call of a shooter, report of someone brandishing, etc).

    96. Kenika Beck

      *sees thumbnail* *get your finger off the trigger intensifies*

    97. Mx Krysie

      Just wanted to say thanks for showing the empty chamber and clips, as well as showing you weren't down range of the gun. It made it less nerve wracking to watch (I have a personal problem with guns, even tho I support gun ownership).

    98. Jo Rode

      Thank you Dustin

    99. 2A merica

      Guns are perfectly safe people are dangerous. Not one of my firearms have ever jumped up and started shooting on it own.

    100. trew ten

      Does it only detect handguns, or can it also detect shotguns, AR's, "long guns"?