Skip to content

Instantly share code, notes, and snippets.

Avatar

Neil Z. SHAO initialneil

  • Shenzhen Prometheus CV Tech Ltd,.
  • Shenzhen, China
View GitHub Profile
@initialneil
initialneil / breakdown-jpg.cpp
Last active Oct 17, 2018
Break down iPhone photo with depth (jpg file with Multi-picture Format) https://wordpress.com/post/initialneil.wordpress.com/254
View breakdown-jpg.cpp
#include <fstream>
#include <vector>
#include <string>
using namespace std;
int main(int argc, char **argv)
{
string fn = argc > 1 ? argv[1] : "";
ifstream in(fn, ios::binary);