Live data from Hacker News

Every shot Kobe Bryant ever took

graphics.latimes.com

51–60 of 183 posts

Re: Every shot Kobe Bryant ever took

#52

Earlier quoted context omitted.

Isn't it just that if you're half a step away from 3 points, you might as well take the half a step back and try for 3 instead of 2 with a shot that's pretty much the same in difficulty?

I think it's more like they are going for a three point shot, and want to make sure it's actually in the three point area. Pretty wasteful being just over the line, and only getting two for the effort.

You two are saying the same thing (and are both right).

He's (presumably) trying to maximize points per possession. His shooting percentage is a decreasing function with respect to distance from the basket. And there's a jump in the "shot made reward function" at the 3 point line.

Re: Every shot Kobe Bryant ever took

#53
Looks like they used Leaflet, a Javascript mapping library, for the visualization, so you end up with funny stuff like this in the source:

  var courtBounds = [[33.1593,  -118.0198], [34.2353,  -118.5198]];

Re: Every shot Kobe Bryant ever took

#54
It would be pretty cool if you could enlarge the graph and change the color of the dots based on other meta data.

For example instead of hit/misses it would be neat to see the colors be based on average time left in the game (gradient from one color to another).

Or perhaps a color for "nothing-but-net-swoosh" (I doubt they have those metrics but maybe they do?).

Re: Every shot Kobe Bryant ever took

#55

Earlier quoted context omitted.

Anyone know how the data is collected? Is it computer generated by some software watching the game or is there someone faithfully capturing this into some database? Does the data exist for other players. I'm a bit amazed that this kind of data is captured and wonder how accurate it is.

ha! I guess I asked too soon. https://en.wikipedia.org/wiki/Player_tracking_(National_Bask... I wonder what the proprietary software is. Anyone know? Based on opencv perhaps? Amazing!

See my comments below on how the data is actually collected.

But yes, there is some opencv in this project(and probably in almost every other commercial machine vision project out there), but the smart parts are hand tailored, opencv have useful general purpose algorithms, but to get the best results you need to dig deeper.

Source: I've worked on the system in the past.

Re: Every shot Kobe Bryant ever took

#56
It's amazing that there's a noticeably higher hit rate on a very precise line right down the middle and a relative shot gap 10 degrees on either side before reaching his "sweet zone". Anyone know why being only a few degrees away from center makes it harder to score?

Re: Every shot Kobe Bryant ever took

#57
post #49

Earlier quoted context omitted.

Manually. Companies like Stats(that also now running the optical tracking in the nba) has rooms full of people watching videos of games and tagging events.

In the US? That seems really tedious.

Yes, they have those people in their Chicago office.

(I believe they also have people in India doing this nowdays)

Re: Every shot Kobe Bryant ever took

#58
post #56

It's amazing that there's a noticeably higher hit rate on a very precise line right down the middle and a relative shot gap 10 degrees on either side before reaching his "sweet zone". Anyone know why being only a few degrees away from center makes it harder to score?

I noticed that, and assumed it was issues with measurement.

Re: Every shot Kobe Bryant ever took

#59
post #49

Earlier quoted context omitted.

Manually. Companies like Stats(that also now running the optical tracking in the nba) has rooms full of people watching videos of games and tagging events.

In the US? That seems really tedious.

Tedious probably. Profitable definitely.
Post reply on HN