Пікірлер
@Abdo_Ka-zf7pc
@Abdo_Ka-zf7pc 2 ай бұрын
it is fire and your explanation is legendary thx
@TheCodingNotebook
@TheCodingNotebook 2 ай бұрын
Thanks!
@maahinpanchal5828
@maahinpanchal5828 2 ай бұрын
I had trained my model using tensorflow and got saved_model.pb then when i converted to tflite then app is crashing.
@TheCodingNotebook
@TheCodingNotebook 2 ай бұрын
Try to examine the tflite model and see that the inputs/outputs shape is as you expect in the code. Another possibility is that the saved_model contains an operation that is not supported by tflite
@maahinpanchal5828
@maahinpanchal5828 3 ай бұрын
Does we can do this with custom dataset ?
@TheCodingNotebook
@TheCodingNotebook 2 ай бұрын
Search for "transfer learning" on SSD models to train the detector on a custom data set
@tskanew4811
@tskanew4811 4 ай бұрын
i tried to download from github but app not working i dont understand what should i change in order for it to work and edit it
@tskanew4811
@tskanew4811 4 ай бұрын
i wish to help me implement the code because i need it for a project iam working on
@theashbot4097
@theashbot4097 5 ай бұрын
I am having a problem with I run the following command bazel build //tensorflow/lite/c:tensorflowlite_c.dll -c opt The error I get is ERROR: C:/users/asher/downloads/tensorflow-master/tensorflow-master/tensorflow/lite/core/c/BUILD:620:38: Compiling tensorflow/lite/core/c/operator.cc failed: (Exit 2): cl.exe failed: error executing command (from target //tensorflow/lite/core/c:operator) cd /d C:/users/asher/_bazel_asher/czw57dhw/execroot/org_tensorflow SET INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\Tools\MSVC\14.39.33519\include;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\Tools\MSVC\14.39.33519\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt;C:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um SET PATH=C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Team Tools\DiagnosticsHub\Collector;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\\x64;C:\Program Files (x86)\Windows Kits\10\bin\\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\Tools\;;C:\WINDOWS\system32;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\Common7\IDE\VC\Linux\bin\ConnectionManagerExe;C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\vcpkg SET PWD=/proc/self/cwd SET PYTHON_BIN_PATH=C:/Users/Asher/AppData/Local/Programs/Python/Python310/python.exe SET PYTHON_LIB_PATH=C:/Users/Asher/AppData/Local/Programs/Python/Python310/lib/site-packages SET TEMP=C:\Users\Asher\AppData\Local\Temp SET TF2_BEHAVIOR=1 SET TMP=C:\Users\Asher\AppData\Local\Temp SET VSLANG=1033 C:\Program Files\Microsoft Visual Studio\2022\Community\Not Catch\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe @bazel-out/x64_windows-opt/bin/tensorflow/lite/core/c/_objs/operator/operator.obj.params # Configuration: a573a2162b95c7cc5b9daaf94f82911ff712cbd8da154051ce4ca73181423383 # Execution platform: @local_execution_config_platform//:platform cl : Command line warning D9002 : ignoring unknown option '-O3' tensorflow/lite/core/c/operator.cc(28): error C7555: use of designated initializers requires at least '/std:c++20' Target //tensorflow/lite/c:tensorflowlite_c.dll failed to build INFO: Elapsed time: 81.130s, Critical Path: 1.67s INFO: 333 processes: 313 internal, 20 local. FAILED: Build did NOT complete successfully Do you know how to fix this by any chance? I have tried installing different bazel version but it does not fix it.
@cattnation6257
@cattnation6257 6 ай бұрын
bro i am new to tensorflow i dont use tensor flow directly i use yolo and mideapipe i get this Created TensorFlow Lite XNNPACK delegate for CPU. and speed is quite slow how can i use gpu? so processing speed get fast
@mahmoudnasser7874
@mahmoudnasser7874 6 ай бұрын
I have a problem , Can't include tflite and open cv on linux as there is no VS on Linux , Did you face that issue ?
@CodeWithImem
@CodeWithImem 8 ай бұрын
thank you for your efforts .. and please i have a question .. when i am converting the graph_model into tflite .. the size i got is 198M .. while you got 12M only .. how is that happens ?
@TheCodingNotebook
@TheCodingNotebook 8 ай бұрын
For the exact same model that I used?
@minpark2117
@minpark2117 8 ай бұрын
Hi, Thank you for your great tutorial! I have 1 question. When I run at the xcode in release mode, then It works well. BUT when i did archive and test at testflight, the camera couldn't recognize image. Do you know What's wrong? (I will change cpp file when i deploy my testing app so don't worry about anything. I just curious about possibility of dynamic library with ios)
@TheCodingNotebook
@TheCodingNotebook 8 ай бұрын
Hi, No, I am not an ios developer so I don't have any clue from the top of my head... I usually don't do dynamic lib with opencv.
@minpark2117
@minpark2117 8 ай бұрын
@@TheCodingNotebook Thank you for your reply. I revised my Xcode's setting to solve my problem and it works well! Have a nice day :)
@jonatanbityaev
@jonatanbityaev 9 ай бұрын
היי יובל אני מקבוצת רובוטיקה מתכנית first ואני ממש אשמח ליצור איתך קשר בנוגע לזה.
@TheCodingNotebook
@TheCodingNotebook 8 ай бұрын
Hi, there's a contact form on the website: www.thecodingnotebook.com
@jonatanbityaev
@jonatanbityaev 8 ай бұрын
ok thx@@TheCodingNotebook
@arvinds7182
@arvinds7182 9 ай бұрын
ERROR: An error occurred during the fetch of repository 'flatbuffers': PLEASE ASSIST
@Ahwu_AIClass
@Ahwu_AIClass 9 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 🔍 *视频概述* - 本视频介绍了如何在Flutter应用中使用OpenCV的C++版本进行实时相机帧处理。主要包括使用已在Windows上运行的OpenCV代码、在Flutter应用中使用自定义的ArUco检测器以及配置相机帧处理等内容。 01:09 📷 *检测器页面设置* - 设置相机控制器和ArUco检测器以读取相机帧。 - 初始化相机控制器并注册用于接收预览相机帧的回调函数。 02:04 🖼️ *ArUco检测器配置* - ArUco检测器类包含检测方法,处理相机图像并返回ArUco标记坐标。 - 使用自定义绘图器在屏幕上绘制ArUco标记。 04:27 🛠️ *创建OpenCV插件* - 创建Flutter插件以集成OpenCV代码。 - 配置iOS和Android项目以包含OpenCV库和C++代码。 07:04 ⚙️ *配置Android集成* - 在Android项目中配置CMake和Gradle以构建和集成OpenCV库。 - 确保环境变量和Gradle设置正确以支持OpenCV集成。 11:12 📱 *配置Flutter端* - 使用Dart FFI加载和调用Native方法。 - 在Flutter应用中集成OpenCV插件,并调用Native方法进行版本检查。 12:59 🔌 *实现OpenCV插件功能* - 在Flutter端实现与Native端的通信,以调用OpenCV相关函数。 - 通过Dart FFI加载Native库,并将方法暴露给Flutter应用。 17:29 🚀 *测试集成功能* - 在Flutter应用中测试OpenCV插件的功能,例如检查OpenCV版本。 - 通过点击按钮触发Flutter端对Native端方法的调用,并验证结果。 21:40 💻 *初始化检测器方法和检测方法的参数说明* - 讲解了初始化检测器方法和检测方法的参数及其作用。 - 参数包括图像的字节数组、宽度、高度、旋转以及格式等。 - 方法的主要作用是根据传入的参数进行图像处理和检测。 25:32 🛠️ *将 C++ 代码与 Flutter 插件集成* - 演示了如何将 C++ 代码与 Flutter 插件集成,实现跨平台开发。 - 展示了在 Android Studio 中编写和构建 C++ 代码的过程。 - 讲解了在 Flutter 插件中定义方法签名、查找函数并将其暴露给 Flutter 应用的步骤。 36:48 📱 *在 Flutter 应用中使用 OpenCV 插件* - 展示了在 Flutter 应用中使用 OpenCV 插件进行实时相机帧处理和 ArUco 标记检测的过程。 - 演示了从嵌入资产中读取标记图像、调用初始化和检测方法的步骤。 - 说明了如何将相机帧坐标转换为屏幕坐标,并将检测到的 ArUco 标记绘制在屏幕上。 42:35 📱 *检测相机预览和本地标记* - 展示如何在应用中打开相机并检测本地标记。 - 介绍了相机预览和检测层的渲染过程。 - 提到了在 Flutter 中调用 OpenCV 可能会阻塞 UI 线程的问题,因此需要在后台线程进行处理。 44:03 🔄 *在后台线程执行检测代码* - 讨论了在 Flutter 中使用 Isolate 在后台线程执行检测代码的必要性。 - 介绍了 Isolate 的概念,它是一个在单独线程上运行的事件循环。 - 解释了如何在主 UI Isolate 和新创建的 Isolate 之间进行通信,并提供了示意图来说明通信过程。 47:05 🛠️ *将检测器移动到 Isolate 中* - 演示了将检测器类移动到新创建的 Isolate 中的过程。 - 介绍了如何在 Isolate 中初始化检测器,并与主线程进行通信。 - 讨论了如何在主线程中发送请求消息到 Isolate 并处理来自 Isolate 的响应消息。 53:31 🔄 *使用异步检测器处理检测任务* - 展示了如何使用异步检测器类处理检测任务,以避免在 UI 线程上阻塞。 - 讨论了在处理异步任务时需要注意的异步函数和回调。 - 介绍了如何在异步检测器中处理来自 Isolate 的响应消息,并在主线程中使用异步方法等待检测结果。 01:02:47 🧹 *清理资源并测试应用* - 在 `dispose` 方法中释放相机控制器和调用 `destroy` 方法来释放内存和终止 Isolate。 - 进行应用测试,确保资源清理工作正常,包括多次打开和关闭检测页面。 - 讨论了在 iOS 应用中配置 OpenCV 和编译 Aruco 检测器的步骤。 01:04:10 📱 *更新 iOS 应用以支持 OpenCV* - 更新了原生 OpenCV 插件的 Podspec 文件,添加了 OpenCV 的依赖项并将最低 iOS 版本设置为 11。 - 创建并添加了模块映射文件,用于 iOS 项目的编译。 - 更新了 Flutter 应用的 Podfile,并进行了 Pod 安装,然后在 Xcode 中打开项目并配置相机权限。 Made with HARPA AI
@sanketsakpal2357
@sanketsakpal2357 10 ай бұрын
nice
@mahmoudnasser7874
@mahmoudnasser7874 11 ай бұрын
Thank you for your excellent explanation, That was useful for me I wanted to ask you something. I have an issue when I try to open the .tflite model it gives me the error ERROR: The model allocation is null/empty Failed to load model
@TheCodingNotebook
@TheCodingNotebook 10 ай бұрын
I don't recall having this issue, but I always worked with "standard" models provided by Google...
@mahmoudnasser7874
@mahmoudnasser7874 6 ай бұрын
@@TheCodingNotebook It worked , thank you for the great effort
@SeaUsername
@SeaUsername 11 ай бұрын
merci beaucoup
@TheCodingNotebook
@TheCodingNotebook 11 ай бұрын
With pleasure
@PaulFreemanTheTall
@PaulFreemanTheTall Жыл бұрын
This is a very clear explanation both of what goes into a plugin and how to display using OpenGL on Android. I had to do something similar about a year before you published this, and finding this would have saved me quite a bit of time.
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Thx!
@arthurgichuhi
@arthurgichuhi Жыл бұрын
This is a great video. Could you do a video or article on how you made the flutter plugin? The video when you integrated OPENCV into android is great, though I can't really grasp how to relate to it in a flutter plugin setting.
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
It's all in there, I work on the plugin starting at 04:30
@josealamos2345
@josealamos2345 Жыл бұрын
When I try to open the native_opencv/example/android folder in android studio. In the project view the group module with native_opencv and app is missing. How do I get them to show up in the project view?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
I never had to change the projects created by flutter...
@TerryDavisMedia
@TerryDavisMedia Жыл бұрын
this has to be the best tutorial out there for people who don't understand some core concepts, you really go all in detail, I will recommend this to anyone learning raw webgl, you dont use libraries, thank you so much for this <3
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Thank you very much!! I am really happy to see it helps.
@dhaniahsait9549
@dhaniahsait9549 Жыл бұрын
Hi! Thanks for the video. Where did you get the original model from? How can I put my own model in?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
I talk about it here: kzbin.info/www/bejne/op2onHeCo7Gimac Note it is quite an old video so not sure how much it applies for the latest version on tensorflow.
@prasadd1810
@prasadd1810 Жыл бұрын
hi can you give same like for currency recognition
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Hi, I don't know of any model for that
@asilepolitiqueasilepolitiq6943
@asilepolitiqueasilepolitiq6943 Жыл бұрын
Hi, thank you for your amazing work, these tutorials are super helpful. I've got a question : do you think it is possible to feed the camera preview with a modified image that would be provided by the OpenCV plugin ?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
I believe the camera preview is using the native Android/ios preview layer. For example on Android it is probably some sort of GLRenderer. So if you want to change the preview you'll have to do it natively, and in the case of Android and a GLRenderer you won't be able to use OpenCV. Maybe you dont have to use a preview layer and just use an Image widget and change the image on new frame, on a fast cpu phone it might work, but I would not take it to production..
@asilepolitiqueasilepolitiq6943
@asilepolitiqueasilepolitiq6943 Жыл бұрын
@@TheCodingNotebook Thanks for your answer ! Yes I was thinking about rendering the image flow as an OpenGL texture in a widget... there must be a solution... I'll check what can be done with the Flutter AR kit plugins too...
@iamcaominhtien
@iamcaominhtien Жыл бұрын
How to reduce the capacity of the app apk? (~312MB :<) (Debug is ~ 416 MB)
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
I never looked into it in a Flutter app so I can't tell. Basically you would want to split ABIs per cpu architecture
@andreramos3290
@andreramos3290 Жыл бұрын
top
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
thx
@rahulravindra4418
@rahulravindra4418 Жыл бұрын
Hello thanks a lot for the tutorial. Could you direct me to an example for tensorflow lite where it is purely run on C and not C++ ? Thank you
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
I don't know of any...
@luisantonio1934
@luisantonio1934 Жыл бұрын
First of all, congratulations for the amazing video! it helped a lot! I have a doubt.... I'm not using the camera stream, instead I'm using takePicture() which saves my image to a file. If I convert this file to type Uint8List, will the detector work?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
It should work with any byte array that represent an image...
@Rohit-fr2ky
@Rohit-fr2ky Жыл бұрын
i have a small doubt i guess in the detect function of native_opencv.cpp file there is a code like follows Mat frame; if (isYUV) { Mat myyuv(height + height / 2, width, CV_8UC1, bytes); cvtColor(myyuv, frame, COLOR_YUV2BGRA_NV21); } else { frame = Mat(height, width, CV_8UC4, bytes); } what my doubt is that when it is in YUV format why we have to set height to ```height + height / 2``` to convert it to a Mat datatype ?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
This represents the amount of bytes in the YUV format. If I remember correctly this implementation was taken from the opencv for Android
@lukasmertens4996
@lukasmertens4996 Жыл бұрын
how do you get that terminal window? Also, I don't get the second android folder when opening the android project under example in android studio. How do i fix this?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Not sure I follow
@lukasmertens4996
@lukasmertens4996 Жыл бұрын
@@TheCodingNotebook with terminal i mean the terminal you used to create the arucodetector files and folder etc in the ios classes folder in the opencv section(4:20) of the video. With android folder i mean that the android project under example in the android studio section isn't showing the android project of the flutter opencv plugin project folder itself, so i only see the one under example when loaded into android studio(i can't see the plugin code in the project)(6:30)
@lukasmertens4996
@lukasmertens4996 Жыл бұрын
@@TheCodingNotebook ok so i got it to work but only when i downloaded your git project and used your create command on it and after some changing of kotlin and gradle versions. I don't know what causes it to not work when i follow the tutorial from scratch. I think it has something to do with the flutter create command but i don't know what
@lukasmertens4996
@lukasmertens4996 Жыл бұрын
@@TheCodingNotebook i found the solution, the flutter create command you use doesnt create the NativeOpencvPlugin.h and NativeOpencvPlugin.m files for me, so i had to create them manually
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Good luck!
@amiltonrogeriodasilva1655
@amiltonrogeriodasilva1655 Жыл бұрын
The current models available on the tflite-cross platform demo (mobilenet v1.tflite and M-LSD_320_tiny_fp16.tflite) are returning that error: Detection model input should be kTfLiteFloat32!
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Try to debug and see why exactly, maybe the "quantized" parameter passed to the detector does not match the model (like if the model input is indeed float32 but the detector was initialized with quantized=true)
@Rohit-fr2ky
@Rohit-fr2ky Жыл бұрын
you are a lifesaver man. thanks a lot :)
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Glad it helped
@ahmadooof
@ahmadooof Жыл бұрын
That's super
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Thx!
@muhammadjunaid5166
@muhammadjunaid5166 Жыл бұрын
Thanks for the wonderful explanation
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
You are welcome!
@laurick1993
@laurick1993 Жыл бұрын
Is it possible to create a 32bit tensorflow librairy?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Not that I know.
@icebakbum
@icebakbum Жыл бұрын
Thank you! This is great work! I just heard about ffi before, and after listening to your explanation, I think nothing is impossible. Thank you so much,
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Indeed! integrating c++ into you flutter app opens a lot of possibilities. good luck!
@OmprakashKesharwani-wx6rt
@OmprakashKesharwani-wx6rt Жыл бұрын
How to get msys terminal in windows and I am not able to get files under cpp folder in android studio.
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Make sure all paths are correct in the CMakeLists file. I'm not familiar with msys
@OmprakashKesharwani-wx6rt
@OmprakashKesharwani-wx6rt Жыл бұрын
@@TheCodingNotebook I cloned that app from github and there were already exist arucodetecor.cpp and arucodetector.h file
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
First make sure you opened the correct project "native_opencv/example/android", then sometimes choosing "File->Sync Prject with Gradle files" can help... other than that I don't have any further ideas....
@sonatuzun7020
@sonatuzun7020 Жыл бұрын
It is fun to watch someone so familiar with the tools they are using :) Thanks for the tutorial
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
You're very welcome!
@aethersx2
@aethersx2 Жыл бұрын
Can you make face recognition? like auth account is same or not, please make in dart or flutter project with open cv
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
You can try, I showed the basic integration of opencv and flutter now you can try and do whatever with opencv
@aethersx2
@aethersx2 Жыл бұрын
@@TheCodingNotebook can opencv run on serverside? I want to try in the dart language using a shared library single open cv is it possible? sorry I'm very new to opencv
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Yes it can run on the server
@michaelchiew8473
@michaelchiew8473 Жыл бұрын
Can this project able to help to measure other item measurement by using the aruco marker as reference size?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Theoretically yes, never done this. But if you know the marker size you can measure the distance between 2 points in "marker units" and then convert to real size (as longs as the points are on the same surface as the marker). But again, never tried to implement something like that. Obviously on mobile you would want to go with arkit/arcore
@scoobyisadog
@scoobyisadog Жыл бұрын
Hi have you tried Flet? I have a pose estimation code I want to turn into an app and am deciding whether to try Flutter or Flet. Any thoughts?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
No, haven't heard of it...
@uDubRiceBoy
@uDubRiceBoy Жыл бұрын
how do you install bazel?
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Check their docs: bazel.build/install/windows Usually I just download the binary from their GitHub repo
@giacozanna96
@giacozanna96 Жыл бұрын
Thank you very much! Really interesting and useful video
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
Glad you enjoyed it!
@fiyazkhan6460
@fiyazkhan6460 Жыл бұрын
nice. could you please share the code link
@TheCodingNotebook
@TheCodingNotebook Жыл бұрын
It's on the video description
@asdfasdfasdf383
@asdfasdfasdf383 2 жыл бұрын
My brain is now fried, I like it. This is Gold. Your explanation is excellelt, I learned quite a lot.
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Haha, yes, it's a heavy topic, happy you liked it
@faris7449
@faris7449 2 жыл бұрын
thanks, i appreciate your work mate
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
thx!
@HS_COMET
@HS_COMET 2 жыл бұрын
Nice video
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Happy you liked it!
@bennguyen1313
@bennguyen1313 2 жыл бұрын
How would this change if targeting Windows? Or in general, using ffi/ffigen to access peripherals connected to the desktop (usb, bluetooth, etc )? For example, I have both 32-bit and 64-bit dlls that can access different hardware.. can flutter build/link with those dlls, and more importantly work when the dll functions are called? Any tips on 'Integrating C library in a desktop Flutter app using Dart FFI'?
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Never tried...
@NickTaSpy
@NickTaSpy 2 жыл бұрын
Thank you for helping me setup flutter with opencv. I was struggling a lot to figure it out but it's also my first day using flutter 😅
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Glad it helped!
@moataz2415
@moataz2415 2 жыл бұрын
#include <opencv2/core/core.hpp> not found even after build the project😒
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Check the gradle output when doing "gradle sync", sometimes "find_package(OpenCV REQUIRED)" will error and the error message can be easily overlooked
@abdullahilyas4978
@abdullahilyas4978 2 жыл бұрын
Thanks alot your video helped alot. How can I get that cropped image of detected object and give it to another model? Thanks in advance!
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
The object detection model will give you the coordinates of the detected object, then you will have to crop it somehow... In order to get the coordinates you can take a look at the sample code ObjectDetection.kt function drawDetection
@JasonKuanCapillaryJ
@JasonKuanCapillaryJ 2 жыл бұрын
Your video is really helpful!😀
@TheCodingNotebook
@TheCodingNotebook 2 жыл бұрын
Great!