forked from PhotonVision/photonvision
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Load libquadmath on Windows (PhotonVision#1163) Nobody reads these, right? This probably won't make things worse. Surely. * Add RKNN / Object Detection Pipeline (PhotonVision#1144) Tested on Orange Pi 5 and Cool Pi 4B. Merge with parts of the OpenCV DNN PR. Adds support for YOLOv5s models for Rockchip CPUs with a NPU. Right now hard coded to a note model from alex_idk. Very much still incubating and largely untested. * Add LL3 image from photon-image-modifier (PhotonVision#1166) * LL3 * Update build.yml * Fix total ram reporting (PhotonVision#1161) * formatting * spotless * unpacked file * update readme * formatting of rknn-readme --------- Co-authored-by: Matt <[email protected]> Co-authored-by: Mohammad Durrani <[email protected]> Co-authored-by: Programmers3539 <[email protected]> Co-authored-by: Ryan Blue <[email protected]>
- Loading branch information
1 parent
13537a7
commit 6b4f106
Showing
48 changed files
with
835 additions
and
94 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ modifiableFileExclude { | |
\.dll$ | ||
\.webp$ | ||
\.ico$ | ||
\.rknn$ | ||
gradlew | ||
} | ||
|
||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
35 changes: 35 additions & 0 deletions
35
photon-client/src/components/dashboard/tabs/ObjectDetectionTab.vue
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script setup lang="ts"> | ||
import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore"; | ||
import { PipelineType } from "@/types/PipelineTypes"; | ||
import PvSlider from "@/components/common/pv-slider.vue"; | ||
import { computed, getCurrentInstance } from "vue"; | ||
import { useStateStore } from "@/stores/StateStore"; | ||
// TODO fix pipeline typing in order to fix this, the store settings call should be able to infer that only valid pipeline type settings are exposed based on pre-checks for the entire config section | ||
// Defer reference to store access method | ||
const currentPipelineSettings = useCameraSettingsStore().currentPipelineSettings; | ||
const interactiveCols = computed( | ||
() => | ||
(getCurrentInstance()?.proxy.$vuetify.breakpoint.mdAndDown || false) && | ||
(!useStateStore().sidebarFolded || useCameraSettingsStore().isDriverMode) | ||
) | ||
? 9 | ||
: 8; | ||
</script> | ||
|
||
<template> | ||
<div v-if="currentPipelineSettings.pipelineType === PipelineType.ObjectDetection"> | ||
<pv-slider | ||
v-model="currentPipelineSettings.confidence" | ||
class="pt-2" | ||
:slider-cols="interactiveCols" | ||
label="Confidence" | ||
tooltip="The minimum confidence for a detection to be considered valid. Bigger numbers mean fewer but more probable detections are allowed through." | ||
:min="0" | ||
:max="1" | ||
:step="0.01" | ||
@input="(value) => useCameraSettingsStore().changeCurrentPipelineSetting({ confidence: value }, false)" | ||
/> | ||
</div> | ||
</template> |
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
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
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
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
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
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
Oops, something went wrong.