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 UIKit | |
import Flutter | |
import Firebase | |
import FirebaseMessaging | |
import MSAL | |
@UIApplicationMain | |
@objc class AppDelegate: FlutterAppDelegate { | |
var deviceToken = "" | |
var fcmToken = "" |
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.hfh.wellbe.smartwatch.utils.packageRemover | |
import android.content.Context | |
import com.hfh.wellbe.smartwatch.utils.isPackageInstalled | |
import com.hfh.wellbe.smartwatch.utils.launch | |
import com.hfh.wellbe.smartwatch.utils.tryTo | |
import com.hfh.wellbe.smartwatch.utils.uninstallPackage | |
object PackageRemover { |
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
// imgLib -> Image package from https://pub.dartlang.org/packages/image | |
import 'package:image/image.dart' as imglib; | |
import 'package:camera/camera.dart'; | |
Future<List<int>> convertImagetoPng(CameraImage image) async { | |
try { | |
imglib.Image img; | |
if (image.format.group == ImageFormatGroup.yuv420) { | |
img = _convertYUV420(image); | |
} else if (image.format.group == ImageFormatGroup.bgra8888) { |
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 'dart:async'; | |
import 'dart:convert'; | |
import 'dart:isolate'; | |
import 'dart:typed_data'; | |
import 'package:camera/camera.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:qundo/ffi/smart_capture.dart'; | |
import 'package:qundo/utilities/image_converter.dart'; |
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.hfh.wellbe.smartwatch.api.apiClient.retrofit.services | |
import com.hfh.wellbe.smartwatch.models.* | |
import okhttp3.ResponseBody | |
import retrofit2.Call | |
import retrofit2.http.* | |
interface ClientApiService { | |
companion 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
package com.hfh.wellbe.smartwatch.api.apiClient.retrofit.services | |
import com.hfh.wellbe.smartwatch.models.AssistantTextRequest | |
import com.hfh.wellbe.smartwatch.models.AssistantTextResponse | |
import retrofit2.Call | |
import retrofit2.http.Body | |
import retrofit2.http.POST | |
interface GenericUserApiService { | |
@POST("stt/text-request-limited") |
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.hfh.wellbe.smartwatch.api.apiClient.retrofit.services | |
import com.hfh.wellbe.smartwatch.models.OauthResult | |
import retrofit2.Call | |
import retrofit2.http.FieldMap | |
import retrofit2.http.FormUrlEncoded | |
import retrofit2.http.POST | |
interface OauthApiService { | |
@FormUrlEncoded |
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.hfh.wellbe.smartwatch.api.apiClient.retrofit.services | |
import com.hfh.wellbe.smartwatch.models.* | |
import com.hfh.wellbe.smartwatch.models.reminder.Reminder | |
import okhttp3.ResponseBody | |
import retrofit2.Call | |
import retrofit2.http.* | |
interface UserApiService { |
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
{ | |
"faceScan":"BAFFeM8zOOiDqW5P6mn/fHYAtlTYdutxZyLWZFqj5hY+chWGaMgQY/DWUVKEZcoaOmLRdMgabqQ4M8bWyLBBbnpzgOtv/Pn6u+EYIecyGSEDUnQZHZR5SejPN6kviYiayeMK2XgHtlvlHQAWH1I2BozSHrBDMTPAXBnQKYdlrKZix7W6tbMn3ErGEUYb+eH2UeGWL3UfDAmdy0G2Hty+3Mu1A5LxaGUVvuOnZDFFmsNLbUCcEWwuXkdWghxRim5/4KBLDWOpYzBtMBNlynzqIXff5mLu6agXoHoG2bfRCNxsudNfjJk8mbQH+AEMTH8gIvCPAowmwmqqtMDNzNL50Byx0JYBv0E/BzKeiECrNNOLnUmf8GPVf+2RGyEw+bdzlFosXxLm+LV+y38hWRU6c6M1KrdNvr7XoX79MybhErIHJvNLKAKBZ1pO/P0nBfMGe4vvnCRZ1Euc++24Vfxu7iMuh1OPaTHj2DTyM3w0cTRNggwAARn2+xq3/e5A54fEzb4m4IdB1RLR8TMouZbiShe1IzH3HOsWYtVnYJxnGzswgUBPhBqiginBmMzXfk5GE8uzFUnws5mVy11VOQtZG2QiJT1OSUQWwbG9s8YydLv4RD+neF1Ckmkk3Ztrp5mZtWGbk3FuUX09/rpzhJpFDikgsytJqkmTpPpqtEPyeiQUYn3mUVfhjJenVam8JZ/kGvPbEEXyK9m0qGSqBTVttgpHjsIa/p4sgRMlVQp234L4PyLGatKPrNyTRXoqN07WOkW8rNfx4SPocb0rtaUJ+wUXie/KdFnIgzC7PhISwOeFJ7VHsLkjyJx3vkNq8CZ6ZwcZ+g9AII2TzS3JIfuJbiI4q1yTyI8+beeWSP8dwPSM+5WQnSGXJPhui82GZTrL8y6EXir2EWs87e7G4SmRhPNwS+ubC2LVypSymwi/5u4ZxiajE9WUt88kQF2q8Up/EdTWWX8zPLWZ92NuosaGrLta0QP83mx75LuJPhAmuuIAjKS |
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
// | |
// smart_capture.cpp | |
// Runner | |
// | |
// Created by Kim Henneken on 28.04.21. | |
// | |
#include "smart_capture.hpp" | |
#include <opencv2/opencv.hpp> | |
#include <opencv2/imgproc/types_c.h> |