Get Building Computer Vision Applications Using Artificial Neural Networks: With Step-by-Step Examples in OpenCV and TensorFlow with Python 1st Edition Shamshad Ansari free all chapters
Get Building Computer Vision Applications Using Artificial Neural Networks: With Step-by-Step Examples in OpenCV and TensorFlow with Python 1st Edition Shamshad Ansari free all chapters
com
OR CLICK BUTTON
DOWNLOAD NOW
https://ebookmeta.com/product/building-computer-vision-applications-
using-artificial-neural-networks-2nd-edition-shamshad-ansari/
ebookmeta.com
https://ebookmeta.com/product/learn-opencv-with-python-by-
examples-2nd-edition-james-chen/
ebookmeta.com
https://ebookmeta.com/product/ultimate-star-wars-new-edition-the-
definitive-guide-to-the-star-wars-universe-adam-bray/
ebookmeta.com
Black Light Disciplined Black Light Series Book 29 1st
Edition Livia Grant
https://ebookmeta.com/product/black-light-disciplined-black-light-
series-book-29-1st-edition-livia-grant-2/
ebookmeta.com
https://ebookmeta.com/product/breaking-the-zero-sum-game-transforming-
societies-through-inclusive-leadership-1st-edition-aldo-boitano/
ebookmeta.com
https://ebookmeta.com/product/states-of-exception-law-history-
theory-1st-edition-cosmin-cercel-editor/
ebookmeta.com
https://ebookmeta.com/product/data-management-at-scale-second-edition-
piethein-strengholt/
ebookmeta.com
https://ebookmeta.com/product/midnight-ice-complete-series-kaitlyn-
davis/
ebookmeta.com
Glencoe Short Stories 3 1st Edition Jeffrey D. Wilhelm Et
Al
https://ebookmeta.com/product/glencoe-short-stories-3-1st-edition-
jeffrey-d-wilhelm-et-al/
ebookmeta.com
Building Computer
Vision Applications
Using Artificial Neural
Networks
With Step-by-Step Examples in
OpenCV and TensorFlow with Python
—
Shamshad Ansari
www.allitebooks.com
Building Computer Vision
Applications Using
Artificial Neural Networks
With Step-by-Step Examples
in OpenCV and TensorFlow
with Python
Shamshad Ansari
www.allitebooks.com
Building Computer Vision Applications Using Artificial Neural Networks: With
Step-by-Step Examples in OpenCV and TensorFlow with Python
Shamshad Ansari
Centreville, VA, USA
www.allitebooks.com
In God we trust.
To my wonderful parents, Abdul Samad and
Nazhat Parween, who always corrected my mistakes and
raised me to become a good person.
To my lovely wife, Shazia, and our two beautiful daughters,
Dua and Erum. Without their love and support, this book
would not have been possible.
www.allitebooks.com
Table of Contents
About the Author�����������������������������������������������������������������������������������������������������xv
Introduction������������������������������������������������������������������������������������������������������������xxi
www.allitebooks.com
Table of Contents
vi
Table of Contents
Median Blurring��������������������������������������������������������������������������������������������������������������������� 69
Bilateral Blurring������������������������������������������������������������������������������������������������������������������� 71
Binarization with Thresholding��������������������������������������������������������������������������������������������������� 74
Simple Thresholding�������������������������������������������������������������������������������������������������������������� 74
Adaptive Thresholding����������������������������������������������������������������������������������������������������������� 77
Otsu’s Binarization����������������������������������������������������������������������������������������������������������������� 79
Gradients and Edge Detection����������������������������������������������������������������������������������������������������� 82
Sobel Derivatives (cv2.Sobel() Function)������������������������������������������������������������������������������� 82
Laplacian Derivatives (cv2.Laplacian() Function)������������������������������������������������������������������ 87
Canny Edge Detection����������������������������������������������������������������������������������������������������������� 89
Contours�������������������������������������������������������������������������������������������������������������������������������������� 90
Drawing Contours������������������������������������������������������������������������������������������������������������������ 93
Summary������������������������������������������������������������������������������������������������������������������������������������ 94
vii
Table of Contents
viii
Table of Contents
ix
Table of Contents
x
Table of Contents
xi
Table of Contents
xii
Table of Contents
Index��������������������������������������������������������������������������������������������������������������������� 443
xiii
About the Author
Shamshad (Sam) Ansari is president and CEO of Accure
Inc., an artificial intelligence automation company that he
founded. He has raised Accure from startup to a sustainable
business by building a winning team and acquiring customers
from across the globe. He has technical expertise in the areas
of computer vision, machine learning, AI, cognitive science,
NLP, and big data. He architected, designed, and developed
the Momentum platform that automates AI solution
development. He is an inventor and has four US patents in the
areas of AI and cognitive computing.
Shamshad previously worked as a senior software engineer with IBM, as VP of
engineering with Orbit Solutions, and as principal architect and director of engineering
with Apixio.
xv
About the Technical Reviewer
James Baldo is an associate professor at George Mason
University in the Volgenau School of Engineering and the
director of the Data Analytics Engineering (DAEN) Program.
His 38 years as a practicing engineer has provided him
with a broad foundation of knowledge and experience
in data analytics and engineering systems. His data
analytics interests span the areas of data engineering, data
science, and data architecture with a focus on data-centric
applications. His software engineering expertise has been
in support of deploying applications to cloud-based environments and microservice
architectures. As director of the DAEN Program, he has been responsible for developing
and coordinating its new online program offering. He holds a BS in chemistry, MS in
chemistry, MS in computer engineering, and PhD in information technology/software
engineering. He enjoys canoeing, hiking, and golf, and he lives in Manassas, Virginia,
with his wife.
xvii
Other documents randomly have
different content
CHAPTER XLVIII.
A nd not far from the market-place is a theatre, and near it are the
bases of some brazen statues, the statues themselves are no
longer there. And an elegiac couplet on one of the bases says that
that was the statue of Philopœmen. This Philopœmen the Greeks
hold in the highest honour, both for his sagacity and exploits. As to
the lustre of his race his father Craugis was second to none of the
Arcadians of Megalopolis, but he dying when Philopœmen was quite
a boy his guardian was Cleander an exile from Mantinea, who had
come to live at Megalopolis after the troubles in his native place, and
had been on a footing of old friendship with the family of Craugis.
And Philopœmen had they say among other tutors Megalophanes
and Ecdelus: the sons of Arcesilaus were pupils they say of
Pitanæus. In size and strength he was inferior to none of the
Peloponnesians, but he was far from good-looking. He didn’t care
about contending in the games, but he cultivated his own piece of
ground, and was fond of hunting wild beasts. He read also they say
frequently the works of the most famous Greek sophists, and books
on the art of war, especially such as touched on strategy. He wished
in all things to make Epaminondas his model in his frame of mind
and exploits, but was not able in all points to come up to this. For
Epaminondas was especially mild and had his temper completely
under control, whereas Philopœmen was hot-tempered. But when
Cleomenes captured Megalopolis, Philopœmen was not dismayed at
this unexpected misfortune, but conveyed off safely two-thirds of the
adults and all the women and children to Messene, as the
Messenians were at that time their allies and well-disposed to them.
And when Cleomenes sent a message to these exiles that he was
sorry for what he had done, and that the people of Megalopolis might
return if they signed a treaty, Philopœmen persuaded all the citizens
to return only with arms in their hands, and not upon any conditions
or treaty. And in the battle which took place at Sellasia against
Cleomenes and the Lacedæmonians, in which the Achæans and
Arcadians from all the cities took part, and also Antigonus with an
army from Macedonia, Philopœmen took his place with the cavalry
at first, but when he saw that the issue of the battle turned on the
behaviour of the infantry he willingly became a footsoldier, and, as
he was displaying valour worthy of record, one of the enemy pierced
through both his thighs, and being so impeded he dropt on his knees
and was constrained to fall forwards, so that by the motion of his feet
the spear snapped off. And when Cleomenes and the
Lacedæmonians were defeated, and Philopœmen returned to the
camp, then the doctors cut out of his thighs the spearpoint and the
spear itself. And Antigonus, hearing and seeing his courage, was
anxious to invite him over to Macedonia. But he paid little heed to
Antigonus, and crossed over by ship to Crete, where a civil war was
raging, and became a captain of mercenaries. And on his return to
Megalopolis he was at once chosen by the Achæans commander of
their cavalry, and he made them the best cavalry in Greece. And
when the Achæans and all their allies fought at the river Larisus
against the men of Elis and the Ætolian force that aided the people
of Elis from kinsmanship, Philopœmen first slew with his own hands
Demophantus the commander of the enemy’s cavalry, and then put
to flight all the cavalry of the Ætolians and men of Elis.
CHAPTER L.
I f you turn off a little to the right from the high road in the Platæan
district near Mount Cithæron, you come to the ruins of Hysiæ and
Erythræ. They were formerly cities, and among the ruins of Hysiæ
there is still a temple of Apollo half-finished, and a Holy Well, of
which whoever drank in former days prophesied, if we may believe
the tradition of the Bœotians. And on your return to the high road on
the right is what is said to be the tomb of Mardonius. It is admitted
that the dead body of Mardonius was missing after the battle, but as
to who buried him there are different traditions. What is certain is that
Artontes the son of Mardonius gave many gifts to the Ephesian
Dionysophanes, and also to several Ionians, for not having
neglected his father’s burial. And this road leads from Eleutheræ to
Platæa.
As you go from Megara there is a spring on the right hand, and a
little further a rock called the bed of Actæon, because they say he
used to sleep on that rock when tired with hunting, and in that spring
they say he saw Artemis bathing. And Stesichorus of Himera has
represented the goddess as dressing Actæon in a deerskin, so that
his dogs should devour him, that he should not be married to
Semele. But I think that madness came upon the dogs of Actæon
without the intervention of the goddess, and if they were mad and did
not distinguish him they would rend in pieces whoever they met. In
what part of Mount Cithæron Pentheus the son of Echion met with
his fate, or where they exposed Œdipus after his birth, no one
knows, as we do know the cross-roads on the way to Phocis where
Œdipus slew his father. Mount Cithæron is sacred to Zeus of
Cithæron, but I shall enter into all that more fully when I come to that
part of my subject.
Near the entrance to Platæa is the tomb of those who fell fighting
against the Medes. The other Greeks have one common tomb. But
the Lacedæmonians and Athenians who fell have separate burial-
grounds, and some elegiac lines of Simonides as their epitaph. And
not far from the common tomb of the Greeks is the altar of Zeus
Eleutherius. The tombs are of brass, but the altar and statue of Zeus
are of white stone. And they celebrate still every fifth year the festival
called Eleutheria, in which the chief prizes are for running: they run
in heavy armour in front of the altar. And the Greeks set up a trophy
about 15 stades from the town for the battle at Platæa.
In the town of Platæa, as you go on from the altar and statue erected
to Zeus Eleutherius, is a hero-chapel to Platæa, I have already
stated the traditions about her and my own views. There is also a
temple of Hera, well worth seeing for its size and the beauty of the
statues. As you enter it Rhea is before you carrying to Cronos the
stone wrapt up in swaddling-clothes, pretending it was the child she
had just given birth to. And the Hera here they call Full-Grown, her
statue is a large one in a standing position. Both these statues are in
Pentelican marble by Praxiteles. There is also another statue of Hera
in a sitting position by Callimachus, they call this statue The Bride for
the following reason.
CHAPTER III.
T hey say Hera for some reason or other was displeased with
Zeus and went to Eubœa, and Zeus when he could not appease
her went to Cithæron (who ruled at Platæa), who was inferior to no
one in ingenuity. He recommended Zeus to make a wooden statue
and dress it up and draw it in a waggon with a yoke of oxen, and
give out that he intended to marry Platæa the daughter of Asopus.
And he did as Cithæron instructed him. And directly Hera heard of it
she returned at once, and approached the waggon and tore the
clothes of the statue, and was delighted with the trick when she
found a wooden image instead of a young bride, and was reconciled
to Zeus. In memory of this reconciliation they have a festival called
Dædala, because statues were of old called dædala. And they called
them so I think before the times of Dædalus the Athenian, the son of
Palamaon, for he was called Dædalus I take it from his statues, and
not from his birth up. This festival is celebrated by the Platæans
every seventh year, according to what my Antiquarian guide
informed me, but really at less interval: the exact time however
between one festival and the next though I wished I could not
ascertain. The festival is celebrated as follows. There is an oak-
coppice not far from Alalcomenæ. Of all the oaks in Bœotia the roots
of these are the finest. When the Platæans come to this oak-
coppice, they place there portions of boiled meat. And they do not
much trouble themselves about other birds, but they watch crows
very carefully, for they frequent the place, and if one of them seizes a
piece of meat they watch what tree it sits upon. And on whatever tree
it perches, they carve their wooden image, called dædalum, from the
wood of this tree. This is the way the Platæans privately celebrate
their little festival Dædala: but the great festival of Dædala is a
festival for all Bœotia and celebrated every sixth year; for that was
the interval during which the festival was discontinued when the
Platæans were in exile. And 14 wooden statues are provided by
them every year for the little festival Dædala, which the following
draw lots for, the Platæans, the Coronæans, the Thespians, the