Package aist.science.aistcv.helper
Class BinaryExtractor
- java.lang.Object
-
- aist.science.aistcv.helper.BinaryExtractor
-
public class BinaryExtractor extends Object
Help method for extracting the opencv bianries
Modified from OpenPnP OpenCV
- Author:
- Christoph Praschl, Jason von Nieda, adambenhamo, sirrrich, phrack
-
-
Constructor Summary
Constructors Constructor Description BinaryExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
extractNativeBinary()
Selects the appropriate packaged binary, extracts it to a temporary location (which gets deleted when the JVM shuts down), and returns aPath
to that file.Path
extractNativeBinary(OperatingSystem os, Architecture arch)
Extracts the packaged binary for the specified platform to a temporary location (which gets deleted when the JVM shuts down), and returns aPath
to that file.
-
-
-
Method Detail
-
extractNativeBinary
public Path extractNativeBinary()
Selects the appropriate packaged binary, extracts it to a temporary location (which gets deleted when the JVM shuts down), and returns aPath
to that file.- Returns:
- the
Path
to the temp folder containing the extracted native library
-
extractNativeBinary
public Path extractNativeBinary(OperatingSystem os, Architecture arch)
Extracts the packaged binary for the specified platform to a temporary location (which gets deleted when the JVM shuts down), and returns aPath
to that file.- Parameters:
os
- operating system for which binary should be extractedarch
- architecture for which binary should be extracted- Returns:
- the
Path
to the temp folder containing the extracted native library
-
-