Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/DemoCamera/ANDROID_xml_services
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<provider
android:name="android.support.v4.content.FileProvider"
android:name="androidx.core.content.FileProvider"
android:authorities="@SYS_PACKAGE_DOT@.provider"
android:exported="false"
android:grantUriPermissions="true">
Expand All @@ -8,4 +8,4 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths">
</meta-data>
</provider>
</provider>
11 changes: 11 additions & 0 deletions apps/DemoDigitDetect/ANDROID_xml_services
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="@SYS_PACKAGE_DOT@.provider"
android:exported="false"
android:grantUriPermissions="true">
<!-- resource file to create -->
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths">
</meta-data>
</provider>
1 change: 1 addition & 0 deletions apps/DemoDigitDetect/FONTS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cmss.ttf 7 18 ascii
1 change: 1 addition & 0 deletions apps/DemoDigitDetect/MODULES
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config eventloop ln_core ln_glcore ln_glgui gd png camera tinymaix-mnist
10 changes: 10 additions & 0 deletions apps/DemoDigitDetect/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## DemoDigitDetect

This application is a modified version of the DemoCamera application.
It allows you to take a picture, and then scans the picture for a
digit between 0 and 9 which it attempts to classify using a neural
network.

It has been produced with the support of [NLnet](https://nlnet.nl/).

[<img alt="NLnet logo" width="300px" src="nlnet.png" />](https://nlnet.nl/)
1 change: 1 addition & 0 deletions apps/DemoDigitDetect/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
140 changes: 140 additions & 0 deletions apps/DemoDigitDetect/artwork.eps

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 68 additions & 0 deletions apps/DemoDigitDetect/artwork.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
% TGIF
state(0,33,100,0,0,1,16,1,9,1,1,0,0,1,0,1,0,'Courier',0,17,0,0,1,5,0,0,1,1,0,16,1,0,1,1,1,0,1056,1497,0,0,2880).
unit("1 pixel/pixel").
generated_by("pstoedit",0,"4.3").
page(1,"",1).
box('#ffe680',3.55556,1494.05,259.556,1238.05,1,0,1,1,0,0,0,0,0,'1',[
]).
polygon('#772121',120,[
27.6389,1340.29,27.6389,1338.58,28.4306,1333.44,30.2987,1328.32,30.8334,1327.37,31.3611,1326.43,34.5625,1322.33,38.5001,1319.05,
39.3959,1318.52,41.1806,1317.45,50.389,1313.73,59.0139,1312.14,61.8889,1312.14,65.4514,1312.14,76.1458,1313.99,85.9097,1318.31,
87.5833,1319.54,88.7916,1320.4,92.0139,1323.56,95.1596,1328.39,97.0208,1334.01,97.6112,1338.83,97.5972,1340.44,97.5417,1342.52,
96.2987,1348.77,92.8404,1355.78,87.2222,1361.47,81.493,1364.98,79.4514,1365.84,81.0485,1366.15,88.118,1368.88,93.9861,1373.17,
94.9792,1374.26,95.9723,1375.34,99.4444,1381.47,100.93,1387.92,100.93,1390.08,100.93,1391.98,100.146,1397.69,97.8055,1404.3,
93.9097,1409.88,89.9305,1413.49,88.4514,1414.46,86.368,1415.81,75.0208,1420.55,63.5417,1422.58,59.7152,1422.58,56.4167,1422.58,
46.5417,1421.33,35.0416,1417.58,25.2084,1411.31,18.7916,1404.95,17.0417,1402.55,31.125,1389.49,31.6805,1390.72,35.6875,1396.46,
41.3541,1401.61,42.7362,1402.55,44.1596,1403.52,51.1876,1406.9,57.3611,1408.36,59.4236,1408.36,61.2917,1408.36,66.8958,1407.12,
71.9305,1404.25,72.7778,1403.43,73.6181,1402.58,76.5833,1397.76,77.8542,1392.64,77.8542,1390.94,77.8542,1389.85,77.2361,1386.59,
75.7986,1383.39,75.389,1382.82,74.6041,1381.76,71.507,1379.13,66.0972,1376.51,59.1668,1374.92,52.8263,1374.4,50.7152,1374.4,
50.2779,1374.4,49.2987,1374.4,48.9723,1374.4,40.118,1374.4,41.2848,1361.19,43.7152,1361.19,51.0069,1361.01,57.7986,1360.58,
58.9861,1360.46,60.1945,1360.34,65.7362,1358.8,70.5972,1355.99,71.4722,1355.24,72.4098,1354.39,75.7152,1349.26,77.1319,1343.4,
77.1319,1341.46,77.1319,1340.02,76.0416,1335.72,73.5001,1331.48,72.7778,1330.71,72.0764,1329.92,67.5833,1327.08,61.7916,1325.8,
60.4375,1325.78,59.2987,1325.83,54.486,1326.97,50.8334,1329.33,50.2779,1329.99,49.7431,1330.62,47.882,1333.87,47.0903,1336.94,
47.0903,1337.97,47.0903,1339.67,47.8124,1344.35,47.9584,1344.79,27.9305,1344.79,27.882,1344.3,27.6389,1341.29,27.6389,1340.29],1,0,1,0,2,0,0,0,0,0,'0',
"000000000000000000000000000000",[
]).
polygon('#772121',90,[
182.93,1332.02,183.001,1330.08,185.577,1321.39,191.111,1314,192.66,1312.72,194.229,1311.41,203.104,1306.84,212.466,1304.88,
215.591,1304.88,218.66,1304.88,227.883,1306.69,236.117,1310.92,237.5,1312.14,238.903,1313.32,243.813,1320.33,245.924,1328.12,
245.924,1330.71,245.924,1330.89,245.924,1331.3,245.924,1331.44,245.799,1334.53,241.09,1348.64,230.924,1360.9,228.069,1363.08,
227.604,1363.44,224.695,1365.62,220.958,1368.28,220.091,1368.89,219.216,1369.46,215.479,1372.01,212.562,1374.06,212.105,1374.4,
211.639,1374.73,207.166,1379.09,206.736,1379.62,206.174,1380.37,204.263,1383.98,203.515,1387.39,203.541,1388.04,203.563,1388.28,
203.806,1389.73,203.833,1389.78,189.756,1389.78,189.534,1389.56,187.964,1385.69,187.868,1385.14,187.771,1384.58,187.285,1381.62,
187.285,1380.64,187.285,1378.98,188.334,1374.03,190.791,1369.08,191.493,1368.16,192.215,1367.21,200.201,1359.35,201.076,1358.73,
201.964,1358.1,210.791,1351.8,211.668,1351.18,212.535,1350.53,220.036,1342.78,220.667,1341.89,221.319,1340.89,223.604,1335.97,
224.583,1331.59,224.583,1330.13,224.583,1328.8,223.785,1324.8,221.924,1321.28,221.396,1320.7,220.86,1320.1,217.362,1317.98,
213.09,1317.07,211.668,1317.07,210.187,1317.07,205.749,1318.27,201.749,1321.06,201.076,1321.86,200.375,1322.68,197.916,1327.26,
196.868,1332.03,196.868,1333.62,196.868,1335.11,197.556,1339.6,199.159,1343.55,199.625,1344.21,185.548,1344.21,185.111,1343.14,
182.93,1334.8,182.93,1332.02],1,0,1,0,3,0,0,0,0,0,'0',
"00000000000000000000000",[
]).
polygon('#772121',33,[
186.708,1407.05,187.285,1406.45,190.549,1404.33,193.979,1403.43,195.125,1403.43,196.263,1403.43,199.694,1404.33,202.958,1406.45,
203.541,1407.05,204.117,1407.63,206.153,1410.89,207.028,1414.33,207.028,1415.47,207.028,1416.6,206.153,1420.01,204.117,1423.19,
203.541,1423.74,202.958,1424.32,199.694,1426.35,196.263,1427.23,195.125,1427.23,193.979,1427.23,190.549,1426.35,187.285,1424.32,
186.708,1423.74,186.124,1423.19,184.091,1420.01,183.223,1416.6,183.223,1415.47,183.223,1414.33,184.091,1410.89,186.124,1407.63,
186.708,1407.05],1,0,1,0,4,0,0,0,0,0,'0',
"000000000",[
]).
polygon('#000000',133,[
103.743,1325.32,103.368,1325.37,102.34,1326.05,101.521,1327.56,101.208,1329.54,101.354,1331.69,101.882,1333.69,102.743,1335.28,
103.868,1336.12,104.93,1336.09,105.208,1335.94,106.292,1335.94,117.153,1335.98,118.243,1335.99,119.451,1338.05,131.562,1358.62,
132.778,1360.69,130.438,1360.68,107.097,1360.73,104.764,1360.75,104.396,1360.8,103.382,1361.46,102.549,1362.94,102.208,1364.89,
102.299,1367.01,102.771,1369.01,103.569,1370.6,104.639,1371.48,105.66,1371.49,105.924,1371.35,108.16,1371.34,130.556,1371.29,
132.799,1371.3,118.243,1396.12,103.736,1396.18,103.368,1396.23,102.354,1396.89,101.521,1398.37,101.174,1400.32,101.271,1402.44,
101.743,1404.44,102.542,1406.03,103.604,1406.91,104.625,1406.92,104.889,1406.78,106.083,1406.78,118.049,1406.72,119.25,1406.72,
119.806,1406.48,122.104,1403.63,124.167,1399.95,124.604,1399.3,141.493,1370.52,160.66,1403.21,160.806,1403.89,161.778,1405.85,
163.319,1406.76,165.056,1406.78,166.347,1406.7,166.764,1406.77,167.743,1406.76,177.528,1406.72,178.507,1406.72,178.882,1406.66,
179.931,1405.95,180.784,1404.44,181.125,1402.47,181.02,1400.35,180.521,1398.36,179.701,1396.79,178.626,1395.95,177.604,1395.97,
177.347,1396.12,164.764,1396.17,150.174,1371.3,152.625,1371.29,177.076,1371.3,179.534,1371.3,179.909,1371.24,180.958,1370.53,
181.813,1369.01,182.153,1367.05,182.048,1364.92,181.556,1362.92,180.736,1361.36,179.653,1360.51,178.631,1360.53,178.375,1360.69,
177.729,1360.69,175.785,1360.69,171.951,1360.69,167.354,1360.69,162.486,1360.69,157.847,1360.69,153.924,1360.69,151.208,1360.69,
150.194,1360.69,150.194,1360.69,151.403,1358.62,163.549,1338,164.764,1335.94,165.903,1335.94,177.347,1335.98,178.492,1335.99,
178.903,1335.86,179.993,1335,180.827,1333.38,181.076,1331.39,180.834,1329.32,180.181,1327.41,179.216,1325.94,178.028,1325.17,
176.972,1325.21,176.701,1325.37,175.556,1325.37,164.139,1325.32,163,1325.32,162.736,1325.67,160.111,1329.8,159.861,1330.26,
158.326,1332.85,143.021,1358.86,141.493,1361.46,139.785,1358.56,122.708,1329.57,121.007,1326.67,120.521,1326.14,117.903,1325.33,
115.194,1325.44,114.667,1325.37,113.75,1325.36,104.653,1325.32,103.743,1325.32],1,0,1,0,5,0,0,0,0,0,'0',
"0000000000000000000000000000000000",[
]).
Binary file added apps/DemoDigitDetect/artwork.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading