Skip to content
Snippets Groups Projects
Commit 4213b08a authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Final minor improvements

parent 8de43d65
No related branches found
No related tags found
No related merge requests found
......@@ -25,12 +25,12 @@ public class FeaturePointFpExporter {
* @throws FileNotFoundException
* @throws IOException
*/
public static void exportFeaturePointsToFP(List<FeaturePoint> featurePointList, String objectName) throws IOException {
public static void exportFeaturePointsToFP(List<FeaturePoint> featurePointList, String objectName) throws IOException {
File fpOutputFile = new File(String.format("%s_landmarks.fp", objectName));
writeToFile(featurePointList, fpOutputFile, objectName);
}
public static void writeToFile(List<FeaturePoint> featurePointList, File fpOutputFile, String objectName) throws IOException {
protected static void writeToFile(List<FeaturePoint> featurePointList, File fpOutputFile, String objectName) throws IOException {
// CSV is a normal text file, need a writer
try (BufferedWriter bw = new BufferedWriter(new FileWriter(fpOutputFile))) {
bw.write(String.format("<!--Saved by software Fidentis Analyst--><facialPoints model=\"%s\">", objectName));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment