OpenCV 4.10.0 now comes with the very new FaceRecognizer class for face recognition, so we can start experimenting with face recognition right away... Full detail at https://docs.opencv.org/3.4/da/d60/tutorial_face_main.html

The Principal Component Analysis (PCA), which is the core of the Eigenfaces method, finds a linear combination of features that maximizes the total variance in data. While this is clearly a powerful way to represent data, it doesn't consider any classes and so a lot of discriminative information may be lost when throwing components away. Imagine a situation where the variance in your data is generated by an external source, let it be the light.

Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. It is used in both industry and academia in a wide range of domains including robotics, embedded devices, mobile phones, and large high performance computing environments.

How get, build and install Dlib?

1. Get from github

2. build by pip install build

3. The build result of dlib as dlib-19.24.99-cp311-cp311-win_amd64.whl file location

4.

CMake Features 

cmake --help

OpenCV by CMake

How to create and build a CMake project?

A CMake project structure

src\main.cpp

CMakeLists.txt

Build files have been written to Build folder by [cmake ..] command

[cmake --build .] OK

run [hello.exe] OK

How about the OpenCV that build by CMake?

Code of a OpenCV example

cmake ..

cmake --build .

The result of detection face(s) from a photo

Code

Natural Language Processing service + Generative AI Chatbot +Computer Vision + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

The detection result with source from live camera

Code

Natural Language Processing service + Generative AI Chatbot +Computer Vision + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

Not total correctly 100%!  

The questions with answer is a choice so complicated for AI: More correctly by question only, no choice! I did test by give AI Chatbot the question only so the answer is very good!

Natural Language Processing service + Generative AI Chatbot + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

Result of moving ball to there positions

Code

Natural Language Processing service + Generative AI Chatbot + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

Dragging and Painting Jesus name

Code

Natural Language Processing service + Generative AI Chatbot + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

Draw Flags of Japan and France

Code

Natural Language Processing service + Generative AI Chatbot + Machine Learning + Mobile App + Web App? Yes, I do provide!

Call me: +84854147015

WhatsApp: +601151992689

https://amatasiam.web.app

Email: ThomasTrungVo@Gmail.Com

So we capture a video and process it frame-by-frame, and we want to save that video. For images, it is very simple: just use cv.imwrite(). Here, a little more work is required.

This time we create a VideoWriter object. We should specify the output file name (eg: output.avi). Then we should specify the FourCC code (details in next paragraph). Then number of frames per second (fps) and frame size should be passed. And the last one is the isColor flag.
About Me
About Me
My Photo
Vietnam
21 years experience in Mobile App (iOS and Android), Business Web Application. I have been developing with 26 business web application and Mobile App projects. Call me whenever you need a Mobile App (iOS and Android), Portal Solution by Office 365 (SharePoint Online) or by SharePoint On-Premise 2019/2016/2013/2010/2007 or an Integration SharePoint Solution with Dynamics AX, Dynamics 365, Power Bi, Digimind Social Medial Analytic Monitoring, EJabberd XMPP server Chat System, Forefront UAG, PDCA, Budget Request, LPG Bulk Transport Operations Application Solution, Project Server, Reporting Service, CRM Call Center, Dynamics CRM, Customer Interaction Center. Viet Nam: +84854147015 Malaysia: +601151992689 (also with WhatsApp) Linkedin: https://www.linkedin.com/in/abc365/ Email: ThomasTrungVo@Hotmail.com, SharePointTaskMaster@Gmail.com Skype: ThomasTrungVo@Hotmail.com
Blog Archive
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.