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
### Keybase proof | |
I hereby claim: | |
* I am opedge on github. | |
* I am olgprsm (https://keybase.io/olgprsm) on keybase. | |
* I have a public key ASC6WyKWPMufriz3SM6vtN-ezXzePEqqlFeEF4NH0LSmkwo | |
To claim this, I am signing this object: |
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
test |
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
import Foundation | |
import UIKit | |
import CoreML | |
import Vision | |
// Quick and dirty example of how to fix Vision VNPixelBufferObservation BAD_ACCESS. | |
// Please handle errors in swift by yourself, this code sample intended only for demonstration. | |
// MLModel must have multiArray output and Image input. | |
// Before using this functions install CoreMLHelpers from https://github.com/hollance/CoreMLHelpers |
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
local model = torch.load(model_path).model |
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.opedge.android.andengine.modifier; | |
import android.util.FloatMath; | |
import org.anddev.andengine.entity.IEntity; | |
import org.anddev.andengine.entity.modifier.EntityModifier; | |
import org.anddev.andengine.entity.modifier.MoveModifier; | |
import org.anddev.andengine.entity.modifier.QuadraticBezierMoveModifier; | |
import org.anddev.andengine.util.modifier.IModifier; | |
import org.anddev.andengine.util.modifier.SequenceModifier; | |
import org.anddev.andengine.util.modifier.ease.IEaseFunction; |