This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.jsondemo; | |
import java.io.BufferedReader; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.jsondemo; | |
import java.io.BufferedReader; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.jsondemo; | |
import java.io.BufferedReader; | |
import java.io.ByteArrayOutputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FileInputStream fileInputStream = new FileInputStream(new File(pathToOurFile) ); | |
URL url = new URL(urlServer); | |
connection = (HttpURLConnection) url.openConnection(); | |
// Allow Inputs & Outputs. | |
connection.setDoInput(true); | |
connection.setDoOutput(true); | |
connection.setUseCaches(false); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cassert> | |
#include <cmath> | |
#include <iostream> | |
#include <opencv/cv.h> | |
#include <opencv/highgui.h> | |
#include <opencv/cxcore.h> | |
#include "Features.h" | |
#include <math.h> | |
#include <time.h> | |
#include <utility> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "MatchingThread.h" | |
#include "Features.h" | |
MatchingThread::MatchingThread ( QWidget * parent, | |
FeatureType featureType, | |
MatchType matchType, | |
const FeatureSet & features ) | |
: QThread ( parent ), matchType ( matchType ), | |
features ( features ), featureType ( featureType ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "MatchingPage.h" | |
#include "FeaturesWizard.h" | |
#include <opencv/cv.h> | |
#include <QPainter> | |
#include "MatchingThread.h" | |
#include <QProgressBar> | |
#include <QBoxLayout> | |
#include <QPicture> | |
MatchingPage::MatchingPage ( FeaturesWizard * parent ) : QWizardPage ( parent ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <regex> | |
using namespace std; | |
int main() | |
{ | |
string sname ("T.V. Raman"); | |
string smobile("1234567890 (650) 720-5678"); | |
string semail("[email protected]"); | |
smatch m; |