Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 25 additions & 2 deletions apps/computer-vision/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,34 @@
"foregroundImage": "./assets/icons/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.anonymous.computervision"
"package": "com.anonymous.computervision",
"permissions": [
"CAMERA",
"READ_EXTERNAL_STORAGE",
"WRITE_EXTERNAL_STORAGE"
]
},
"web": {
"favicon": "./assets/icons/favicon.png"
},
"plugins": ["expo-font", "expo-router"]
"plugins": [
"expo-font",
"expo-router",
[
"react-native-vision-camera",
{
"cameraPermissionText": "$(PRODUCT_NAME) needs access to your Camera to classify objects in real-time.",
"enableMicrophonePermission": false
}
],
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 26
}
}
]
]
}
}
10 changes: 9 additions & 1 deletion apps/computer-vision/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function _layout() {
}}
>
<Drawer
drawerContent={(props) => (
drawerContent={(props: DrawerContentComponentProps) => (
<CustomDrawerContent {...props} isGenerating={isGenerating} />
)}
screenOptions={{
Expand Down Expand Up @@ -108,6 +108,14 @@ export default function _layout() {
headerTitleStyle: { color: ColorPalette.primary },
}}
/>
<Drawer.Screen
name="camera_object_detection/index"
options={{
drawerLabel: 'Object Detection (Live)',
title: 'Object Detection (Live)',
headerTitleStyle: { color: ColorPalette.primary },
}}
/>
<Drawer.Screen
name="index"
options={{
Expand Down
Loading
Loading