summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-30 14:21:01 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-30 14:21:01 +0300
commitc2aaf2e6e7e70f21f590fbd87320c75dac8aad8f (patch)
tree862a6a7704b7c0818c9ed03bf218763a8cd18416
parentb0e746c705f84d8680b5f74d0fcfb86e94250426 (diff)
new pipeline
-rw-r--r--assets/labels.txt (renamed from assets/yolov2_tiny.txt)14
-rw-r--r--assets/mobilenet_v1_1.0_224.tflitebin16900960 -> 0 bytes
-rw-r--r--assets/mobilenet_v1_1.0_224.txt1001
-rw-r--r--assets/yolov2_tiny.tflitebin44927136 -> 0 bytes
-rw-r--r--assets/yolov5n.tflitebin0 -> 6629120 bytes
-rw-r--r--assets/yolov8n-seg.tflitebin0 -> 6955465 bytes
-rw-r--r--lib/main.dart14
-rw-r--r--pubspec.lock202
-rw-r--r--pubspec.yaml6
9 files changed, 40 insertions, 1197 deletions
diff --git a/assets/yolov2_tiny.txt b/assets/labels.txt
index ca76c80..1f42c8e 100644
--- a/assets/yolov2_tiny.txt
+++ b/assets/labels.txt
@@ -1,8 +1,8 @@
person
bicycle
car
-motorbike
-aeroplane
+motorcycle
+airplane
bus
train
truck
@@ -55,12 +55,12 @@ pizza
donut
cake
chair
-sofa
-pottedplant
+couch
+potted plant
bed
-diningtable
+dining table
toilet
-tvmonitor
+tv
laptop
mouse
remote
@@ -77,4 +77,4 @@ vase
scissors
teddy bear
hair drier
-toothbrush
+toothbrush \ No newline at end of file
diff --git a/assets/mobilenet_v1_1.0_224.tflite b/assets/mobilenet_v1_1.0_224.tflite
deleted file mode 100644
index d34691e..0000000
--- a/assets/mobilenet_v1_1.0_224.tflite
+++ /dev/null
Binary files differ
diff --git a/assets/mobilenet_v1_1.0_224.txt b/assets/mobilenet_v1_1.0_224.txt
deleted file mode 100644
index fe81123..0000000
--- a/assets/mobilenet_v1_1.0_224.txt
+++ /dev/null
@@ -1,1001 +0,0 @@
-background
-tench
-goldfish
-great white shark
-tiger shark
-hammerhead
-electric ray
-stingray
-cock
-hen
-ostrich
-brambling
-goldfinch
-house finch
-junco
-indigo bunting
-robin
-bulbul
-jay
-magpie
-chickadee
-water ouzel
-kite
-bald eagle
-vulture
-great grey owl
-European fire salamander
-common newt
-eft
-spotted salamander
-axolotl
-bullfrog
-tree frog
-tailed frog
-loggerhead
-leatherback turtle
-mud turtle
-terrapin
-box turtle
-banded gecko
-common iguana
-American chameleon
-whiptail
-agama
-frilled lizard
-alligator lizard
-Gila monster
-green lizard
-African chameleon
-Komodo dragon
-African crocodile
-American alligator
-triceratops
-thunder snake
-ringneck snake
-hognose snake
-green snake
-king snake
-garter snake
-water snake
-vine snake
-night snake
-boa constrictor
-rock python
-Indian cobra
-green mamba
-sea snake
-horned viper
-diamondback
-sidewinder
-trilobite
-harvestman
-scorpion
-black and gold garden spider
-barn spider
-garden spider
-black widow
-tarantula
-wolf spider
-tick
-centipede
-black grouse
-ptarmigan
-ruffed grouse
-prairie chicken
-peacock
-quail
-partridge
-African grey
-macaw
-sulphur-crested cockatoo
-lorikeet
-coucal
-bee eater
-hornbill
-hummingbird
-jacamar
-toucan
-drake
-red-breasted merganser
-goose
-black swan
-tusker
-echidna
-platypus
-wallaby
-koala
-wombat
-jellyfish
-sea anemone
-brain coral
-flatworm
-nematode
-conch
-snail
-slug
-sea slug
-chiton
-chambered nautilus
-Dungeness crab
-rock crab
-fiddler crab
-king crab
-American lobster
-spiny lobster
-crayfish
-hermit crab
-isopod
-white stork
-black stork
-spoonbill
-flamingo
-little blue heron
-American egret
-bittern
-crane
-limpkin
-European gallinule
-American coot
-bustard
-ruddy turnstone
-red-backed sandpiper
-redshank
-dowitcher
-oystercatcher
-pelican
-king penguin
-albatross
-grey whale
-killer whale
-dugong
-sea lion
-Chihuahua
-Japanese spaniel
-Maltese dog
-Pekinese
-Shih-Tzu
-Blenheim spaniel
-papillon
-toy terrier
-Rhodesian ridgeback
-Afghan hound
-basset
-beagle
-bloodhound
-bluetick
-black-and-tan coonhound
-Walker hound
-English foxhound
-redbone
-borzoi
-Irish wolfhound
-Italian greyhound
-whippet
-Ibizan hound
-Norwegian elkhound
-otterhound
-Saluki
-Scottish deerhound
-Weimaraner
-Staffordshire bullterrier
-American Staffordshire terrier
-Bedlington terrier
-Border terrier
-Kerry blue terrier
-Irish terrier
-Norfolk terrier
-Norwich terrier
-Yorkshire terrier
-wire-haired fox terrier
-Lakeland terrier
-Sealyham terrier
-Airedale
-cairn
-Australian terrier
-Dandie Dinmont
-Boston bull
-miniature schnauzer
-giant schnauzer
-standard schnauzer
-Scotch terrier
-Tibetan terrier
-silky terrier
-soft-coated wheaten terrier
-West Highland white terrier
-Lhasa
-flat-coated retriever
-curly-coated retriever
-golden retriever
-Labrador retriever
-Chesapeake Bay retriever
-German short-haired pointer
-vizsla
-English setter
-Irish setter
-Gordon setter
-Brittany spaniel
-clumber
-English springer
-Welsh springer spaniel
-cocker spaniel
-Sussex spaniel
-Irish water spaniel
-kuvasz
-schipperke
-groenendael
-malinois
-briard
-kelpie
-komondor
-Old English sheepdog
-Shetland sheepdog
-collie
-Border collie
-Bouvier des Flandres
-Rottweiler
-German shepherd
-Doberman
-miniature pinscher
-Greater Swiss Mountain dog
-Bernese mountain dog
-Appenzeller
-EntleBucher
-boxer
-bull mastiff
-Tibetan mastiff
-French bulldog
-Great Dane
-Saint Bernard
-Eskimo dog
-malamute
-Siberian husky
-dalmatian
-affenpinscher
-basenji
-pug
-Leonberg
-Newfoundland
-Great Pyrenees
-Samoyed
-Pomeranian
-chow
-keeshond
-Brabancon griffon
-Pembroke
-Cardigan
-toy poodle
-miniature poodle
-standard poodle
-Mexican hairless
-timber wolf
-white wolf
-red wolf
-coyote
-dingo
-dhole
-African hunting dog
-hyena
-red fox
-kit fox
-Arctic fox
-grey fox
-tabby
-tiger cat
-Persian cat
-Siamese cat
-Egyptian cat
-cougar
-lynx
-leopard
-snow leopard
-jaguar
-lion
-tiger
-cheetah
-brown bear
-American black bear
-ice bear
-sloth bear
-mongoose
-meerkat
-tiger beetle
-ladybug
-ground beetle
-long-horned beetle
-leaf beetle
-dung beetle
-rhinoceros beetle
-weevil
-fly
-bee
-ant
-grasshopper
-cricket
-walking stick
-cockroach
-mantis
-cicada
-leafhopper
-lacewing
-dragonfly
-damselfly
-admiral
-ringlet
-monarch
-cabbage butterfly
-sulphur butterfly
-lycaenid
-starfish
-sea urchin
-sea cucumber
-wood rabbit
-hare
-Angora
-hamster
-porcupine
-fox squirrel
-marmot
-beaver
-guinea pig
-sorrel
-zebra
-hog
-wild boar
-warthog
-hippopotamus
-ox
-water buffalo
-bison
-ram
-bighorn
-ibex
-hartebeest
-impala
-gazelle
-Arabian camel
-llama
-weasel
-mink
-polecat
-black-footed ferret
-otter
-skunk
-badger
-armadillo
-three-toed sloth
-orangutan
-gorilla
-chimpanzee
-gibbon
-siamang
-guenon
-patas
-baboon
-macaque
-langur
-colobus
-proboscis monkey
-marmoset
-capuchin
-howler monkey
-titi
-spider monkey
-squirrel monkey
-Madagascar cat
-indri
-Indian elephant
-African elephant
-lesser panda
-giant panda
-barracouta
-eel
-coho
-rock beauty
-anemone fish
-sturgeon
-gar
-lionfish
-puffer
-abacus
-abaya
-academic gown
-accordion
-acoustic guitar
-aircraft carrier
-airliner
-airship
-altar
-ambulance
-amphibian
-analog clock
-apiary
-apron
-ashcan
-assault rifle
-backpack
-bakery
-balance beam
-balloon
-ballpoint
-Band Aid
-banjo
-bannister
-barbell
-barber chair
-barbershop
-barn
-barometer
-barrel
-barrow
-baseball
-basketball
-bassinet
-bassoon
-bathing cap
-bath towel
-bathtub
-beach wagon
-beacon
-beaker
-bearskin
-beer bottle
-beer glass
-bell cote
-bib
-bicycle-built-for-two
-bikini
-binder
-binoculars
-birdhouse
-boathouse
-bobsled
-bolo tie
-bonnet
-bookcase
-bookshop
-bottlecap
-bow
-bow tie
-brass
-brassiere
-breakwater
-breastplate
-broom
-bucket
-buckle
-bulletproof vest
-bullet train
-butcher shop
-cab
-caldron
-candle
-cannon
-canoe
-can opener
-cardigan
-car mirror
-carousel
-carpenter's kit
-carton
-car wheel
-cash machine
-cassette
-cassette player
-castle
-catamaran
-CD player
-cello
-cellular telephone
-chain
-chainlink fence
-chain mail
-chain saw
-chest
-chiffonier
-chime
-china cabinet
-Christmas stocking
-church
-cinema
-cleaver
-cliff dwelling
-cloak
-clog
-cocktail shaker
-coffee mug
-coffeepot
-coil
-combination lock
-computer keyboard
-confectionery
-container ship
-convertible
-corkscrew
-cornet
-cowboy boot
-cowboy hat
-cradle
-crane
-crash helmet
-crate
-crib
-Crock Pot
-croquet ball
-crutch
-cuirass
-dam
-desk
-desktop computer
-dial telephone
-diaper
-digital clock
-digital watch
-dining table
-dishrag
-dishwasher
-disk brake
-dock
-dogsled
-dome
-doormat
-drilling platform
-drum
-drumstick
-dumbbell
-Dutch oven
-electric fan
-electric guitar
-electric locomotive
-entertainment center
-envelope
-espresso maker
-face powder
-feather boa
-file
-fireboat
-fire engine
-fire screen
-flagpole
-flute
-folding chair
-football helmet
-forklift
-fountain
-fountain pen
-four-poster
-freight car
-French horn
-frying pan
-fur coat
-garbage truck
-gasmask
-gas pump
-goblet
-go-kart
-golf ball
-golfcart
-gondola
-gong
-gown
-grand piano
-greenhouse
-grille
-grocery store
-guillotine
-hair slide
-hair spray
-half track
-hammer
-hamper
-hand blower
-hand-held computer
-handkerchief
-hard disc
-harmonica
-harp
-harvester
-hatchet
-holster
-home theater
-honeycomb
-hook
-hoopskirt
-horizontal bar
-horse cart
-hourglass
-iPod
-iron
-jack-o'-lantern
-jean
-jeep
-jersey
-jigsaw puzzle
-jinrikisha
-joystick
-kimono
-knee pad
-knot
-lab coat
-ladle
-lampshade
-laptop
-lawn mower
-lens cap
-letter opener
-library
-lifeboat
-lighter
-limousine
-liner
-lipstick
-Loafer
-lotion
-loudspeaker
-loupe
-lumbermill
-magnetic compass
-mailbag
-mailbox
-maillot
-maillot
-manhole cover
-maraca
-marimba
-mask
-matchstick
-maypole
-maze
-measuring cup
-medicine chest
-megalith
-microphone
-microwave
-military uniform
-milk can
-minibus
-miniskirt
-minivan
-missile
-mitten
-mixing bowl
-mobile home
-Model T
-modem
-monastery
-monitor
-moped
-mortar
-mortarboard
-mosque
-mosquito net
-motor scooter
-mountain bike
-mountain tent
-mouse
-mousetrap
-moving van
-muzzle
-nail
-neck brace
-necklace
-nipple
-notebook
-obelisk
-oboe
-ocarina
-odometer
-oil filter
-organ
-oscilloscope
-overskirt
-oxcart
-oxygen mask
-packet
-paddle
-paddlewheel
-padlock
-paintbrush
-pajama
-palace
-panpipe
-paper towel
-parachute
-parallel bars
-park bench
-parking meter
-passenger car
-patio
-pay-phone
-pedestal
-pencil box
-pencil sharpener
-perfume
-Petri dish
-photocopier
-pick
-pickelhaube
-picket fence
-pickup
-pier
-piggy bank
-pill bottle
-pillow
-ping-pong ball
-pinwheel
-pirate
-pitcher
-plane
-planetarium
-plastic bag
-plate rack
-plow
-plunger
-Polaroid camera
-pole
-police van
-poncho
-pool table
-pop bottle
-pot
-potter's wheel
-power drill
-prayer rug
-printer
-prison
-projectile
-projector
-puck
-punching bag
-purse
-quill
-quilt
-racer
-racket
-radiator
-radio
-radio telescope
-rain barrel
-recreational vehicle
-reel
-reflex camera
-refrigerator
-remote control
-restaurant
-revolver
-rifle
-rocking chair
-rotisserie
-rubber eraser
-rugby ball
-rule
-running shoe
-safe
-safety pin
-saltshaker
-sandal
-sarong
-sax
-scabbard
-scale
-school bus
-schooner
-scoreboard
-screen
-screw
-screwdriver
-seat belt
-sewing machine
-shield
-shoe shop
-shoji
-shopping basket
-shopping cart
-shovel
-shower cap
-shower curtain
-ski
-ski mask
-sleeping bag
-slide rule
-sliding door
-slot
-snorkel
-snowmobile
-snowplow
-soap dispenser
-soccer ball
-sock
-solar dish
-sombrero
-soup bowl
-space bar
-space heater
-space shuttle
-spatula
-speedboat
-spider web
-spindle
-sports car
-spotlight
-stage
-steam locomotive
-steel arch bridge
-steel drum
-stethoscope
-stole
-stone wall
-stopwatch
-stove
-strainer
-streetcar
-stretcher
-studio couch
-stupa
-submarine
-suit
-sundial
-sunglass
-sunglasses
-sunscreen
-suspension bridge
-swab
-sweatshirt
-swimming trunks
-swing
-switch
-syringe
-table lamp
-tank
-tape player
-teapot
-teddy
-television
-tennis ball
-thatch
-theater curtain
-thimble
-thresher
-throne
-tile roof
-toaster
-tobacco shop
-toilet seat
-torch
-totem pole
-tow truck
-toyshop
-tractor
-trailer truck
-tray
-trench coat
-tricycle
-trimaran
-tripod
-triumphal arch
-trolleybus
-trombone
-tub
-turnstile
-typewriter keyboard
-umbrella
-unicycle
-upright
-vacuum
-vase
-vault
-velvet
-vending machine
-vestment
-viaduct
-violin
-volleyball
-waffle iron
-wall clock
-wallet
-wardrobe
-warplane
-washbasin
-washer
-water bottle
-water jug
-water tower
-whiskey jug
-whistle
-wig
-window screen
-window shade
-Windsor tie
-wine bottle
-wing
-wok
-wooden spoon
-wool
-worm fence
-wreck
-yawl
-yurt
-web site
-comic book
-crossword puzzle
-street sign
-traffic light
-book jacket
-menu
-plate
-guacamole
-consomme
-hot pot
-trifle
-ice cream
-ice lolly
-French loaf
-bagel
-pretzel
-cheeseburger
-hotdog
-mashed potato
-head cabbage
-broccoli
-cauliflower
-zucchini
-spaghetti squash
-acorn squash
-butternut squash
-cucumber
-artichoke
-bell pepper
-cardoon
-mushroom
-Granny Smith
-strawberry
-orange
-lemon
-fig
-pineapple
-banana
-jackfruit
-custard apple
-pomegranate
-hay
-carbonara
-chocolate sauce
-dough
-meat loaf
-pizza
-potpie
-burrito
-red wine
-espresso
-cup
-eggnog
-alp
-bubble
-cliff
-coral reef
-geyser
-lakeside
-promontory
-sandbar
-seashore
-valley
-volcano
-ballplayer
-groom
-scuba diver
-rapeseed
-daisy
-yellow lady's slipper
-corn
-acorn
-hip
-buckeye
-coral fungus
-agaric
-gyromitra
-stinkhorn
-earthstar
-hen-of-the-woods
-bolete
-ear
-toilet tissue
diff --git a/assets/yolov2_tiny.tflite b/assets/yolov2_tiny.tflite
deleted file mode 100644
index cda34b4..0000000
--- a/assets/yolov2_tiny.tflite
+++ /dev/null
Binary files differ
diff --git a/assets/yolov5n.tflite b/assets/yolov5n.tflite
new file mode 100644
index 0000000..0ccf9e4
--- /dev/null
+++ b/assets/yolov5n.tflite
Binary files differ
diff --git a/assets/yolov8n-seg.tflite b/assets/yolov8n-seg.tflite
new file mode 100644
index 0000000..9f089da
--- /dev/null
+++ b/assets/yolov8n-seg.tflite
Binary files differ
diff --git a/lib/main.dart b/lib/main.dart
index 2770611..b59e921 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -1,12 +1,17 @@
import 'package:camera/camera.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart';
-import 'package:google_mlkit_object_detection/google_mlkit_object_detection.dart';
-import 'package:flutter_tflite/flutter_tflite.dart';
+// import 'package:google_mlkit_object_detection/google_mlkit_object_detection.dart';
+// import 'package:flutter_tflite/flutter_tflite.dart';
+import 'package:flutter_speed_dial/flutter_speed_dial.dart';
import 'package:flutter_tts/flutter_tts.dart';
+import 'package:flutter_vision/flutter_vision.dart';
+import 'package:image_picker/image_picker.dart';
import 'package:yolo/result_screen.dart';
import 'package:flutter/material.dart';
+import 'dart:typed_data';
+import 'dart:async';
import 'dart:io';
void main() {
@@ -43,6 +48,8 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
late final Future<void> _future;
CameraController? _cameraController;
+ late FlutterVision vision;
+
final textRecognizer = TextRecognizer();
FlutterTts flutterTts = FlutterTts(); // TTS
@@ -50,6 +57,8 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
@override
void initState() {
super.initState();
+
+ vision = FlutterVision(); // YOLO
initTTS(); // TTS
WidgetsBinding.instance.addObserver(this);
@@ -80,6 +89,7 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
_stopCamera();
textRecognizer.close();
flutterTts.stop(); // TTS Stop
+ vision.closeYoloModel(); // YOLO Stop
super.dispose();
}
diff --git a/pubspec.lock b/pubspec.lock
index 46fabca..44e4a22 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -222,43 +222,19 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.16"
- flutter_sound:
+ flutter_speed_dial:
dependency: "direct main"
description:
- name: flutter_sound
- sha256: "090a4694b11ecc744c2010621c4ffc5fe7c3079d304ea014961a72c7b72cfe6c"
+ name: flutter_speed_dial
+ sha256: "698a037274a66dbae8697c265440e6acb6ab6cae9ac5f95c749e7944d8f28d41"
url: "https://pub.dev"
source: hosted
- version: "9.2.13"
- flutter_sound_platform_interface:
- dependency: transitive
- description:
- name: flutter_sound_platform_interface
- sha256: "4537eaeb58a32748c42b621ad6116f7f4c6ee0a8d6ffaa501b165fe1c9df4753"
- url: "https://pub.dev"
- source: hosted
- version: "9.2.13"
- flutter_sound_web:
- dependency: transitive
- description:
- name: flutter_sound_web
- sha256: ad4ca92671a1879e1f613e900bbbdb8170b20d57d1e4e6363018fe56b055594f
- url: "https://pub.dev"
- source: hosted
- version: "9.2.13"
+ version: "7.0.0"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
- flutter_tflite:
- dependency: "direct main"
- description:
- name: flutter_tflite
- sha256: "0d6b622af0fe90d92bd4d9bd28b98c3b213217f36ccb7b444d7104a742b03363"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.1"
flutter_tts:
dependency: "direct main"
description:
@@ -267,27 +243,19 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.8.2"
- flutter_web_plugins:
- dependency: transitive
- description: flutter
- source: sdk
- version: "0.0.0"
- google_ml_kit:
+ flutter_vision:
dependency: "direct main"
description:
- name: google_ml_kit
- sha256: "9d98ed5ff96c1295d08f96c807a70d53b56a43a7a18ae86d4ea4d09cf7310fc9"
+ name: flutter_vision
+ sha256: ef1765d992ce39998c25a9d4e2eae7c8e5c4d3fc1f31742a829476fd6758ba6f
url: "https://pub.dev"
source: hosted
- version: "0.16.2"
- google_mlkit_barcode_scanning:
+ version: "1.1.4"
+ flutter_web_plugins:
dependency: transitive
- description:
- name: google_mlkit_barcode_scanning
- sha256: "033401bc992315fe3d6ed9265b97bf1e620fa12ddaffda830107d6852abcde77"
- url: "https://pub.dev"
- source: hosted
- version: "0.9.0"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
google_mlkit_commons:
dependency: transitive
description:
@@ -296,86 +264,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.5.0"
- google_mlkit_digital_ink_recognition:
- dependency: transitive
- description:
- name: google_mlkit_digital_ink_recognition
- sha256: f48a90cd2bb8dc6a0432a1ba89a1a488d4e7ba3132fe4dfd75a9eab0e0a1b90a
- url: "https://pub.dev"
- source: hosted
- version: "0.9.0"
- google_mlkit_entity_extraction:
- dependency: transitive
- description:
- name: google_mlkit_entity_extraction
- sha256: e4801253f9913a84793f338fb45923825fc2799f8608a1f0d0f5ca43b5062fbc
- url: "https://pub.dev"
- source: hosted
- version: "0.10.0"
- google_mlkit_face_detection:
- dependency: transitive
- description:
- name: google_mlkit_face_detection
- sha256: "567339c67530b22b22917622df9bba40547a4719fa108819901f95ffb7cd3399"
- url: "https://pub.dev"
- source: hosted
- version: "0.8.0"
- google_mlkit_face_mesh_detection:
- dependency: transitive
- description:
- name: google_mlkit_face_mesh_detection
- sha256: "3f64635fe096fef3167da6f69a30b1744ddfb4590acdaa2b7757c6f30455b0f5"
- url: "https://pub.dev"
- source: hosted
- version: "0.0.1"
- google_mlkit_image_labeling:
- dependency: transitive
- description:
- name: google_mlkit_image_labeling
- sha256: "38c7225e22ec558bfd78015ef9e9ae4812cee8715f03a9c82b87d3e0b530d00c"
- url: "https://pub.dev"
- source: hosted
- version: "0.9.0"
- google_mlkit_language_id:
- dependency: transitive
- description:
- name: google_mlkit_language_id
- sha256: cb4241297552f22be638be620add294b6a6c9043eefc1f4c18597ee66ce31a98
- url: "https://pub.dev"
- source: hosted
- version: "0.8.0"
- google_mlkit_object_detection:
- dependency: "direct main"
- description:
- name: google_mlkit_object_detection
- sha256: "52b11c335cbf45da561127de586e1ab32ba5526eb04d7a3a683c787279a47153"
- url: "https://pub.dev"
- source: hosted
- version: "0.10.0"
- google_mlkit_pose_detection:
- dependency: transitive
- description:
- name: google_mlkit_pose_detection
- sha256: "08759fc095751cf84f6758f276212881388e04210c64087341e260f9f233316e"
- url: "https://pub.dev"
- source: hosted
- version: "0.9.0"
- google_mlkit_selfie_segmentation:
- dependency: transitive
- description:
- name: google_mlkit_selfie_segmentation
- sha256: "5b2931f86e9476daaf5710f9e0d281ec06f7d0ee664a3688b791bfcfb7c4afd5"
- url: "https://pub.dev"
- source: hosted
- version: "0.5.0"
- google_mlkit_smart_reply:
- dependency: transitive
- description:
- name: google_mlkit_smart_reply
- sha256: "97165ea8667aa94de20d782862ecd791daf0e884c48b8cb1cedd9ebafda5d52c"
- url: "https://pub.dev"
- source: hosted
- version: "0.8.0"
google_mlkit_text_recognition:
dependency: "direct main"
description:
@@ -384,14 +272,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.10.0"
- google_mlkit_translation:
- dependency: transitive
- description:
- name: google_mlkit_translation
- sha256: "175a0cb801b5fa01140f62344bbda6a8dcbb7977ae057f1dab1b74eddc60d71c"
- url: "https://pub.dev"
- source: hosted
- version: "0.8.0"
http:
dependency: transitive
description:
@@ -417,13 +297,13 @@ packages:
source: hosted
version: "3.3.0"
image_picker:
- dependency: transitive
+ dependency: "direct main"
description:
name: image_picker
- sha256: b6951e25b795d053a6ba03af5f710069c99349de9341af95155d52665cb4607c
+ sha256: "7d7f2768df2a8b0a3cefa5ef4f84636121987d403130e70b17ef7e2cf650ba84"
url: "https://pub.dev"
source: hosted
- version: "0.8.9"
+ version: "1.0.4"
image_picker_android:
dependency: transitive
description:
@@ -436,10 +316,10 @@ packages:
dependency: transitive
description:
name: image_picker_for_web
- sha256: "869fe8a64771b7afbc99fc433a5f7be2fea4d1cb3d7c11a48b6b579eb9c797f0"
+ sha256: "50bc9ae6a77eea3a8b11af5eb6c661eeb858fdd2f734c2a4fd17086922347ef7"
url: "https://pub.dev"
source: hosted
- version: "2.2.0"
+ version: "3.0.1"
image_picker_ios:
dependency: transitive
description:
@@ -504,14 +384,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.1"
- logger:
- dependency: transitive
- description:
- name: logger
- sha256: "7ad7215c15420a102ec687bb320a7312afd449bac63bfb1c60d9787c27b9767f"
- url: "https://pub.dev"
- source: hosted
- version: "1.4.0"
matcher:
dependency: transitive
description:
@@ -544,14 +416,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.4"
- nested:
- dependency: transitive
- description:
- name: nested
- sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.0"
path:
dependency: transitive
description:
@@ -680,14 +544,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.7.3"
- provider:
- dependency: transitive
- description:
- name: provider
- sha256: cdbe7530b12ecd9eb455bdaa2fcb8d4dad22e80b8afb4798b41479d5ce26847f
- url: "https://pub.dev"
- source: hosted
- version: "6.0.5"
quiver:
dependency: transitive
description:
@@ -696,14 +552,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.2.1"
- recase:
- dependency: transitive
- description:
- name: recase
- sha256: e4eb4ec2dcdee52dcf99cb4ceabaffc631d7424ee55e56f280bc039737f89213
- url: "https://pub.dev"
- source: hosted
- version: "4.1.0"
sky_engine:
dependency: transitive
description: flutter
@@ -749,14 +597,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.2.0"
- synchronized:
- dependency: transitive
- description:
- name: synchronized
- sha256: "5fcbd27688af6082f5abd611af56ee575342c30e87541d0245f7ff99faa02c60"
- url: "https://pub.dev"
- source: hosted
- version: "3.1.0"
term_glyph:
dependency: transitive
description:
@@ -781,14 +621,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.2"
- uuid:
- dependency: transitive
- description:
- name: uuid
- sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313"
- url: "https://pub.dev"
- source: hosted
- version: "3.0.7"
vector_math:
dependency: transitive
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 49e2170..f56c124 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -11,13 +11,15 @@ dependencies:
sdk: flutter
camera: ^0.10.5
- flutter_tflite: ^1.0.1
+ image_picker: ^1.0.4
+ flutter_speed_dial: ^7.0.0
+# flutter_tflite: ^1.0.1
flutter_vision: ^1.1.4
permission_handler: ^10.4.3
flutter_tts: ^3.8.2
google_mlkit_text_recognition: ^0.10.0
- google_mlkit_object_detection: ^0.10.0
+# google_mlkit_object_detection: ^0.10.0
# flutter_sound: ^9.2.13
# google_ml_kit: ^0.16.2