This file contains 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
--- modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c 2014-04-18 23:04:58.432000000 -0700 | |
+++ /home/ns/Desktop/udevInput.c 2014-04-18 23:04:14.668000000 -0700 | |
@@ -144,6 +144,11 @@ | |
int pendingInputEventCount; | |
int pendingInputEventCapacity; | |
+ int touchSlotIDs[LENS_MAX_TOUCH_POINTS]; | |
+ int pendingTouchSlotIDs[LENS_MAX_TOUCH_POINTS]; | |
+ int pendingTouchHasChangedValues[LENS_MAX_TOUCH_POINTS]; | |
+ int currentlyActiveSlotID; |
This file contains 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
public static int[][] detectVarianceCrossing(int[][] zeroCrossingImgData, int[][] secondOrderDrvImgData, int[][] gaussianImgData) { | |
int threshold = 60000; | |
int[][] result = new int[zeroCrossingImgData.length][zeroCrossingImgData[0].length]; | |
for (int x = 0; x < zeroCrossingImgData.length; x++) { | |
for (int y = 0; y < zeroCrossingImgData[0].length; y++) { | |
int val = zeroCrossingImgData[y][x]; | |
result[y][x] = 0; | |
if (val == 255) { |
This file contains 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
|1|cioyfz+ko9FIm1bhzvm5svcRlc0=|0rmtU2CoPLOTaA9xWwaeRGgbXlU= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== | |
|1|fGtyHJzEGdCMdoUhXFtExfLnK+o=|0REhNAKK7SXbotUzdH2HkFnVQH8= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== |
This file contains 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
public class Main | |
{ | |
public static void main(String[] args) throws Exception { | |
ImdbReaderImpl iri = new ImdbReaderImpl(); | |
ImdbParser ip = new ImdbParser(iri); | |
// ip.parseMovies("/path/to/file/movies.list.gz"); | |
// this parses actors and actresses | |
ip.parseActors("/path/to/file/actors.list.gz", "/path/to/file/actresses.list.gz"); |