2430
you are viewing a single comment's thread
view the rest of the comments
[-] charonn0@startrek.website 125 points 1 year ago

Part of my job is to review security footage for reported incidents.

If there is a long-lasting visual cue that the event has or has not happened yet (e.g. a window is either broken or not), then a binary search is very useful.

If the event lasts only a moment and leaves no visual cue (e.g. an assault), then binary search is practically useless.

[-] CosmicCleric@lemmy.world 5 points 1 year ago

If the event lasts only a moment and leaves no visual cue (e.g. an assault), then binary search is practically useless.

But you will see the event happen though.

It's a matter of if you can identify who the perpetrator is or not, but at least that due diligence should be done by police, looking at the person doing the crime and see if they can be identified.

[-] null@slrpnk.net 55 points 1 year ago* (last edited 1 year ago)

But you will see the event happen though.

Not with a binary search.

Edit: just collapse this thread and move on. Cosmic Cleric is an obvious troll.

[-] tryagain@lemmy.ml 4 points 1 year ago

Well now I HAD to read the thread

What an absolute weirdo.

[-] CosmicCleric@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

But you will see the event happen though.

Not with a binary search.

Yes you will.

A binary search is just what it says, it's just for searching only.

When you find that moment in time where the bike was there one moment, and then the next moment the bike's not there, then you view at regular or even slow-mo at those few seconds of the bike in the middle of disappearing, and see the perpetrator, and hopefully can identify them.

[-] Azzu@lemm.ee 33 points 1 year ago* (last edited 1 year ago)

You didn't get what was talked about here. Re-read the topmost parent comment.

How do you binary search for two people arriving, one punches the other, they both leave?

[-] CosmicCleric@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

How do you binary search for two people arriving, one punches the other, they both leave?

In the same way the OP talks about it ...

You don't watch the whole thing, he said. You use a binary search. You fast forward to halfway, see if the bike is there and, if it is, zoom to three quarters of the way through. But if it wasn't there at the halfway mark, you rewind to a quarter of the way though. Its very quick. In fact, he had pointed out, if the CCTV footage stretched back to the dawn of humanity it would probably have taken an hour to find the moment of theft.

Instead of a bike, you look for the aftereffects of a fight happening (chairs knocked down, tables turned over, etc.). You can even look at how many people congregate around the location of the fight before and after the video as a 'marker' to the point of time the fight was happening/just finished.

Edit: One thing we didn't even mention, AI can also be used these days to notice subtle changes in the video. If a video is a static image of an alley, then two people walk in the alley and fight, even though they leave no traces behind, that moment of the fight is caught on the video with activity/movement. Motion sensor movement, basically.

[-] TheSanSabaSongbird@lemdro.id 25 points 1 year ago

You are seriously confused. OP specifically said that you're fucked if there is no visual cue.

load more comments (42 replies)
[-] Kialdadial@iusearchlinux.fyi 10 points 1 year ago

Your adding things that would allow a binary search work, but the question was in a situation where the only evidence is the conflict itself

2 guys enter one guy punches the other guy they both leave. Nothing is moved no blood was created,

you could not use a binary search effectively to duduce when it occurred.

load more comments (13 replies)
[-] Ardyssian@sh.itjust.works 3 points 1 year ago* (last edited 1 year ago)

What about this hypothetical scenario:

Suppose the objective is to review highway cam footage of the day to verify that a (non-speeding) car with a particular license plate drove past the area / used this route. The route is used 24/7 by many identical cars throughout the day and night, and that our target car is one such identical car, with the only difference being the license plate. We know on average cars that drive past this camera only appear for 3 seconds on the footage. How can binary search be used to find the car within 24 hours of footage, if the target car only appears for 3 seconds within the 24 hour video?

load more comments (3 replies)
[-] ShrimpsIsBugs@programming.dev 13 points 1 year ago

You either don't know what binary search is or you completely missed the context of this conversation

load more comments (11 replies)
[-] lustyargonian@lemm.ee 12 points 1 year ago

Binary search only works on sorted data, i.e. you know which side of the mid point is pointing towards the incident. If the incident leaves no trail, you can't know whether you can discard the left side or the right side, making it a complicated linear search at that moment.

load more comments (6 replies)
[-] null@slrpnk.net 10 points 1 year ago

That doesn't apply to the comment you replied to.

load more comments (7 replies)
load more comments (7 replies)

Let's use the example of a bike theft. We enter into evidence a 4-hour security cam video that shows the thief with the bike.

Scenario A: The camera can directly see the bike rack, and the bike in question is visible at the beginning of the video, and not visible at the end. Somewhere in this 4-hour video, someone walks up to the bike and takes it out of the bike rack. You can use a binary search to find the moment that happens in this video because you can pick a frame and say "Ah, this was before the theft; the bike is still there" or "ah, this was after the theft; the bike is gone."

Scenario B: The camera can't directly see the bike rack, but can see the doorway you have to walk through to get to the bike rack. So somewhere in 4 hours of doorway footage, someone walks through the door, then a short time later walks back through the door with the bike. A binary search won't help here because the door looks the same at the beginning or end of the video. A simple binary search won't work here because the door looks the same before and after.

[-] rekabis@lemmy.ca 4 points 1 year ago

This is the explanation that CosmicCleric needs in order to understand binary search.

Because as it is, (s)he’s failing abysmally at demonstrating any understanding whatsoever of that subject.

[-] null@slrpnk.net 2 points 1 year ago* (last edited 1 year ago)

Nah, they're just gonna say you can use AI or something, as a retroactive explanation for what they obviously weren't talking about in their original comment. They're a troll; they're not going to budge.

Edit: Case in point. They're now at the level of mental gymnastics that they're saying part of their original response implied that they were talking about the capabilities of AI at some point in the future.

load more comments (30 replies)
load more comments (1 replies)
load more comments (3 replies)
[-] DaleGribble88@programming.dev 4 points 1 year ago

I'm just a random guy stumbling across this thread hours after the fact. I want to say that after reading many of these comments. I feel like I'm starting to get a handle on what your position is. You aren't wrong, but you are communicating your idea horribly.
Your position seems to be "Thankfully, many crimes do leave behind lasting visual cues, so you can still do a binary search for those situations if you are clever about what to look for."
What you've actually been communicating is that "If there really was no lasting visual cue, then just find a lasting visual cue anyway, then do a binary search on that and it'll work!" - It's all about how you choose to present, order, and emphasize your comments. Your message is more than just the words you type. I hope this message helps clarify the debate and confusion for you and anyone else who stumbles upon this long chain.

load more comments (1 replies)
this post was submitted on 30 Nov 2023
2430 points (100.0% liked)

Programmer Humor

19864 readers
19 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS