About
I’m a senior AI engineer and researcher based in Ontario, Canada. My work connects…
Articles by Ahmed
Activity
9K followers
Experience
Education
-
Faculty of Computers and Information, Menoufia University, Egypt
-
M.Sc. in information technology granted after completing my research project and submitting a thesis titled "Automatic People Counting in Crowded Scenes". The project is about estimating the people count within crowded scenes. The fields of study are machine learning and computer vision.
-
-
-
Licenses & Certifications
Publications
-
Cython for Speeding-up Genetic Algorithm
2020 International Conference on Electrical and Information Technologies (ICEIT)
See publicationThis paper proposes a library for implementing the genetic algorithm using Python mainly in NumPy and speeding-up its execution using Cython. The preliminary Python implementation is inspected for possible optimizations. The 4 main changes include statically defining data types for the NumPy arrays, specifying the data type of the array elements in addition to the number of dimensions, using indexing for looping through the arrays, and finally disabling some unnecessary features in Cython…
This paper proposes a library for implementing the genetic algorithm using Python mainly in NumPy and speeding-up its execution using Cython. The preliminary Python implementation is inspected for possible optimizations. The 4 main changes include statically defining data types for the NumPy arrays, specifying the data type of the array elements in addition to the number of dimensions, using indexing for looping through the arrays, and finally disabling some unnecessary features in Cython. Using Cython, the NumPy array processing is 1250 times faster than CPython. The Cythonized version of the genetic algorithm is 18 times faster than the Python version.
-
Building Android Apps in Python Using Kivy with Android Studio: With Pyjnius, Plyer, and Buildozer
Apress
See publicationStart building Python-based Android applications using Kivy with Android Studio. Through in-depth examples, this book teaches you everything you need to create your first Android application in Python and publish on Google Play.
Building Android Apps in Python Using Kivy with Android Studio takes you through the basics of Kivy by discussing its application structure, widgets, and event handling. The KV language is then introduced for separating the logic and GUI by adding widgets within…Start building Python-based Android applications using Kivy with Android Studio. Through in-depth examples, this book teaches you everything you need to create your first Android application in Python and publish on Google Play.
Building Android Apps in Python Using Kivy with Android Studio takes you through the basics of Kivy by discussing its application structure, widgets, and event handling. The KV language is then introduced for separating the logic and GUI by adding widgets within a KV file. You will then learn how to utilize Android camera using Kivy, build the HTTP server using Flask, and create and manage multiple screens to help you design your own applications. Through detailed step-by-step instructions, you will create your first multi-level cross-platform game that includes animation and sound effects. Following this, the process of converting the Kivy application into an Android application using Buildozer and Python-4-Android is covered in detail. You will then learn how to edit the generated Android Studio project into Android Studio by adding extensions to the original application. The widgets added in Kivy could be handled within Android Studio. Moreover, Android views could be added to enrich the Kivy application. The resulting Android application created with Kivy can be hosted on Google Play to download and install as a regular Android application.
This book will give you the basic knowledge of Kivy needed to build cross-platform Android applications, produce an Android Studio project, and understand how it all works in detail.
You Learn:
Build cross-platform applications from scratch using Kivy in detail
Create a cross-platform interactive multi-level game from the ground up
Examine the pipeline of building an Android app from the Python Kivy app
Understand the structure of the Android Studio project produced by Kivy
Recognize how to extend the application within Android Studio by adding more Android views to the application main activity. -
مقتطفات من حياتي: من الدروس التي تعلمتها من مواقف الحياة (Arabic Edition)
Amazon Kindle
See publicationفي المواقف العديدة التي يمر بها كلٌ منا في حياته، يكون هناك أوقات إبداع ووصول إلي العديد من الإستنتاجات والدروس المستفادة. فما يتعلمه يكون مفتاحاً لتغيرات إيجابية في حياته. ولتكرار المواقف علينا، فيجب تذكر ما قمنا به في الماضي حتي نستفيد به في المستقبل. ومع كثرة مشاغل الحياة، يبدأ في نسيان بعض ما توصل إليه بشكل تدريجي. فبالتأكيد سيمر عليك موقفاً في المستقبل لتقول قد مر علي مثله في السابق لكنك لا تتذكر جيداً ما قمت بفعله حتي تُحقق النتائج الجيدة التي حققتها في السابق.
وأنا أيضاً مر بي في…في المواقف العديدة التي يمر بها كلٌ منا في حياته، يكون هناك أوقات إبداع ووصول إلي العديد من الإستنتاجات والدروس المستفادة. فما يتعلمه يكون مفتاحاً لتغيرات إيجابية في حياته. ولتكرار المواقف علينا، فيجب تذكر ما قمنا به في الماضي حتي نستفيد به في المستقبل. ومع كثرة مشاغل الحياة، يبدأ في نسيان بعض ما توصل إليه بشكل تدريجي. فبالتأكيد سيمر عليك موقفاً في المستقبل لتقول قد مر علي مثله في السابق لكنك لا تتذكر جيداً ما قمت بفعله حتي تُحقق النتائج الجيدة التي حققتها في السابق.
وأنا أيضاً مر بي في حياتي مواقف عديدة وكنت أشعر بصعوبتها وأتمني أن أجد الحل في أسرع وقت. وبعد أن أن أصل للحل كنت أفرح لذلك وأعتقد لقوة المعاناة التي واجهتها أن هذا الموقف لن أنساه وسيظل محفوراً في عقلي. لكن مع مرور الوقت، أصبحت أمر بمواقف أخري في حياتي حتي بدأت أنسي ما حدث معي في الماضي من أمورٍ عصيبة. فتكررت المواقف السابقة وبدأت أُعاني مما كنت عليه في الماضي وبدأت أسأل نفسي ما الذي فعلته بالتحديد حتي أتفادي مثل هذا الموقف في السابق؟ وتبدأ في ملاومة نفسك بالعديد من الكلام. لقد لقت لنفسي في الماضي علي أن أفعل شيئاً ما إذا ما حدث لي هذا الموقف. فماذا يجب أن أفعل؟
لكن في بعض الأمور كنت أنسي إستنتاجاتي بالماضي وذلك كان يصيبني بالحزن. فكم قام كلٌ منا بإنهاء إجراءات شيئ ما وكان يشعر بمعاناة شديدة في إنهاء هذا الأمر. وحينما يستعين به غيره في إنهاء هذه الإجراءات يقول له أني لا أتذكر ذلك. في بعض المواقف، يضطر نفس الإنسان إلي إنهاء نفس الإجراءات مرةً أخري ويجد صعوبة في ذلك لنسيانه ما فعل في الماضي.
فمنذ إنتهاء مرحلة البكالوريوس بنهاية سنة 2015، وجدت أن حياتي بدأت تمر بمراحل إنتقالية كبيرة. فها أصبحت خريجاً ويجب علي أن أعمل وأن أواجه المجتمع. وكنت في أمس الوقت لأجد النصح من غيري لكني لم أجد حولي من يفعل ذلك. فما كان امامي إلا مواجهة الحياة بنفسي مستعيناً بالله. وكنت أجد دروساً شديدة الأهمية علي أن أستفيد منها في المستقبل. ولأني تيقنت أن الدنيا ستلهيني بعد ذلك ولن أتذكر كل ما أمر به، قررت أن اقوم بكتابة ملخص لتلك المواقف وما إستنتجته لكي أستفيد منه في المستقبل. فكلما تمر عيني علي موقفٍ مررت به في الماضي وكمية المعاناة التي كنت فيها وأن الله هداني للحل بعد ذلك، كان ذلك سبباً في شكري لله.
... -
Practical Computer Vision Applications Using Deep Learning with CNNs
Apress
See publicationDeploy deep learning applications into production across multiple platforms. You will work on computer vision applications that use the convolutional neural network (CNN) deep learning model and Python. This book starts by explaining the traditional machine-learning pipeline, where you will analyze an image dataset. Along the way you will cover artificial neural networks (ANNs), building one from scratch in Python, before optimizing it using genetic algorithms.
For automating the…Deploy deep learning applications into production across multiple platforms. You will work on computer vision applications that use the convolutional neural network (CNN) deep learning model and Python. This book starts by explaining the traditional machine-learning pipeline, where you will analyze an image dataset. Along the way you will cover artificial neural networks (ANNs), building one from scratch in Python, before optimizing it using genetic algorithms.
For automating the process, the book highlights the limitations of traditional hand-crafted features for computer vision and why the CNN deep-learning model is the state-of-art solution. CNNs are discussed from scratch to demonstrate how they are different and more efficient than the fully connected ANN (FCNN). You will implement a CNN in Python to give you a full understanding of the model.
After consolidating the basics, you will use TensorFlow to build a practical image-recognition model that you will deploy to a web server using Flask, making it accessible over the Internet. Using Kivy and NumPy, you will create cross-platform data science applications with low overheads.
This book will help you apply deep learning and computer vision concepts from scratch, step-by-step from conception to production.
What You Will Learn
-Understand how ANNs and CNNs work
-Create computer vision applications and CNNs from scratch using Python
-Follow a deep learning project from conception to production using TensorFlow
-Use NumPy with Kivy to build cross-platform data science applications -
Crowd Density Estimation Using Multiple Features Categories and Multiple Regression Models
International Conference on Computer Engineering & Systems (ICCES)
This paper proposes a new single camera automatic
crowd density estimation method for overcoming the linearity
problem and enhancing the counting prediction accuracy. For
overcoming the linearity problem, a combination of features
including segmented regions properties, texture, edge, and SIFT
keypoints are extracted from the segmented foreground regions.
These features are normalized to solve the perspective distortion…This paper proposes a new single camera automatic
crowd density estimation method for overcoming the linearity
problem and enhancing the counting prediction accuracy. For
overcoming the linearity problem, a combination of features
including segmented regions properties, texture, edge, and SIFT
keypoints are extracted from the segmented foreground regions.
These features are normalized to solve the perspective distortion
problem. The complete feature set and a partial of this set are
utilized to train multiple regression models to predict the crowd
density per region and enhance the prediction accuracy.
Moreover, the cross-validation technique is used to select the
training and testing datasets in order to increase the prediction
accuracy. Categories of features are ranked based on a set of
metrics reflecting their robustness with each regression model
used. Using the ground truth data provided by the UCSD crowd
dataset, the experimental results show that the proposed crowd
density estimation method are more robust and provide crowd
counting prediction with higher accuracy than previous methods.Other authors -
TensorFlow: A Guide to Build Artificial Neural Networks using Python
LAP LAMBERT Academic Publishing
See publicationThis guide assumes you know nothing about TensorFlow and takes you from the beginning until understanding the basics of a TensorFlow program including Variables, Placeholders, dataflow graphs, TensorFlow Core API, and TensorBoard for visualization. Because artificial neural networks (ANNs) are in the heart of deep learning models, it is recommended to start learning how they work and implemented programmatically. This guide covers in details all steps required for creating your first ANN using…
This guide assumes you know nothing about TensorFlow and takes you from the beginning until understanding the basics of a TensorFlow program including Variables, Placeholders, dataflow graphs, TensorFlow Core API, and TensorBoard for visualization. Because artificial neural networks (ANNs) are in the heart of deep learning models, it is recommended to start learning how they work and implemented programmatically. This guide covers in details all steps required for creating your first ANN using TensorFlow starting by reading input data then building neural networks layers (input, hidden, output) and finally making predictions. This guide helps you how neural networks parameters (e.g. weights) are updated by tracing the dataflow graph. Because the traditional way of reading data using placeholders is not appropriate for large datasets, pandas Series and DataFrame are discussed by understanding the different ways they are created. This is in addition to indexing, updating, deleting items. In addition to TensorFlow Core API, some higher level APIs are discussed including TensorFlow Estimators and train for saving time wasted by implementing some of the frequently used operations.
-
Comparison of Signaling and Media Approaches to Detect VoIP SPIT Attack
International Conference on Frontiers of Signal Processing (ICFSP)
IP networks became the most dominant type of information networks nowadays. It provides a number of services and makes it easy for users to be connected. IP networks provide an efficient way with a large number of services compared to other ways of voice communication. This leads to the migration to make voice calls via IP networks. Despite the wide range of IP networks services, availability, and its capabilities, there still a large number of security threats that affect IP networks and for…
IP networks became the most dominant type of information networks nowadays. It provides a number of services and makes it easy for users to be connected. IP networks provide an efficient way with a large number of services compared to other ways of voice communication. This leads to the migration to make voice calls via IP networks. Despite the wide range of IP networks services, availability, and its capabilities, there still a large number of security threats that affect IP networks and for sure affecting other services based on it and voice is one of them. This paper discusses reasons of migration from making voice calls via IP networks and leaving legacy networks, requirements to be available in IP networks to support voice transport, and concentrating on SPIT attack and its detection methods. Experiments took place to compare the different approaches used to detect spam over VoIP networks.
-
Currency Recognition System for Visually Impaired: Egyptian Banknote as a Study Case
IEEE via International Conference on Information & Communication Technology and Accessibility (ICTA)
One of the most important problems facing visual impaired people is money recognition especially for paper currency. In this paper we present a simple system currency recognition system applied on Egyptian banknote. Our proposed system is based on simple image processing utilities that insure performing the process as fast and robust as possible. The basic techniques utilized in our proposed system include image foreground segmentation, histogram enhancement, region of interest (ROI) extraction…
One of the most important problems facing visual impaired people is money recognition especially for paper currency. In this paper we present a simple system currency recognition system applied on Egyptian banknote. Our proposed system is based on simple image processing utilities that insure performing the process as fast and robust as possible. The basic techniques utilized in our proposed system include image foreground segmentation, histogram enhancement, region of interest (ROI) extraction and finally template matching based on the cross-correlation between the captured image and our data set. The experimental results demonstrate that the proposed method can recognize Egyptian paper money with high quality reaches 89% and short time.
Other authors -
Expression Invariant Face Recognition System
Aswan University Conference for Young Researchers
Human face is the most representative part of body that can be used to differentiate one person among others. Accurate face identification system is still a challenge to Image Processing and Pattern Recognition researchers. In this paper, a complete framework for face-based personal identification system is proposed. The proposed frame work is composite of three basic stages; face skin detection (FSD), facial features positioning (FFP), representative features extraction (RFE) and face matching…
Human face is the most representative part of body that can be used to differentiate one person among others. Accurate face identification system is still a challenge to Image Processing and Pattern Recognition researchers. In this paper, a complete framework for face-based personal identification system is proposed. The proposed frame work is composite of three basic stages; face skin detection (FSD), facial features positioning (FFP), representative features extraction (RFE) and face matching (FM). For FSD stage, RGB-H-CbCr color model is used after a comparative study between different color models. Enhanced Haar-like features are utilized for FFP stage. After accurate features positioning, the representative features are calculated using the centers of eyes, nose and mouth organs. The experimental results of this paper depict that the proposed frame work accurately identify persons of The Center for Vital Longevity Face Database.
-
A Proposed Framework For Robust Face Identification System
IEEE via ICCES Conference Cairo,Egypt
Human face is the most representative part of body that can be used to differentiate one person among others. Accurate face identification system is still a challenge to Image Processing and Pattern Recognition researchers. In this paper, a complete framework for face-based personal identification system is proposed. The proposed frame work is composite of three basic stages; face skin detection (FSD), facial features positioning (FFP), representative features extraction (RFE) and face matching…
Human face is the most representative part of body that can be used to differentiate one person among others. Accurate face identification system is still a challenge to Image Processing and Pattern Recognition researchers. In this paper, a complete framework for face-based personal identification system is proposed. The proposed frame work is composite of three basic stages; face skin detection (FSD), facial features positioning (FFP), representative features extraction (RFE) and face matching (FM). For FSD stage, RGB-H-CbCr color model is used after a comparative study between different color models. Enhanced Haar-like features are utilized for FFP stage. After accurate features positioning, the representative features are calculated using the centers of eyes, nose and mouth organs. The experimental results of this paper depict that the proposed frame work accurately identify persons of The Center for Vital Longevity Face Database. The proposed system could Identify the correct person with 40 saved image with accuracy 98%, while it could reject wrong persons with accuracy 98.17%. The overall accuracy of correct identification reaches 98.14%.
Other authors
Courses
-
Android App Development
1
-
CCNA
4
-
Computer Graphics
1
-
Computer Vision
1
-
Data Science & Big Data Analytics
1
-
Image Processing
3
-
Software Development
3
-
Software Engineering
1
-
System Analysis
1
Projects
-
Vilvik: Cloud Platform for Evolutionary Optimization
- Present
A Canadian platform for solving optimization problems in the cloud. Users can launch runs in a browser, through a REST API, or with the Python SDK; follow progress live; and compare results. The platform includes ready-made problems and more than 20 interactive demos, with isolated execution for user-written fitness functions. Website: https://vilvik.com | Python SDK: https://github.com/VilvikInc/vilvik-python
-
PyGAD: A Python Library for Implementing the Genetic Algorithm
See projectPyGAD is an open-source Python 3 library for implementing the genetic algorithm and optimizing machine learning algorithms.
PyGAD supports different types of crossover, mutation, and parent selection. PyGAD allows different types of problems to be optimized using the genetic algorithm by customizing the fitness function.
Besides building the genetic algorithm, it builds and optimizes machine learning algorithms. Currently, PyGAD supports building and training (using genetic…PyGAD is an open-source Python 3 library for implementing the genetic algorithm and optimizing machine learning algorithms.
PyGAD supports different types of crossover, mutation, and parent selection. PyGAD allows different types of problems to be optimized using the genetic algorithm by customizing the fitness function.
Besides building the genetic algorithm, it builds and optimizes machine learning algorithms. Currently, PyGAD supports building and training (using genetic algorithm) artificial neural networks for classification problems.
The library is under active development and more features in the genetic algorithm will be added like working with binary problems. This is in addition to supporting more machine learning algorithms. -
CoinTex
See projectCross-platform multi-level adventure game with mission of collecting all coins randomly distributed. Monsters and thrown fire struggle player way.
Linux: https://www.linux-apps.com/p/1279788
Android: https://play.google.com/store/apps/details?id=coin.tex.cointexreactfast
This project is part of my 2019 book cited as “Ahmed Fawzy Gad 'Building Android Apps in Python Using Kivy with Android Studio'. Apress, Dec. 2019, Apress, 978-1484250303.
https://www.amazon.com/dp/1484250303”. -
HiAi Chat
-
See projectAn Android app that is a mini version of the known chat applications such as Facebook Messenger and Whatsapp. The current version of HiAi Chat is 0.2 just offers some limited features which are:
• User registration using a username, e-mail, and password.
• Login with username and password.
• Sending and receiving text messages using usernames.
• Live notifications of new messages.
Logout from the app.
• Listing all conversations and leaving replies.
The server runs at…An Android app that is a mini version of the known chat applications such as Facebook Messenger and Whatsapp. The current version of HiAi Chat is 0.2 just offers some limited features which are:
• User registration using a username, e-mail, and password.
• Login with username and password.
• Sending and receiving text messages using usernames.
• Live notifications of new messages.
Logout from the app.
• Listing all conversations and leaving replies.
The server runs at https://hiai.website. It is implemented in Python and uses a MySQL database for storing user data.
The app is secured by first using secure HTTP for data transmission, the server supports TLS 1.2 and higher which provides high security than the lower versions, usernames and passwords are encrypted, and e-mail is verified using a verification code.
In later versions of the app, more features will be added such as sending and receiving other types of medias (e.g. voice and image), supporting delivery reports to know when the message is delivered or seen by the receiver, updating or deleting messages, and more.
Android app at Google Play: https://play.google.com/store/apps/details?id=gad.hiai.chat.hiaichat -
AFCIT
-
See projectGoal of the site is to allow easy communication between university teachers and their students in the form of easy access to materials without depending on the Facebook.
Facebook take students` minds and I tried to find a way to get them off from there by creating a Web site that collects all course material in a single place with easy access.
Comparison is performed between the site and FB because FB is regarded the currently used way of communication between instructors and…Goal of the site is to allow easy communication between university teachers and their students in the form of easy access to materials without depending on the Facebook.
Facebook take students` minds and I tried to find a way to get them off from there by creating a Web site that collects all course material in a single place with easy access.
Comparison is performed between the site and FB because FB is regarded the currently used way of communication between instructors and students.
Motivations:
1.Get students off from Facebook to decouple work from enjoyment.
2.A single place for work only.
3.Collects all course materials in a single place.
4.Provides secrecy among students by limiting site access to students only by using faculty e-mail for registration.
5.Providing a way for making questions and have discussion form the instructor and other students. Yes FB has an interactive way to ask questions but by time it became very difficult to find previous posts. -
Egyptian Banknotes Recognition using Smartphones
-
One of the most important problems facing visual impaired people is money recognition especially for paper currency. In this paper we present a simple system currency recognition applied on Egyptian banknote. Our proposed system is based on simple image processing utilities that insure performing the process as fast and robust as possible. The basic techniques utilized in our proposed system include image foreground segmentation, histogram enhancement, region of interest (ROI) extraction and…
One of the most important problems facing visual impaired people is money recognition especially for paper currency. In this paper we present a simple system currency recognition applied on Egyptian banknote. Our proposed system is based on simple image processing utilities that insure performing the process as fast and robust as possible. The basic techniques utilized in our proposed system include image foreground segmentation, histogram enhancement, region of interest (ROI) extraction and finally template matching based on the cross-correlation between the captured image and our data set. The experimental results demonstrate that the proposed method can recognize Egyptian paper money with high quality reaches 89% and short time.
Other creators -
Face Login: A robust face identification system for security-based service.
-
-
SkyMeter
-
See projectSkyMeter is an Android App in as well as web server. Users could use the android app to capture their sky with very limited restrictions, then the app analyzes the captured image to get sky color, status and Aeronet information without any internet connection requirements. The app enables users to save the image with addition to its information in the mobile SSD memory. In case of internet availability, the user could upload the image and its information to SkyMeter site.
Innovations:…SkyMeter is an Android App in as well as web server. Users could use the android app to capture their sky with very limited restrictions, then the app analyzes the captured image to get sky color, status and Aeronet information without any internet connection requirements. The app enables users to save the image with addition to its information in the mobile SSD memory. In case of internet availability, the user could upload the image and its information to SkyMeter site.
Innovations: Snapshot using alive camera or upload from gallery. Snapshot using Smart phone or any digital camera. Limited shot snapping instructions With/Without Internet connection Working with most sky natural colors Working day/night shot snapping time Detect Image location using google maps Detect cloud status Detect Aerosol information
Honors & Awards
-
Tenth University Youth Week 2015
Suez Canal University
Computer programming competition bronze medal among 25 participating Egyptian universities.
-
SkyMeter
NASA Space Apps Cairo 2015
One of the top 10 projects among more than 50 participating team in the competition held in Cairo , Egypt for two days in Feb. 2015.
The award was fro creating an Android application in addition to a Web site from analysing sky images captured using smartphone cameras and predicting weather conditions based on image processing techniques.
Languages
-
Arabic
Native or bilingual proficiency
-
English
Professional working proficiency
Recommendations received
1 person has recommended Ahmed
Join now to viewOther similar profiles
Explore collaborative articles
We’re unlocking community knowledge in a new way. Experts add insights directly into each article, started with the help of AI.
Explore More