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
{ | |
"RootNamespace": "", | |
"Packages": [ | |
"Fuse", | |
"FuseJS", | |
"Fuse.Camera", | |
"Fuse.PushNotifications", | |
"Fuse.CameraRoll", | |
"Fuse.ImageTools", | |
"Fuse.Launcher", |
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
using Uno; | |
using Uno.Collections; | |
using Fuse.Platform; | |
using Fuse; | |
using Fuse.Scripting; | |
using Uno.UX; | |
using Uno.Compiler.ExportTargetInterop; | |
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
<App> | |
<JavaScript> | |
var Observable = require("FuseJS/Observable"); | |
var someLabel = "creddiiiiiit carrd"; | |
var someValue = "vallluuuue"; | |
var formettedInput = Observable(""); | |
formettedInput.onValueChanged(module, function(x) { | |
var formatted = cc_format(x) |
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
package com.fuse.genius; | |
import android.app.Activity; | |
import android.app.ProgressDialog; | |
import android.content.Intent; | |
import android.hardware.Camera; | |
import android.os.AsyncTask; | |
import android.os.Bundle; |
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
using Uno; | |
using Uno.UX; | |
using Uno.Collections; | |
using Uno.Compiler.ExportTargetInterop; | |
using Fuse; | |
using Fuse.Triggers; | |
using Fuse.Controls; | |
using Fuse.Controls.Native; | |
using Fuse.Controls.Native.iOS; | |
using Uno.Threading; |
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
using Uno; | |
using Uno.UX; | |
using Uno.Collections; | |
using Uno.Compiler.ExportTargetInterop; | |
using Fuse; | |
using Fuse.Triggers; | |
using Fuse.Controls; | |
using Fuse.Controls.Native; | |
using Fuse.Controls.Native.Android; | |
using Uno.Threading; |
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
<App> | |
<JavaScript> | |
var Observable = require("FuseJS/Observable") | |
var picture = Observable() | |
picture.onValueChanged(module, function(x){ | |
console.log(JSON.stringify(x)) |
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
<App> | |
<JavaScript> | |
var Observable = require("FuseJS/Observable") | |
function ItemForm(name, note, image, comment, askedOnSite, discountLabel){ | |
var self = this; | |
this.name = name; | |
this.note = note; |
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
namespace Native.iOS | |
{ | |
using Uno; | |
using Uno.UX; | |
using Uno.Compiler.ExportTargetInterop; | |
using Fuse.Controls.Native.iOS; | |
[Require("Source.Include", "UIKit/UIKit.h")] |
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
if __name__ == '__main__': | |
load_model() | |
# Adding some arg to a parser so its easy to manage | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-src', '--source', dest='video_source', type=int, default=0, help='Device index of the camera.') | |
parser.add_argument('-wd', '--width', dest='width', type=int, default=320, help='Width of the frames in the video stream.') | |
parser.add_argument('-ht', '--height', dest='height', type=int, default=360, help='Height of the frames in the video stream.') | |
args = parser.parse_args() |
OlderNewer