Stepwise implementation of Fruits Prediction Android App using Tensorflowlite|Teachable ML|Quantized

  Рет қаралды 58,487

Dinesh Raturi

Dinesh Raturi

Күн бұрын

Пікірлер
@AghaKhan9
@AghaKhan9 4 жыл бұрын
What a great video and precise explanation with demo. I needed that information and yu made it very easy for me. Thank you so much brother...
@dineshraturi
@dineshraturi 4 жыл бұрын
Glad u liked it :)
@akashde8919
@akashde8919 3 жыл бұрын
@@dineshraturi sir is python necessary for machine learning or we can do it on java
@dineshraturi
@dineshraturi 3 жыл бұрын
You can do it on any language. Math is necessary. But python and R provides lots of support library which you don’t need to write it manually. Thats they r most popular.
@akashde8919
@akashde8919 3 жыл бұрын
@@dineshraturi sir one more question I have learnt java at medium and now I m persuing to advance but if I learn python can I apply python program in android studio and how ? PLEASE reply🙏
@vigneshkumar6451
@vigneshkumar6451 4 жыл бұрын
Wowww nice content. You can start teaching data science from scratch.
@dineshraturi
@dineshraturi 4 жыл бұрын
Thanks. Yes that’s the plan. Stay tuned
@jasimchouhan4784
@jasimchouhan4784 4 жыл бұрын
Wow, before this I thought It is very hard to learn but you changed my perception. Please make more video on android+Nlp and ml
@dineshraturi
@dineshraturi 4 жыл бұрын
Thanks jasim.
@muhammadabdullahorakzai587
@muhammadabdullahorakzai587 4 жыл бұрын
great job kindly create more tutturials on this topic
@dineshraturi
@dineshraturi 4 жыл бұрын
Thank you ,Sure stay tuned.
@rinkur3880
@rinkur3880 4 жыл бұрын
Yes sir i also need more videos.
@sajaata2006
@sajaata2006 Жыл бұрын
How to add audio to read the result when the result appears?
@abineshrl204
@abineshrl204 4 жыл бұрын
Keep uploading content like this in English
@dineshraturi
@dineshraturi 4 жыл бұрын
Sure buddy. Stay tuned. Idea is to education for all.
@alizeshan872
@alizeshan872 3 жыл бұрын
if i want to only detect camera using custom model how can i do that ,...i have add multiple camera photo then trained them and add the model to my assets but it does detec t the camera i added earlier
@ikelloydyana4275
@ikelloydyana4275 2 жыл бұрын
Does tensorflow detects such as nudity, weaponry or any offensive images?
@sirireddy129
@sirireddy129 4 жыл бұрын
This is so precise and to point.. was very helpful, thank you !
@dineshraturi
@dineshraturi 4 жыл бұрын
Please share and subscribe. New end to end project is coming soon.
@hrizvi8687
@hrizvi8687 3 жыл бұрын
Hello, can you please send me the code to detect the disease in leave. I have a model but i didnt understand how to deploy in android studio
@dionrizqi
@dionrizqi 3 жыл бұрын
What algorithm did you use? Rcnn?
@dineshraturi
@dineshraturi 3 жыл бұрын
CNN - Resnet50 architecture
@jopadjr
@jopadjr Жыл бұрын
Great video. Are there any updates on this? Thanks
@dionrizqi
@dionrizqi 3 жыл бұрын
Brother, why are you not using box detector? Can you tell me how tow use the detector instead of using label?
@dineshraturi
@dineshraturi 3 жыл бұрын
Here is my tutorial- kzbin.info/www/bejne/jYW7eJyte7FogqM
@destinyjames6117
@destinyjames6117 4 жыл бұрын
Hi kind sir I cant find the "tflite" folder which contains "ClassifierFloatMobileNet.java" to edit the "protected String getModalPath()" as mentioned at 11:03 Even at tensorflow github link (github.com/tensorflow/examples/tree/master) I cant find the folder specified too This resulted in me using the model trained by them. Can sir please advise?
@awkamweng
@awkamweng 4 жыл бұрын
Any help on this ?
@awkamweng
@awkamweng 4 жыл бұрын
Found the code you can copy from this repo github.com/AndroidArena/CurrencyDetectorAndroid
@destinyjames6117
@destinyjames6117 4 жыл бұрын
@@awkamweng Yes, google updated the file arrangements in 2020 i think. Go to libsupport -> src -> main -> java -> org.tensorflow.... And boom you're in. Also, the model is not at the placed specified in the video, it is in models -> src -> main -> assets Just that for now I am facing accuracy issues, even though i have high accuracy at the google trainable machine website, anyone else facing this issue..? Example, I am training differentiation between hand gesture (good and bad), and it keeps showing bad for some reason.
@dineshraturi
@dineshraturi 4 жыл бұрын
Guys u can use my currency detector code from github link already mentioned above by weng.
@dineshraturi
@dineshraturi 4 жыл бұрын
For accuracy issue --> you have to hypertune some parameters and increase ur training data.
@ranniesumacot4576
@ranniesumacot4576 2 жыл бұрын
Thanks. Do you have an updated tutorial video? I seem cannot follow the steps since that there are folder that are missing in github (i.e. Assets Folder, tflite folder).
@dineshraturi
@dineshraturi 2 жыл бұрын
I need to make one, let me check
@srinivasachary7392
@srinivasachary7392 3 жыл бұрын
Superb. Dinesh
@pravindesai6687
@pravindesai6687 3 жыл бұрын
Hi dinesh , nice video explaination. The code ran successfully but classifier on mobile is not using the custom model but other default models . Can you explain why that might be the case?
@freelancedeveloper2591
@freelancedeveloper2591 4 жыл бұрын
I want to create a an app for blind people for counting money..so the app should be able to recognise each money note or coin and give a voice commands about the count ..how can i achieve this..
@dineshraturi
@dineshraturi 4 жыл бұрын
Its very easy brother. Likewise fruit classifier just make a note classifier model and upon successful predictions on App add a music file there in Android.
@arshassija
@arshassija 4 жыл бұрын
Thanks for awesome tutorial.
@syedshoaibabbas
@syedshoaibabbas 3 жыл бұрын
Sir ,when I build project t tflite pkg folder not created how we can do ??....
@dineshraturi
@dineshraturi 3 жыл бұрын
Goto my github and download currency detection projection. U will find all the files
@ex_09_vikrantneve55
@ex_09_vikrantneve55 3 жыл бұрын
There is no asset folder in my code. Will it work if i create manually
@dineshraturi
@dineshraturi 3 жыл бұрын
You can use my another code of currency detection from github.
@ex_09_vikrantneve55
@ex_09_vikrantneve55 3 жыл бұрын
@@dineshraturi use that but to use only two class what changes i have to do
@dineshraturi
@dineshraturi 3 жыл бұрын
Some intermittent issue is going on in teachable ml website. Hack - Make 3 categories and name it “others”
@ex_09_vikrantneve55
@ex_09_vikrantneve55 3 жыл бұрын
@@dineshraturi ok
@azamsayeed3644
@azamsayeed3644 4 жыл бұрын
Keep up the good work!!
@cryptostar1427
@cryptostar1427 3 жыл бұрын
Thank you man ! please make us more videos on these ! I still did not understand the part where the voice is there and speaks for the classified image
@chitrachitra1273
@chitrachitra1273 3 жыл бұрын
In my android studio , classifier float efficient net file is missing,what is the problem? And mistakes I had done....I don't know...help me
@dineshraturi
@dineshraturi 3 жыл бұрын
Hi Chitra, use this code github.com/AndroidArena/CurrencyDetectorAndroid change the lables.txt and model. Watch my currency detection video for code detail.
@chitrachitra1273
@chitrachitra1273 3 жыл бұрын
@@dineshraturi ok bro... thank you
@xl0pate0lx
@xl0pate0lx 4 жыл бұрын
How can I save the result in a variable? I would like to classify clothes with pictures and safe the result of the prediction in a variable.
@dineshraturi
@dineshraturi 4 жыл бұрын
Use shared preferences in android to store the data
@vinayreddy8683
@vinayreddy8683 4 жыл бұрын
Is it same procedure if we have developed our own model on Jupiter notebooks?
@dineshraturi
@dineshraturi 4 жыл бұрын
Yes. Make sure your final model is in quantised tflite Format. I will come up with the tutorial soon. Stay tuned. Plz do subscribe.
@vinayreddy8683
@vinayreddy8683 4 жыл бұрын
@@dineshraturi I rarely subscribe on KZbin and subscribed to your channel. Your content is amazing and more practical oriented. Waiting for the video!!
@dineshraturi
@dineshraturi 4 жыл бұрын
Thanks vinay means alot. Plan is to balance between theory + end to end practical implementation.
@hananmohmed4310
@hananmohmed4310 Жыл бұрын
i cant find assets folder what can i do plz?
@chinmayl444
@chinmayl444 3 жыл бұрын
quantized model is damaged, how to proceed?
@lasindadilshan7860
@lasindadilshan7860 4 жыл бұрын
i want to get description of the high probablity fruit. how i do it?
@dineshraturi
@dineshraturi 4 жыл бұрын
There is percentage showing there on the basis of that whatever has >50% prob. Show the description in the Textview or in the dialogbox from local strings.xml file or may br from sqlite database.
@rozhinrafiq9163
@rozhinrafiq9163 3 жыл бұрын
Hi why in downlod file zip in converted_tflite_quantized to foder? error
@dineshraturi
@dineshraturi 3 жыл бұрын
Error is from teachable website. Many people are getting it.
@shenglilim5485
@shenglilim5485 2 жыл бұрын
Hi Dinesh , I have to change the model to my model and replace to your model file. But was nothing happend and the percent not show when I detect something. Can you help me check something happend ?
@ParthPatel-gq5mg
@ParthPatel-gq5mg 4 жыл бұрын
Sir help me , I convert this code into Koltin but it's not work ,camera not open ,
@diyandassembling2907
@diyandassembling2907 3 жыл бұрын
Great work. Keep posting.
@mageduu
@mageduu 3 жыл бұрын
it wont show the tflite where the 2 classifier at. how to fix it??
@dineshraturi
@dineshraturi 3 жыл бұрын
This is know Issue. Even i m also not able to resolve this.
@rudreshsp3236
@rudreshsp3236 4 жыл бұрын
instead of importing project, u could have started new android project, that helps everyone a lot
@dineshraturi
@dineshraturi 4 жыл бұрын
Namesty Rudresh , sure , Yes its for absolute beginners. Next project i am preparing totally end to end. 👍 stay tuned and do subscribe to my channel it will help me to grow for sure.
@mishakhan7643
@mishakhan7643 4 жыл бұрын
BRO I M WORKING ON A FASHION APP, WHICH IS ABLE TO DETECT TYPE OF CLOTHES( TOP, TROUSER, SHOES ETC) BUT NEED TO PASS PIC TAKEN FROM CAMERA AND AFTER PREDICTION SAVED IN FOLDERS PLZZZ HELPPPP
@AsadKhan-js5le
@AsadKhan-js5le 4 жыл бұрын
Misha have you developed an android app ? i need help for app development
@trishantsaxenaco
@trishantsaxenaco 4 жыл бұрын
There's no tflite folder in my android folder. What should I do?
@dineshraturi
@dineshraturi 4 жыл бұрын
Namesty bhai , You have to manually create it. Do one thing search my another video in this playlist currency detection app. Use that code. It will work. You just need to replace your tflite model with mine.
@RiteshSingh-nv8cv
@RiteshSingh-nv8cv 3 жыл бұрын
you are correct , I have faced the same issue .The solution to this problem is you can download the source code of " currency detection app " from this link - " github.com/AndroidArena/CurrencyDetectorAndroid " and then just delete all file from " assets folder " then copy past your trained files i.e 1. labels.txt , 2. model.tflite , 3. model_unquant.tflite , over their then it will work .
@dineshraturi
@dineshraturi 3 жыл бұрын
Thanks bro. I have also updated my video description with this information. Stay tuned. Jald vapas aaunga 🆘 k baad. !!
@akmalyafi1470
@akmalyafi1470 2 жыл бұрын
Do i have to install java jdk in order to run this on android studio?
@dineshraturi
@dineshraturi 2 жыл бұрын
Yes. It will come along with android studio.
@AM-bk6te
@AM-bk6te 4 жыл бұрын
Sir I created this image classification app and it is running successfully. Sir can you please make a video on how to add the classified image's text to speech convertor? It will be a great help sir. I tried my best but not able to do it.
@dineshraturi
@dineshraturi 4 жыл бұрын
okay sure. I will make it soon within this week :)
@dineshraturi
@dineshraturi 4 жыл бұрын
Video is live - kzbin.info/www/bejne/qaang6hrf8-mbrc
@AsadKhan-js5le
@AsadKhan-js5le 4 жыл бұрын
Can you please provided source code for image classification using android app?
@dineshraturi
@dineshraturi 4 жыл бұрын
@@AsadKhan-js5le please watch this video for source code - kzbin.info/www/bejne/qaang6hrf8-mbrc
@pranaykumarpokala
@pranaykumarpokala 4 жыл бұрын
can you show us to create an app without USB connectivity? and also how to create a button to upload photos
@dineshraturi
@dineshraturi 4 жыл бұрын
USB connectivity is the base of Android dev. Everyone in the org. Follows the same. But yes through WIFI you can achieve the same. So you just need to goto mobile setting -> about -> click 10 times on build no. -->> you are a developer now. Now find Developer option and turn on USB debugging option thats it. You will be able to use usb now.
@dineshraturi
@dineshraturi 4 жыл бұрын
Also for button where you want to upload it ?
@mohammadridhopardomuan2486
@mohammadridhopardomuan2486 2 жыл бұрын
i cant find assests folder, help
@DeepakKumar-Dalsinghsarai
@DeepakKumar-Dalsinghsarai 4 жыл бұрын
Bro, I follow this tutorial step by step app run successfully, but don't recognize any materials.
@dineshraturi
@dineshraturi 4 жыл бұрын
Ok no worries. It means problem is with training. Try to train again and don’t forget to use correct model name. For floating and quantized.
@amuchand47
@amuchand47 4 жыл бұрын
@@dineshraturi I have trained it again , but nothing is showing there. Please do help me.
@DeepakKumar-Dalsinghsarai
@DeepakKumar-Dalsinghsarai 4 жыл бұрын
@@amuchand47 Change default Package Name & thank me later 👍
@mohitsesharatan
@mohitsesharatan 4 жыл бұрын
@@DeepakKumar-Dalsinghsarai Could you elaborate on changing default package name as I've been facing the same issue
@dineshraturi
@dineshraturi 4 жыл бұрын
Hi mohit follow this. - stackoverflow.com/questions/16804093/rename-package-in-android-studio
@imskumarj
@imskumarj 4 жыл бұрын
In my chrome, the quantized model of my project isn't downloading... Please help sir. After a long time of processing it responds with, 'Something Went Wrong While Converting...'
@dineshraturi
@dineshraturi 4 жыл бұрын
Yes, i have reported this issue at google. But they said clear your cache and do not change tabs. Also please check a proper internet connection. Try to change the browser also if possible.
@dineshraturi
@dineshraturi 4 жыл бұрын
Please consider subscribing to my channel if it helps you. :)
@rahulsh5237
@rahulsh5237 4 жыл бұрын
@@dineshraturi Same issue for me,after clearing cache also
@dineshraturi
@dineshraturi 4 жыл бұрын
@sudanshu @rahul Dineshraturi22@gmail.com send me ur dataset with 10-10-10 images. I will try at my end. And will send you the model.
@lofiworld5097
@lofiworld5097 3 жыл бұрын
Can you make an app using summarise model with redis cache...🙏🙏🙏
@shubhamcalla3929
@shubhamcalla3929 2 жыл бұрын
Can I get document and srs .?
@dikiwahyudi219
@dikiwahyudi219 3 жыл бұрын
I don't know what's missing, I replaced the teachable file, but when I run it, no data appears
@shambhaviverma1353
@shambhaviverma1353 2 жыл бұрын
wonderful explanation.Thanks
@justcats2184
@justcats2184 3 жыл бұрын
Thank u bro this is very informative video, keep the good work
@dineshraturi
@dineshraturi 3 жыл бұрын
Many thanks
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
How will i add unknown? For example the image i analyzed is not on my classes
@dineshraturi
@dineshraturi 4 жыл бұрын
Use if else dude :)
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
@@dineshraturi thank you ill try that. how about ill use a different model. NOT the model i made from teachable machine? will it work?
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
@@dineshraturi if ill use if else. which part of the code will i use it?
@ankitahegade7087
@ankitahegade7087 4 жыл бұрын
Sir I have downloaded the android folder but in that assets folder is not there?
@dineshraturi
@dineshraturi 4 жыл бұрын
You hv to manually create the assest folder. Or visit my second video currency note detector and use that code. You just need to replace the tflite file in that code.
@dineshraturi
@dineshraturi 4 жыл бұрын
Link - kzbin.info/www/bejne/qaang6hrf8-mbrc
@ankitahegade7087
@ankitahegade7087 4 жыл бұрын
@@dineshraturi sir after that I created it manually but then in android studio the tflite codes are not there
@dineshraturi
@dineshraturi 4 жыл бұрын
You have to manually put it there.
@dilkiabeysekera1830
@dilkiabeysekera1830 4 жыл бұрын
Sir, I have done everything in the video , but app getting close. what should I do
@dineshraturi
@dineshraturi 4 жыл бұрын
Can u plz share the android crash logs
@Lila12386
@Lila12386 4 жыл бұрын
Same her e . Have you fix that problem
@artsie6146
@artsie6146 4 жыл бұрын
my quantized folder keeps saying it's damaged or in an unknown format, any clue?
@Zeeshan_Ahmed5588
@Zeeshan_Ahmed5588 3 жыл бұрын
also facing this issue how you handle this ?
@abineshrl204
@abineshrl204 4 жыл бұрын
How much time its take to get trained...
@dineshraturi
@dineshraturi 4 жыл бұрын
Depending on your data size. As its a automated system so it is very quick. You can watch the whole video i have shown all the details there. Do let me know in case of any query.
@azullyaidris2074
@azullyaidris2074 3 жыл бұрын
hi, is it possible to remove the tensorflow logo in the application?
@heetpatel3997
@heetpatel3997 3 жыл бұрын
Hello Sir.. I've a problem while converting quantized model . i've tried for several times but got the same result
@dineshraturi
@dineshraturi 3 жыл бұрын
Yes issue is from teachable ml website. Keep trying.
@jayaraghavendra9025
@jayaraghavendra9025 4 жыл бұрын
hi Dinesh , i'm learning from your video but I didn't find assets folder in it?
@dineshraturi
@dineshraturi 4 жыл бұрын
Kindly find my second video of currency note detector in which i have mentioned the code. Use that one. Replace tflite accordingly.
@jayashankar6436
@jayashankar6436 4 жыл бұрын
hai sir expecting more from u.plz do upload more vedioes on object detection machine learning Ai ect...
@dineshraturi
@dineshraturi 4 жыл бұрын
Sure i am dedicated towards it. Just wait for few days. Let me migrate my goods back to my hometown 🤟🙏
@jayashankar6436
@jayashankar6436 4 жыл бұрын
@@dineshraturi yes sir we are waiting for u❤❤
@settaiwthsai
@settaiwthsai 3 жыл бұрын
Can you show the mobile part
@bernardolaborde5310
@bernardolaborde5310 3 жыл бұрын
I have been facing some issues with the audio your audio seems to work but when I try to put the one I created it doesnt any suggestions?
@dineshraturi
@dineshraturi 3 жыл бұрын
What is the extension of that audio file ?
@bernardolaborde5310
@bernardolaborde5310 3 жыл бұрын
@@dineshraturi Also while your project says this: "I/MediaPlayerNative: Pid:27408 MediaPlayer::start D/MediaPlayerNative: Action:start, CurrentState:MEDIA_PLAYER_STARTED" mine says this: "W/MediaPlayer-JNI: MediaPlayer finalized without being released "
@sujanpaul99
@sujanpaul99 3 жыл бұрын
can we do localization also with this method?
@dineshraturi
@dineshraturi 3 жыл бұрын
We call it object detection. Kindly watch my another video
@sujanpaul99
@sujanpaul99 3 жыл бұрын
@@dineshraturi can you make a video on custom object detection?
@dineshraturi
@dineshraturi 3 жыл бұрын
Yes.
@sujanpaul99
@sujanpaul99 3 жыл бұрын
@@dineshraturi ok..please make one. That'd be great 😇
@cellus5594
@cellus5594 3 жыл бұрын
can i do the training with my own model architecture? like using the VGG-16 convnet
@dineshraturi
@dineshraturi 3 жыл бұрын
Yes why not. After training convert them tflite with label.txt.
@dineshraturi
@dineshraturi 3 жыл бұрын
Very soon i am going to make project on same.
@cellus5594
@cellus5594 3 жыл бұрын
@@dineshraturi hey can I reach you through e-mail, if you got spare time? I got some questions
@dineshraturi
@dineshraturi 3 жыл бұрын
Replied. Kindly check ! 🥂
@cellus5594
@cellus5594 3 жыл бұрын
I re-reached you through e-mail. I have more questions that I hope you could help with, when and if you do have the time for. Thanks in advance! :)
@rinkur3880
@rinkur3880 4 жыл бұрын
Wow 🤩
@supratiksinha3885
@supratiksinha3885 3 жыл бұрын
Can we apply the same concepts for videos as well ?
@dineshraturi
@dineshraturi 3 жыл бұрын
You need to create custom model in that case. And have to provide frame of a video at a time.
@kingstonsotelo6161
@kingstonsotelo6161 4 жыл бұрын
please help. you have 2 examples folder: examples and examples-master. i only have examples-master. where is the other one? there is no assets folder in the masters
@dineshraturi
@dineshraturi 4 жыл бұрын
Use my github code which is mentioned in the another video of currency detection. Follow it.
@Haleymrn
@Haleymrn 3 жыл бұрын
In which link can I find the examples folder?
@dineshraturi
@dineshraturi 3 жыл бұрын
Try my another video which is currency detector. And try to change the code a bit. Link in the description box
@Haleymrn
@Haleymrn 3 жыл бұрын
@@dineshraturi I did but the folders was different from here 8:02
@Haleymrn
@Haleymrn 3 жыл бұрын
@@dineshraturi Can you make a video how can we modify the original tensorflow image classification source code? that we can implement our own model?
@Tobias-jl5io
@Tobias-jl5io 4 жыл бұрын
Hi bro any idea why when i download it in quantized it says error occured?
@dineshraturi
@dineshraturi 4 жыл бұрын
Clear your browser cache and history first please make sure you have trainned your model in a correct manner. Try with 10-10-10 images first. Give custom class lables name. After that do let me know if you are able to do it or not. Do subscribe the channel if you haven’t subscribed. Thank you
@Tobias-jl5io
@Tobias-jl5io 4 жыл бұрын
@@dineshraturi yea trained it in default settings , but did like 9 models with different names, any other way u can think of, great video btw just subscribed
@Tobias-jl5io
@Tobias-jl5io 4 жыл бұрын
@@dineshraturi is image per model an issues , i have around 300 -700 images per sample
@Tobias-jl5io
@Tobias-jl5io 4 жыл бұрын
hey bro it worked when i reduced the models to 2 , i have reduced the images to models to around 40 per model but it still doesnt work with 7 models, any idea how ;/, need this for my presentation for mid terms tmr
@Tobias-jl5io
@Tobias-jl5io 4 жыл бұрын
hi bro after much trying still doesnt work, is it possible to just do it with the unquantized version?
@healersage2281
@healersage2281 2 жыл бұрын
sir what if i have a lot of inferences in my own customized TFLITE model (I didn't use teachable machine)? The application doesn't seem to run when using the model I made I think its because Im using a customized one? here is what the code looks like after I imported it to my project. try { Tflite model = Tflite.newInstance(context); // Creates inputs for reference. TensorBuffer inputFeature0 = TensorBuffer.createFixedSize(new int[]{1, 320, 320, 3}, DataType.FLOAT32); inputFeature0.loadBuffer(byteBuffer); // Runs model inference and gets result. Tflite.Outputs outputs = model.process(inputFeature0); TensorBuffer outputFeature0 = outputs.getOutputFeature0AsTensorBuffer(); TensorBuffer outputFeature1 = outputs.getOutputFeature1AsTensorBuffer(); TensorBuffer outputFeature2 = outputs.getOutputFeature2AsTensorBuffer(); TensorBuffer outputFeature3 = outputs.getOutputFeature3AsTensorBuffer(); // Releases model resources if no longer used. model.close(); } catch (IOException e) { // TODO Handle the exception } Can you make a vid that can solve this problem? It will be appreciated if you make one tutorial regarding this problem.
@vijendraelgroup4369
@vijendraelgroup4369 4 жыл бұрын
Good work 👏👏
@bhupendranagda9563
@bhupendranagda9563 4 жыл бұрын
Does that already present 4 files in assert means that we are training on already present mobiletnet model??
@dineshraturi
@dineshraturi 4 жыл бұрын
Android internally use your tflite as mobilevnet. Try to delete all other files just put 2 tflite and labels.txt. Then run your app and recheck assest folder you will see mobilevnet is generated Do watch my new currency detector app video which is with voice.
@bhupendranagda9563
@bhupendranagda9563 4 жыл бұрын
@@dineshraturi okay thanks
@sratchana1805
@sratchana1805 3 жыл бұрын
How to add 2 tflite models into project?
@dineshraturi
@dineshraturi 3 жыл бұрын
You can add them in a same way but it will work one at a time. Just add _ at the last of the new tflite
@sratchana1805
@sratchana1805 3 жыл бұрын
@@dineshraturi thankyou..but I couldn't find tflite folder inside my java folder..I cloned from tf model GitHub.. why is it so?
@dineshraturi
@dineshraturi 3 жыл бұрын
Hi use this code - github.com/AndroidArena/CurrencyDetectorAndroid
@dineshraturi
@dineshraturi 3 жыл бұрын
May be they have changed their stack & code base. You can use mine currency detection code from github. Its opensource.
@bhoomiailani7350
@bhoomiailani7350 4 жыл бұрын
I need help I am facing a issue.I have followed all the steps the app is also installed but there is no labels or names of the object.
@dineshraturi
@dineshraturi 4 жыл бұрын
Hi , do one thing follow my another video “currency note detector with voice” and use its code. Link mentioned in the description of that video. That code is working code you just need to replace your tflite model. Also that code has voice output also. Do watch that. Thanks.
@bhoomiailani7350
@bhoomiailani7350 4 жыл бұрын
@@dineshraturiThanks will surely try it
@ramavol
@ramavol 4 жыл бұрын
Thank-U, hello from Russia!
@sahoogoutam
@sahoogoutam 4 жыл бұрын
how to get tensorflow lite model from saved keras model?
@dineshraturi
@dineshraturi 4 жыл бұрын
You neee to convert it using tensorflow utility.
@onlineaccadmy9659
@onlineaccadmy9659 3 жыл бұрын
text recognition from image in python using machine learning .....plz iska bta dy
@dineshraturi
@dineshraturi 3 жыл бұрын
here is the video - Kindly subscribe kzbin.info/www/bejne/bHeqeoOmq751kNk
@Isha-ot6tc
@Isha-ot6tc 3 жыл бұрын
Is there a way, to download the application as an apk from Android studio, and then run on the mobile phone?
@dineshraturi
@dineshraturi 3 жыл бұрын
Goto build -> build apk -> now open project and find build folder inside it output then apk and find debug.apk. Now put that inside phone internal storage and install it manually. Thanks Kindly subscribe
@49_tirtharajhalder49
@49_tirtharajhalder49 3 жыл бұрын
Bro i have only download the example master folder but i cant find the example folder
@dineshraturi
@dineshraturi 3 жыл бұрын
check my description for new code. it is 100% working
@muhammadkamil4108
@muhammadkamil4108 4 жыл бұрын
What size of images did you use?
@dineshraturi
@dineshraturi 4 жыл бұрын
I used camera frame. You can customise inside cameractivity.java class
@coldzeragod4333
@coldzeragod4333 4 жыл бұрын
DInesh Bhai there is no asset folder in my example-master-
@dineshraturi
@dineshraturi 4 жыл бұрын
Follow this - use this code - kzbin.info/www/bejne/qaang6hrf8-mbrc
@ayushisinghal553
@ayushisinghal553 4 жыл бұрын
if we want to create a model for the location,like the user enter the location and the crime record of that area is been provided to the user ,how can we do this.
@dineshraturi
@dineshraturi 4 жыл бұрын
Hi Ayushi Don’t you think its a simple search ?
@ayushisinghal553
@ayushisinghal553 4 жыл бұрын
@@dineshraturi i had searched everywhere i didn't get anything helpful ,if you know plz provide me the link for that
@dineshraturi
@dineshraturi 4 жыл бұрын
No no i am saying its a search problem not a Machine learning problem. If you want crime predictions then its a ML prob but you are saying on the basis of location you have to show crime records so i m saying it is a simple Database search problem.
@dineshraturi
@dineshraturi 4 жыл бұрын
If u want to predict the crime data i can make a app tutorial for that. Based on android python and mongodb using ml algorithms
@ayushisinghal553
@ayushisinghal553 4 жыл бұрын
@@dineshraturi ya plz it will helpful for me
@archanamaddhesiya7377
@archanamaddhesiya7377 4 жыл бұрын
I am unable to see the tflite folder in android studio please help
@dineshraturi
@dineshraturi 4 жыл бұрын
There is no tflite exists in android. You have to download tflite file and put it inside assests folder of android app. Plz watch my currency detector app in which i have given the code also. Thanks
@archanamaddhesiya7377
@archanamaddhesiya7377 4 жыл бұрын
@@dineshraturi thank you so much for your quick reply. And also amazing video.
@zhitao7198
@zhitao7198 4 жыл бұрын
Nice tutorial and thank you for sharing. Is it a series tutorial? Because I didn't saw you making Camera Activity. Because I plan to add this feature to my final year project.
@dineshraturi
@dineshraturi 4 жыл бұрын
U can use my code.
@rinkur3880
@rinkur3880 3 жыл бұрын
No its single video. Camera activity u will find in his code.
@nahombelete2160
@nahombelete2160 3 жыл бұрын
Hello brother! I follow every step but there is no tflite package in the android studio how can i fix that? Would you help me please?
@dineshraturi
@dineshraturi 3 жыл бұрын
kzbin.info/www/bejne/qaang6hrf8-mbrc watch this and use its code.
@RiteshSingh-nv8cv
@RiteshSingh-nv8cv 3 жыл бұрын
you are correct , I have faced the same issue .The solution to this problem is you can download the source code of " currency detection app " from this link - " github.com/AndroidArena/CurrencyDetectorAndroid " and then just delete all file from " assets folder " then copy past your trained files i.e 1. labels.txt , 2. model.tflite , 3. model_unquant.tflite , over their then it will work .
@Chhiling08
@Chhiling08 4 жыл бұрын
how can i get data model for high accuracy to train my model is there any website I can download for data set without making myself
@dineshraturi
@dineshraturi 4 жыл бұрын
In Machine learning there is a concept of hyper parameters tuning. Through which you will be able to get good accuracy. 2. By adding more training data u can get more accuracy. 3. There are free dataset providers like Kaggle Google datasets Uci Data.gov etc Please subscribe if it helps you :)
@PD-iu2sr
@PD-iu2sr 3 жыл бұрын
Brother I m getting an error It shows Gradle sync failed SdkPlatformNotFoundException
@dineshraturi
@dineshraturi 3 жыл бұрын
Which code u r using?
@PD-iu2sr
@PD-iu2sr 3 жыл бұрын
@@dineshraturi after Teachable I have downloaded zip file than I open it into Androidstudio
@nishanthreddy9765
@nishanthreddy9765 3 жыл бұрын
Hi can i get an complete report of this project
@dineshraturi
@dineshraturi 3 жыл бұрын
Hey. I don’t have any report for this project as of now brother.
@nishanthreddy9765
@nishanthreddy9765 3 жыл бұрын
@@dineshraturi ok bro thank you
@joshuamawutorklint6046
@joshuamawutorklint6046 3 жыл бұрын
How to add multiple tflite model on one app
@dineshraturi
@dineshraturi 3 жыл бұрын
U can use on the basis of condition. Make txt file 1,2 etc.
@joshuamawutorklint6046
@joshuamawutorklint6046 3 жыл бұрын
@@dineshraturi I don't get you. Do you mean creating different asset folder or what?
@joshuamawutorklint6046
@joshuamawutorklint6046 3 жыл бұрын
@@dineshraturi creating different assets folder in the android studio and using the if condition
@bhaskargethe1811
@bhaskargethe1811 4 жыл бұрын
Can you do one project on retail if possible
@dineshraturi
@dineshraturi 4 жыл бұрын
Sure. Stay tuned. As of now I am making python for absolute beginners post that simplified applied statistics are planned. I will definitely try to make one. Kindly subscribe if you like my content. I m working hard to make it better day by day.
@ronniepelayo9639
@ronniepelayo9639 3 жыл бұрын
It's not working on my project, it was detectng other object
@trishantsaxenaco
@trishantsaxenaco 4 жыл бұрын
Did you make a video on how to convert Tensorflow model to Tensorflow Lite Model?
@dineshraturi
@dineshraturi 4 жыл бұрын
Not yet
@mahnoorasif1782
@mahnoorasif1782 3 жыл бұрын
can we do this in react native?
@dineshraturi
@dineshraturi 3 жыл бұрын
Yes. But u have to use tf.js model there.
@gugasevero76
@gugasevero76 4 жыл бұрын
Hi Dinesh, I don't know what happen with the Android Github Code, but inside the android project there is no tflite folder. So what i have to do? Since now, thank you for your help.
@dineshraturi
@dineshraturi 4 жыл бұрын
Namesty Gustavo , do one thing follow my another tutorial currency detector and use that code. You Just need to replace tflite code and thats it.
@dineshraturi
@dineshraturi 4 жыл бұрын
Link - kzbin.info/www/bejne/qaang6hrf8-mbrc
@federicodoradosevilla8467
@federicodoradosevilla8467 4 жыл бұрын
Hey bro, i can´t find the folder assets 8:17 what should i do?
@dineshraturi
@dineshraturi 4 жыл бұрын
I have another video on the same topic i.e currency detection app. Use that code.Link is in the description box of that video.
@artsie6146
@artsie6146 4 жыл бұрын
try viewing your hidden folders , worked for me
@edogawaeduardus6149
@edogawaeduardus6149 3 жыл бұрын
same problem
@dineshraturi
@dineshraturi 3 жыл бұрын
Use this code. github.com/AndroidArena/CurrencyDetectorAndroid Change lables.txt and model.tflite according to u. & also watch my currency detection video for code detail
@harini7481
@harini7481 4 жыл бұрын
I can't download the quantized model, I tried a lot of times.. Need help The error is something went wrong while converting
@dineshraturi
@dineshraturi 4 жыл бұрын
This is the intermittent issue from teachable ML. Try to clear cache and turn off the firewall and then restart your pc. Hope it will help. Plz report this issue to teachable ml who know cz of u they will fix some bug. Earlier one of the subscriber is also facing the same and his dataset was working at my pc and able to download.
@harini7481
@harini7481 4 жыл бұрын
@@dineshraturi ok I'll try that.. Thanks for the fast reply.. Subscribed!
@swamynathant7764
@swamynathant7764 4 жыл бұрын
really it's very useful to me
@dineshraturi
@dineshraturi 4 жыл бұрын
Thanks plz do subscribe to my channel it will help me to grow. 🤟
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
classifierfloatefficientnet is not showing
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
its okay now thank you
@dineshraturi
@dineshraturi 4 жыл бұрын
Haha okay john. Do subscribe:)
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
@@dineshraturi yes sir. already did after watching this great content
@Lila12386
@Lila12386 4 жыл бұрын
How you fix that problem
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
@@Lila12386 its on the lib_support
@ajinkyapatharkar9677
@ajinkyapatharkar9677 4 жыл бұрын
On teachable machine site, I can only download tensorflow.js model but when I try to download tensorflow lite model, it says "something went wrong while converting" everytime. Can you help?
@dineshraturi
@dineshraturi 4 жыл бұрын
Its a intermittent issue from google. Try to download after 2-3 hrs.
@reubens5693
@reubens5693 4 жыл бұрын
You might need to increase the number of classes, I faced the same issue while using just two classes. increase number of classes up to 4 and that solved my issue
@dineshraturi
@dineshraturi 4 жыл бұрын
Even 3 classes will also work.
@anubhisaxena9381
@anubhisaxena9381 4 жыл бұрын
Hi, can we train our model for drivers app to calculate minimum route distance based on some factors just like uber with teachable machine by google? If not, then how we can make this model and use in android studio code.
@dineshraturi
@dineshraturi 4 жыл бұрын
By using TeachbleML we cannot do that. But yes in python we can make our model and make a restful api for the results which will be consumed by android app. I am thinking to make a project based on the python android mongodb machine learning ,stay tuned. Do subscribe the channel.
@anubhisaxena9381
@anubhisaxena9381 4 жыл бұрын
@@dineshraturi please make a video on it soon. Thank you
@anubhisaxena9381
@anubhisaxena9381 4 жыл бұрын
@@dineshraturi which IDE is used to write python scripts for making this type of project
@dineshraturi
@dineshraturi 4 жыл бұрын
U can use any. People use pycharm and vs code generally.
@anubhisaxena9381
@anubhisaxena9381 4 жыл бұрын
@@dineshraturi how to merge python model with android studio application Or any web application to run AI algo at backend
@mohamedabdelgawad9965
@mohamedabdelgawad9965 4 жыл бұрын
Hello, thanks for the great video but the app always gives the default layout that not reflecting my labels
@dineshraturi
@dineshraturi 4 жыл бұрын
Thanks mohamed. Okay it means your inferences are not working properly. Can you please check my another video of currency detection where i have given the full source code with models. Then again try this with that code only.
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
bro i cant see tflite on my android studio
@dineshraturi
@dineshraturi 4 жыл бұрын
Is this resolved?
@johndrahcir2641
@johndrahcir2641 4 жыл бұрын
@@dineshraturi yes sir. thanks a lot hehe
@anishthakur8938
@anishthakur8938 4 жыл бұрын
How can i download the actual neural network machine learning underhood code from teachable?
@dineshraturi
@dineshraturi 4 жыл бұрын
Under the hood for classification it uses Resnet50 architecture. so you can go to tensorflow github and download raw code for resnet50 and do the modification according to your need. After that train your model on TPU of google colab
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Chinese app design: weird, but it works. Here's why
10:51
Phoebe Yu
Рет қаралды 586 М.
2024's Biggest Breakthroughs in Computer Science
10:47
Quanta Magazine
Рет қаралды 229 М.
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07
8  ОПЫТОВ С ТАБА ЛАПКАМИ И МЕДВЕДЕМ ВАЛЕРОЙ
13:18
Познаватель
Рет қаралды 464 М.
Apache KAFKA Tutorial | KAFKA Crash Course | Spring Boot
56:49
Daily Code Buffer
Рет қаралды 101 М.
Build an Android app to recognize flowers
21:07
Android Developers
Рет қаралды 51 М.