Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View initialneil's full-sized avatar

Neil Z. SHAO initialneil

  • Shenzhen Prometheus CV Tech Ltd,.
  • Shenzhen, China
View GitHub Profile
initialneil / breakdown-jpg.cpp
Last active October 17, 2018 06:57
Break down iPhone photo with depth (jpg file with Multi-picture Format)
#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);