Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from tuarua/development
Browse files Browse the repository at this point in the history
1.1.0
  • Loading branch information
tuarua authored Apr 19, 2019
2 parents c0ef349 + 82a621b commit bdab71b
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 110 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.1.0
- Upgraded to AIR 32.0.0.116
- iOS/OSX/tvOS: Updated to FreSwift 3.1.0

### 1.0.0
- Updated to FreSwift 3.0.0
- Updated to AIR 32
Expand Down
4 changes: 2 additions & 2 deletions example-desktop/get_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

AneVersion="1.0.0"
FreSwiftVersion="3.0.0"
AneVersion="1.1.0"
FreSwiftVersion="3.1.0"

wget -O ../native_extension/ane/FreSwift.ane https://github.com/tuarua/Swift-IOS-ANE/releases/download/$FreSwiftVersion/FreSwift.ane?raw=true
wget -O ../native_extension/ane/MLANE.ane https://github.com/tuarua/ML-ANE/releases/download/$AneVersion/MLANE.ane?raw=true
4 changes: 2 additions & 2 deletions example-mobile/get_ios_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

AneVersion="1.0.0"
FreSwiftVersion="3.0.0"
AneVersion="1.1.0"
FreSwiftVersion="3.1.0"

rm -r ios_dependencies/device
rm -r ios_dependencies/simulator
Expand Down
4 changes: 2 additions & 2 deletions example-tvos/get_tvos_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

AneVersion="1.0.0"
FreSwiftVersion="3.0.0"
AneVersion="1.1.0"
FreSwiftVersion="3.1.0"

rm -r tvos_dependencies/device
rm -r tvos_dependencies/simulator
Expand Down
2 changes: 1 addition & 1 deletion native_extension/ane/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>com.tuarua.MLANE</id>
<name>Machine Learning ANE</name>
<copyright>This work is licensed under Apache License, Copyright (c) 2018 Tua Rua Ltd.</copyright>
<versionNumber>1.0.0</versionNumber>
<versionNumber>1.1.0</versionNumber>
<platforms>
<platform name="iPhone-ARM">
<applicationDeployment>
Expand Down
Binary file modified native_extension/bin/MLANE.swc
Binary file not shown.
100 changes: 0 additions & 100 deletions native_extension/src/com/tuarua/utils/GUID.as

This file was deleted.

2 changes: 1 addition & 1 deletion native_library/apple/MLANE/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/3.0.0/FreSwift.json" ~> 3.0.0
binary "https://github.com/tuarua/Swift-IOS-ANE/releases/download/3.1.0/FreSwift.json" ~> 3.1.0
2 changes: 1 addition & 1 deletion native_library/apple/MLANE/MLANE/CoreMlController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import AVFoundation
class CoreMlController: NSObject, FreSwiftController {
static var TAG: String = "CoreMlController"
var context: FreContextSwift!
internal var models: [String: MLModel] = [:]
internal var models = [String: MLModel]()
internal let userInitiatedQueue = DispatchQueue(label: "com.tuarua.mlane.userInitiatedQueue", qos: .userInitiated)
#if os(iOS)
internal lazy var captureSession = AVCaptureSession()
Expand Down
2 changes: 1 addition & 1 deletion native_library/apple/MLANE/MLANE/SwiftController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public class SwiftController: NSObject {
else {
return FreArgError(message: "inputFromCamera").getError(#file, #line, #column)
}
var mask: CGImage? = nil
var mask: CGImage?
if let freMask = argv[1] {
let asBitmapData = FreBitmapDataSwift(freObject: freMask)
defer {
Expand Down

0 comments on commit bdab71b

Please sign in to comment.