News for hackers. Stuff that matters.
Re:A dumb reason computer vision apps aren’t working: Exif O... by jcims on Wednesday October 09, 2019 @08:13PM (#21209587)
They should just put a gravity vector in the image.
Re:A dumb reason computer vision apps aren’t working: Exif O... by chmullig on Wednesday October 09, 2019 @08:17PM (#21209610)
I’m pretty sure iPhones do put it in. You should exif dump an iPhone XS image. INSANE what’s in there.
Re:A dumb reason computer vision apps aren’t working: Exif O... by alanh on Wednesday October 09, 2019 @11:24PM (#21210588)
Go on...
Re:A dumb reason computer vision apps aren’t working: Exif O... by gregmac on Wednesday October 09, 2019 @11:37PM (#21210643)
This would (maybe) help with a common thing my wife does when taking videos: Start recording in portrait mode, then realize you did that, and rotate the phone 90 degrees to get widescreen video (but without restarting the recording).

When you play it back on a phone (with auto-orientation mode on), starting from holding the phone in portrait mode (as you normally do):

* it starts playing back as portrait, which looks fine

* the video rotates (because the camera was physically rotated), so now you're watching a widescreen video that's 90 degrees off

* Your natural reaction is to flip the phone 90 degrees to make down "down" again, but this changes the phone into widescreen mode, and because it thinks it's playing a portrait-style video, it changes to portrait-in-widescreen mode, and now the video is again tilted 90 degrees but 1/3 the size with huge black bars on either side

If you play it back on a computer/TV, you get the same end result: a widescreen video that's rotated 90 degrees, and 1/3 the size with huge black bars on either side.

Re:A dumb reason computer vision apps aren’t working: Exif O... by taneq on Thursday October 10, 2019 @02:28AM (#21211535)
Can't help you with the video-taking technique but when playing back the videos, if you hold the phone so that the video matches the screen, then rotate it so the screen is upwards, you can then spin it so it looks the right way up as long as you keep the screen vertical enough.
Re:A dumb reason computer vision apps aren’t working: Exif O... by PinguTS on Thursday October 10, 2019 @04:01AM (#21212010)
In these cases I just enable rotation lock.
Re:A dumb reason computer vision apps aren’t working: Exif O... by ralfd on Thursday October 10, 2019 @05:26AM (#21212485)
Haha! I guess one has to cut the video and rotate manually one part?
Re:A dumb reason computer vision apps aren’t working: Exif O... by microcolonel on Wednesday October 09, 2019 @08:52PM (#21209860)
Might as well put in acceleration and rotation while we're at it.
Re:A dumb reason computer vision apps aren’t working: Exif O... by edoceo on Wednesday October 09, 2019 @08:56PM (#21209879)
Pitch and yaw
Re:A dumb reason computer vision apps aren’t working: Exif O... by mceachen on Wednesday October 09, 2019 @10:16PM (#21210245)
You're joking, but many smartphones encode gyroscope readings in the metadata.

And uptime seconds (!?)

And estimated distance to subject, AGPS information, GPS acquisition time, depth field metadata, current battery level, operating system version, ...

Re:A dumb reason computer vision apps aren’t working: Exif O... by ronsor on Wednesday October 09, 2019 @09:08PM (#21209937)
We can use both sets of names, better yet, mix them!
Re:A dumb reason computer vision apps aren’t working: Exif O... by fooker on Thursday October 10, 2019 @01:23AM (#21211198)
Ah, the famous ropitchaw vector!
Re:A dumb reason computer vision apps aren’t working: Exif O... by dotancohen on Thursday October 10, 2019 @04:37AM (#21212222)
Won't help when filming in the ISS. Microgravity or not, I would like to view the result in the same orientation as the crewmember who filmed it.
Re:A dumb reason computer vision apps aren’t working: Exif O... by wccrawford on Thursday October 10, 2019 @06:27AM (#21212795)
And how would the camera know without gravity?