package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "MyFaceModule",
  3. "id": "MyFaceModule",
  4. "version": "1.0.0",
  5. "description": "自研人脸识别 UniApp 原生插件:离线检测、特征提取、1:N 检索、CameraX 实时识别",
  6. "_dp_type": "nativeplugin",
  7. "_dp_nativeplugin": {
  8. "android": {
  9. "plugins": [
  10. {
  11. "type": "module",
  12. "name": "MyFaceModule",
  13. "class": "io.myface.uniplugin.MyFaceModule"
  14. },
  15. {
  16. "type": "component",
  17. "name": "my-face-camera",
  18. "class": "io.myface.uniplugin.MyFaceCameraComponent"
  19. }
  20. ],
  21. "hooksClass": "",
  22. "integrateType": "aar",
  23. "dependencies": [
  24. "androidx.appcompat:appcompat:1.6.1",
  25. "com.alibaba:fastjson:1.2.83",
  26. "androidx.camera:camera-core:1.3.0",
  27. "androidx.camera:camera-camera2:1.3.0",
  28. "androidx.camera:camera-lifecycle:1.3.0",
  29. "androidx.camera:camera-view:1.3.0",
  30. "com.google.mlkit:face-detection:16.1.7",
  31. "com.google.ai.edge.litert:litert:1.2.0",
  32. "com.github.bumptech.glide:glide:4.16.0"
  33. ],
  34. "compileOptions": {
  35. "sourceCompatibility": "1.8",
  36. "targetCompatibility": "1.8"
  37. },
  38. "abis": [
  39. "armeabi-v7a",
  40. "arm64-v8a"
  41. ],
  42. "minSdkVersion": "21",
  43. "permissions": [
  44. "<uses-permission android:name=\"android.permission.CAMERA\"/>"
  45. ],
  46. "parameters": {}
  47. }
  48. }
  49. }