Service provider |
Parameters |
Kairos |
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
Microsoft | Amazon | Face++ | Kairos | Luxand | ||
---|---|---|---|---|---|---|
Usual | 80.99% | 99.79% | 94.44% | 79.47% | 99.94% | |
Hairdo+glasses | 56.88% | 95.88% | 88.17% | 62.72% | 6.06% | |
Glasses | 60.25% | 98.04% | 89.46% | 74.01% | 91.47% |
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
@Query("SELECT * FROM visitor WHERE img_path LIKE '%' || :id || '%' ") | |
suspend fun findByAmazonFaceId(id: String): Visitor |
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
@Query("SELECT * FROM visitor WHERE microsoft_id = :id") | |
suspend fun findByMicrosoftId(id: String): Visitor |
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
serviceProviders = ServiceFactory.createAIServices(this, FaceApp.values) |
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
override fun onCreate() { | |
super.onCreate() | |
MicrosoftServiceClient = FaceServiceRestClient(getString(R.string.microsoft_endpoint), BuildConfig.MICROSOFT_KEY) | |
} | |
companion object { | |
//Microsoft Azure Initialization | |
val microsoftServiceClient: FaceServiceClient? | |
get() = MicrosoftServiceClient | |
private var MicrosoftServiceClient: FaceServiceClient? = null |