Full download Deep Learning for Computer Vision: Image Classification, Object Detection, and Face Recognition in Python Jason Brownlee pdf docx
Full download Deep Learning for Computer Vision: Image Classification, Object Detection, and Face Recognition in Python Jason Brownlee pdf docx
com
https://ebookmeta.com/product/deep-learning-for-computer-
vision-image-classification-object-detection-and-face-
recognition-in-python-jason-brownlee-2/
OR CLICK HERE
DOWLOAD NOW
https://ebookmeta.com/product/computer-vision-object-detection-in-
adversarial-vision-1st-edition-bhowmik/
ebookmeta.com
https://ebookmeta.com/product/whole-grains-and-health-2nd-edition-
rikard-landberg/
ebookmeta.com
Exploring the Facets of Revenge 1st Edition Helena
Yakovlev Golani Charity Givens
https://ebookmeta.com/product/exploring-the-facets-of-revenge-1st-
edition-helena-yakovlev-golani-charity-givens/
ebookmeta.com
https://ebookmeta.com/product/biotechnology-law-and-policy-emerging-
legal-issues-cases-and-materials-alessandro-stasi/
ebookmeta.com
https://ebookmeta.com/product/building-a-salesforce-powered-front-
office-a-quick-start-guide-1st-edition-rashed-a-chowdhury/
ebookmeta.com
https://ebookmeta.com/product/tied-up-thieves-and-liars-book-1-1st-
edition-shaw-hart-hart/
ebookmeta.com
https://ebookmeta.com/product/stolen-by-the-vampire-king-a-paranormal-
vampire-romance-1st-edition-roxie-ray-lindsey-devin/
ebookmeta.com
Deep Learning for
Computer Vision
Jason Brownlee
i
Disclaimer
The information contained within this eBook is strictly for educational purposes. If you wish to apply
ideas contained in this eBook, you are taking full responsibility for your actions.
The author has made every effort to ensure the accuracy of the information within this book was
correct at time of publication. The author does not assume and hereby disclaims any liability to any
party for any loss, damage, or disruption caused by errors or omissions, whether such errors or
omissions result from accident, negligence, or any other cause.
No part of this eBook may be reproduced or transmitted in any form or by any means, electronic or
mechanical, recording or by any information storage and retrieval system, without written permission
from the author.
Acknowledgements
Special thanks to my proofreader Sarah Martin and my technical editors Arun Koshy, Andrei
Cheremskoy, and Michael Sanderson.
Copyright
Edition: v1.4
Contents
Copyright i
Contents ii
Preface iii
Introductions v
Welcome v
I Foundations 1
1 Introduction to Computer Vision 3
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Desire for Computers to See . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 What Is Computer Vision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Challenge of Computer Vision . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Tasks in Computer Vision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.6 Further Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
ii
CONTENTS iii
IX Conclusions 540
How Far You Have Come 541
Preface
We are awash in images such as photographs, videos, YouTube, Instagram, and increasingly
from live video. Every day, I get questions asking how to develop machine learning models for
image data. Working with images can be challenging as it requires drawing upon knowledge
from diverse domains such as digital signal processing, machine learning, statistics, and these
days, deep learning.
I designed this book to teach you step-by-step how to bring modern deep learning methods
to your computer vision projects. I chose the programming language, programming libraries,
and tutorial topics to give you the skills you need.
Python is the go-to language for applied machine learning and deep learning, both in
terms of demand from employers and employees. This is partially because there is renaissance
Python-based tools for machine learning. I have focused on showing you how to use the best of
breed Python tools for computer vision such as PIL/Pillow, as well as the image handling tools
provided with the Keras deep learning library. Key to getting results is speed of development,
and for this reason, we use the Keras deep learning library as you can define, train, and use
complex deep learning models with just a few lines of Python code. There are three key areas
that you must know when working with image data:
❼ How to handle image data. This includes how to load images, load datasets of image data,
and how to scale image data to make it ready for modeling.
❼ How models work. This mainly includes intuitions for how the layers of a convolutional
neural network operate on images and how to configure these layers.
❼ How to use modern models. This includes both innovations in the model architectures as
well as the specific models used on a variety of different computer vision tasks.
These key topics provide the backbone for the book and the tutorials you will work through.
I believe that after completing this book, you will have the skills that you need to both work
through your own computer vision projects and bring modern deep learning methods to bear.
Jason Brownlee
2019
xi
Introductions
xii
Welcome
Welcome to Deep Learning for Computer Vision. Computer vision is the area of study dedicated
to helping computers see and understand the meaning in digital images such as photographs
and videos. It is an old field of study, up until recently dominated by specialized hand-crafted
methods designed by digital signal processing experts and statistical methods. Within the
last decade, deep learning methods have demonstrated state-of-the-art results on challenging
computer vision tasks such as image classification, object detection, and face recognition. This
book is designed to teach you step-by-step how to bring modern deep learning models to your
own computer vision projects.
❼ You know your way around basic NumPy for array manipulation.
❼ You know your way around basic scikit-learn for machine learning.
❼ You know your way around basic Keras for deep learning.
For some bonus points, perhaps some of the below points apply to you. Don’t panic if they
don’t.
❼ You may know how to work through a predictive modeling problem end-to-end.
❼ You may know a little bit of computer vision such as PIL/Pillow or OpenCV.
This guide was written in the top-down and results-first machine learning style that you’re
used to from MachineLearningMastery.com.
xiii
xiv
❼ About the promise of neural networks and deep learning methods in general for computer
vision problems.
❼ How to load and prepare image data, such as photographs, for modeling using best-of-breed
Python libraries.
❼ How specialized layers for image data work, including 1D and 2D convolutions, max and
average pooling, and intuitions for the impact that each layer has on input data.
❼ How to configure convolutional layers, including aspects such as filter size, stride, and
pooling.
❼ How key modeling innovations for convolutional neural networks work and how to imple-
ment them from scratch, such as VGG blocks, inception models, and resnet modules.
❼ How to develop, tune, evaluate and make predictions with convolutional neural networks
on standard benchmark computer vision datasets for image classification, such as Fashion-
MNIST and CIFAR-10.
❼ How to develop, tune, evaluate, and make predictions with convolutional neural networks on
entirely new datasets for image classification, such as satellite photographs and photographs
of pets.
❼ How to use techniques such as pre-trained models, transfer learning and image augmenta-
tion to accelerate and improve model development.
❼ How to use pre-trained models and develop new models for object recognition tasks, such
as object localization and object detection in photographs, using techniques like R-CNN
and YOLO.
❼ How to use deep learning models for face recognition tasks, such as face identification
and face verification in photographs, using techniques like Google’s FaceNet and Oxford’s
VGGFace.
This book will NOT teach you how to be a research scientist nor all the theory behind why
specific methods work. For that, I would recommend good research papers and textbooks. See
the Further Reading section at the end of each tutorial for a solid starting point.
"I always feel sorry to turn at the end of a great day," she answered,
"and this is the greatest day, but one, that ever I have lived."
He kissed her.
"And that one was the day you asked me to marry you, Jacob."
The Warren House stood before them under a ragged sycamore. It was
almost the loneliest inhabited dwelling in Devon, and its squat, white face
peered out upon the wilderness from under a black, tar-pitched roof. The
rabbit warrens spread on either hand and the dwelling lay in the protection
of a tumulus that piled up to the northward.
"I love this forgotten place," declared Bullstone. "In some moods—not
now, but once when I was younger and less content than now—I've thought
it would be a very good place to live, beyond the fret and cark of life."
"I'd have to be broke in mind and body and not wishful to live at all,
before I'd live here," she said.
"I'm sorry for my pretty Auna that she has to pass up here," declared
Margery. "She must be properly glad to wind away down into our beautiful
valley and come to Red House and Shipley Bridge."
"I know them well enough," she answered, "I've often met 'em coming
in with rabbits when I was exercising the dogs."
"Benny Veale's a good-looking chap, and his father's a fine old man and
kindly."
"You get to talk to a lot of people out with the puppies. Everybody's so
interested in them."
"And interested in you, I reckon. Well, you won't walk puppies and talk
to strangers much longer."
Now came a riot of life in the shape of the warrener's dogs. Half a dozen
lean, wiry creatures, barking and gambolling, ran before a man. They
worked for him on the warren, and the dead horse represented meals to
come. They wagged their tails and saluted the Irish terriers in friendship.
Benny Veale followed them—a sun-tanned, red lad in a blue sailor's jersey
and long boots. He was carrying a dozen dead rabbits, but threw them down
and saluted the visitors.
"No lack—just getting busy again; but us don't do much for a fortnight
yet."
Then an old, bent man appeared from the hillocks of the warren. He
walked with a long stick and was bowed in the back and lame; but he
revealed a cheerful countenance and proved an elderly edition of his son,
though his red hair was nearly white and had dwindled to little patches
above his ears. Upon his head not a hair remained.
"So here's the she!" he said, first shaking Margery's hand. "And I wish
you both luck I'm sure. 'Tis a terrible blow to Benny I can tell you, for he's
been chattering about you, Miss, ever since he first catched sight of you
along with the little dogs."
Benny did not hear this jest: he had gone in to prepare tea; but Jacob did
hear and little liked it.
"You're getting too old for this place and this job," he said. "About time
you took your bones down to the village, Frederick."
"Granted," answered Mr. Veale. "I did ought to be gone; but I say that
every winter, and yet find myself up for one more season come summer
again. I'm better this year than what I was last."
"Bide a bit," he said, "and smoke your pipe. Us don't have visitors very
oft I warn 'e."
"I'd like for you to come," she answered. "I hope there will be a brave
rally of neighbours I'm sure."
"Next November."
Jacob gave each man a fill from his pouch and the talk ran for a time on
dogs; then he rose to depart.
"Well, may your love adventures all turn out well and fine," said Mr.
Veale, "and the Lord remember you and be good to the pair of you."
Benny shyly took a sprig of white heath from a jam jar, where it stood
in water.
"I don't like that sort of nonsense," he said. "The young man made a
hole in his manners offering it, in my opinion. I'll forgive him this time,
because he used to be a sailor and they don't know better."
"A mannerless oaf," added Jacob, "else he'd have known wiser than to
stare at you as though you were a show. I'll ask you not to take note of him
if you meet him again without me."
"For all I know; but the woman that's going to marry me needn't trouble
whether any other man's good or not."
"That's true," she said, smiling to herself. "I never thought about how
good you were when I began to love you—only how wonderful and
precious. Love don't take much account of goodness or badness I reckon."
"Then it's a bit of added fortune to fall in love with a right good man,"
she said.
"Safest no doubt. But I wasn't quite like you. I did take into account
your goodness; and I wouldn't have let myself love you, as I do love you, if
you hadn't been better than gold. If I'd found you were light and didn't take
life seriously, I should still have been interested in you and anxious for your
future and wishful to advance it; but I shouldn't have fallen in love with
you, Margery."
"You fright me when you say that," she answered, "because we all know
lovers can't see straight; and now I shall fear you'll find me not half so good
as you think."
"There—there; now you're fishing for praise! You know yourself very
well; and if you hadn't been my sort, you wouldn't have fallen in love with
me. And don't you be fearing I'm too serious and like to bore you. I love life
and the good things of life, though work's the best of them and wears best.
But we won't miss the junkettings and revels now and then; though with
your upbringing, I shouldn't wonder if you proved a thought more stiff-
starched than I, for all my age and experience."
They chatted very joyously together and then a good thing happened,
for in the shaking moss, where a spring was born and bubbled up out of the
granite, Jacob marked a piece of bog heather, white as snow, and though he
had to wade half up his leggings to get it, he did not hesitate.
"There!" he said, "there's your white heather, and now you've got your
luck from me and none else."
"I'll treasure it up for ever and ever," she said. "I've got my luck from
you—that's a true word in the sight of God; and I hope a time is coming
when you'll say you've got your luck from me."
"Luck's a poor word," he answered. "I've got my new life from you,
Margery. All that's coming means you—all."
CHAPTER III
THE RESCUE
Two persons, ignorant of each other's presence, sat nigh the river on a
windy day in October. The latter rains had fallen, the springs were unsealed.
Each rillet was swollen to a gushing stream and the rivers ran in torrents.
North and south they shouted from their drowned fountains and hurried a
mighty volume of cherry red and spumy water back again to the Channel
and the Severn Sea, whence it had come.
Auna, running riotously high above her summer bed, hung dead sticks
and withered foliage on inundated branch and bough, to mark her progress
and leave a signal of her autumn frolic. She shouted, wild as a mænad, and
leapt from rock to rock, swirling here, flinging wide, glassy billows there,
and submerging each familiar stock and stone along her banks. The height
of the freshet was over and the river had already fallen a foot from her
torrent of the day before. Now sunshine filled the valley, while the fires of
the fall flashed on oak and beech and the last of the rowan berries.
Adam Winter, the new tenant of Shipley Farm, was a man of thirty with
a fair, commonplace face. He stood only five feet eight, but was well built
and strongly put together. He wore a small moustache and a little patch of
sandy whisker before each ear. His pale blue eyes were kindly, the
expression of his face amiable, easy and rather wistful.
He had failed at Brent and lost half his capital, an inheritance from his
dead father; and now he was trying his luck again on a smaller place, with
the moorman's privileges of turbary and grazing. A maiden aunt kept house
for him, and his right hand was an elder brother, Samuel Winter, a man
weak-minded and lacking in self-control, yet resolute to work, happy in
solitude and not difficult to manage.
Adam had made a start and being of a temperate and reflective nature in
most affairs of life, faced the future without fear. He was not ambitious, or
concerned to do much more than keep his aunt and brother and himself in
solvency. Five years earlier he had been in love in a tepid fashion, but his
romance came to nothing and its failure left him cast down for a short while
only. He soon recovered, but revived no ambition to wed.
Here, then, he lingered with the sun on his back, appreciated the gentle
warmth, smoked his pipe, listened to the thunder of the river in the gorge
beneath him and perceived that the granite bridge vibrated to its rough
challenge.
A heavy network of boughs hid the valley above him. Otherwise he had
observed the only other occupant of the spot, where sat Margery on her
favourite ledge, now only just clear of the water. The pool beneath her
remained calm no more, but was alive and dancing and deep. The bottom
had disappeared in the peat-soaked current, and little argosies of spume
trembled here with bursting bubbles, while half the backwater was hidden
under the honey-coloured churnings of the river. Her favourite, smooth
reaches were no longer smooth; her laughing stickles were drowned. All
heaved and rolled with unwonted weight of waters, and against the deep
baying of the river, Margery's puppies lifted their shrill yap. Above her
crossed the arms of oak and ash; upon the banks the fern was down and the
tawny brakes spread sodden purple under much rain. Beneath this point,
Auna narrowed to a cleft, where an augmented waterfall now tumbled into
the gully below.
Margery sat and brooded, for the day was one of eventful character in
her life. To-morrow her reign as kennel-maid at Red House would end; she
was to return home and not reappear until after her marriage. Happiness
dominated her mind; yet there were regrets. Never again would she wear
doublet and hose; and that grieved her, for she loved this attire and
marvelled why women should be denied such seemly and convenient
raiment. It was a small thing, yet not to be relinquished without sighs. And
she would be queen of the puppy dogs no more. The busy, russet creatures,
growing sturdy now and ripe for discipline, still made her the centre of their
activities and joys. Their eyes were ever uplifted to her, for she was their
god—the benignant power that ordered their world, chastened them,
cheered them and encouraged them, applauded them, made games for them,
flung fir cones for them, consoled them in disaster, shared their joy, filled
their little, ever hungry bellies.
Now they nosed her and squeaked into her ears, while she sat with
elbows on knees and chin in hands as motionless as the grey stones.
"Oh, you duckies!" she said aloud, "how am I going to say good-bye to
you even for six weeks? But half of you will be sold and out in the world
before I come back."
She pushed them away and the pups scattered to pursue their pleasure.
They were wide awake to the meaning of water and she felt no fear for
them, but concentrated on herself and the days to come.
There stole into her heart a feeling that the past had been too good to
continue long.
"It isn't often what's good turns into what's better," thought Margery.
"My days can't be so perfect for ever, if what mother says is true."
She heard a sudden howl of terror from a puppy, and leaping up, saw
one of her charges in the river. Two playing on the bank had rolled together
at water's brink, and in a moment one was over. The current tumbled the
small thing away and swept him into the main channel. He now bore down
upon Margery, who stood ten yards below, and she perceived that the sole
way to save him must be by wading to the central tide, where it gleamed
between two shallows a few yards above the fall. If she failed, the terrier
would certainly go over and make an end of himself. He was drowning
already, with terrified eyes and black nose lifted, while he swept downward
like a dead leaf, beating the water with his paws.
She did not hesitate, but dashed in at once, knee deep, thigh deep, all
unconscious of the forces against her. She intercepted the little lump of red
hair, grabbed him, and then, finding herself powerless to stem the heaving
water, took both hands to the puppy and flung him five yards to the bank.
Happily he fell light on broken fern, where he lay shivering, shaking and
weeping till his brothers found him.
To plunge before the stream had been easy but, against the flood water,
return proved impossible for Margery. The river converged and held her
now at the centre of the current, where its energies were concentrating for
the fall. She heard the roar behind her and felt fierce hands thrusting her
backwards toward it. She strove to fight forward, but her long, slim legs
were not built to oppose such power. She swayed, and as she lifted one foot,
the other was instantly swept from under her. Now she was up to her waist
and in another two seconds off her feet and rolled over. A yard above the
waterfall her head and shoulders were heaved up and she tried to catch a
rock in vain. Then she screamed, with the terror of sudden death in her
voice, and a moment later vanished in the great, amber-coloured roll of the
river, as it swept to its fall.
Her cry had been heard, though it seemed doubtful whether a human
being could survive that shattering drop, even if the rocks were merciful.
But Adam Winter caught the shriek and, jumping to his feet and peering
under the boughs, was just in time to see a human arm and leg thrust from
the resounding arc of the waterfall and hurled into the welter of foam
beneath. He knew the place and wasted no time. He judged that some
foolhardy boy had fallen into the water and been swept to destruction; but
the scream made it clear that the victim had come to his ordeal with plenty
of life in him.
Winter scrambled down the bank, flinging off his coat as he did so. If
any thought passed through his mind as he automatically rushed to his task,
it was one of annoyance that he should be called to a business so
unpleasant. The discomfort troubled him more than the danger; indeed for
him there was little danger. He jumped over a bank into the river, found it
reach to his middle and then ploughed up from the shallow end of the hole
to the deep water under the fall. The place was dark and full of the din of
the water. He saw a hand sweep up and disappear; then he left the ground
and swam a few strokes to the boiling dance of the foam.
The girl remained quite unconscious. She was not heavy and he made
good way, finding time to wonder what had brought her into the river. Then
the puppies appeared and crept in doubt and dismay round him. To see their
god limp, silent, still, thus carried in a man's arms, appalled them. They
barked and whimpered, but would not lose sight of their guardian and
followed in an agitated company at Winter's heels.
Thus they came, until Bullstone, proceeding under the fir trees to find
Margery, suddenly discovered her in Winter's arms. The blood surged up to
his face; he stared; he snorted and then charged forward.
"Fell into the river and went over the rocks into the pool," said the
younger man quietly. "Please the Lord she ain't dead. I don't think she is."
Jacob was panting.
"For any man but me to touch her!" he almost groaned, to himself rather
than the rescuer.
Winter stared and stopped. He was about to explain events, but Jacob
strode away, the puppies streaming behind him.
He lifted his voice and bawled for help before he reached his door. Then
Mrs. Bullstone hastened and found him already beside the kitchen fire. He
lowered Margery to the ground, bade his mother undress her and went for
brandy.
In time they arrived, to a turmoil of talk and tears from Mrs. Bullstone
—a dislocated, agitated upheaval in which Judith Huxam and her daughter
alone preserved calm. The physician found Margery bruised and cruelly
shaken, but without a broken bone. There was concussion, how severe he
could not immediately determine.
For the last time that day Bullstone was staggered beyond reason.
With deep emotion he came to her and gasped to see how small
Margery appeared, sitting up with a pink shawl round her shoulders and her
hair down.
"Properly mad, and must mean a screw loose in you," he said. "To go
into a raging torrent like that for a puppy! You never thought of me."
"Of course I thought of you," she answered in a weary, little voice. "It
was your dog and I had to save it. But in truth I thought of nothing. I was in
the water before I began to think."
The threatened shadow seemed still to hang over her. Her voice was
weak and her manner listless.
"I'd give ten years of my life if it had been me who rescued you," he
said. "It's proper gall to think that any other man did it."
"Forgive him! The mischief is that I'm under a life-long obligation now,
and he may be the sort to rub it in. Not that he'll need to. I shan't forget that
my debts are for ever beyond payment."
"Not yet."
She was silent and then expressed a desire that startled her lover.
"No more have I. But I'm not going to let the day pass before I do."
"No, Jacob. Life's life. I'm properly thankful not to be drowned. Think
what he's done for me! If you say a word against, you'll vex me, and I
mustn't be vexed."
The subject dropped while she talked of her accident—such of it as she
remembered; but she felt desirous to know the exact sequel, and that only
Adam Winter could tell her. When Jacob put her off and told her to trust
Winter to him, she became quite silent. Then she asked him to leave her.
He went and presently the doctor called and gave a good report. He, too,
brought discomfort, for Margery had repeated her wish to thank Adam
Winter, and begged that she might do so immediately. She was wilful and
strangely insistent, as it seemed to Jacob. Her mother, however, supported
her and held it a right thing to happen. The doctor therefore advised that Mr.
Winter should see her before she slept. He had found Margery so
completely recovered that there was no need to call again.
"Keep her in bed one more day, and then let her get up and stop by the
fire," he said. "Youth will never cease to astonish me."
"You've done more than I can pay, as you well know," he said, "and
that's granted; but if it's ever in my power to lessen the obligation, I gladly
shall, for I little like to be in any man's debt."
"No need to talk that way. There's no debt and no obligation. Who
wouldn't have done the same? Didn't Miss Huxam go in the water herself
after a puppy? We do these things, not for any return, but because we must.
I'd have done as much for a sheep—so would you. I hope she's out of
danger?"
"She's wishful to see you—nothing will do but she thanks you herself
this instant moment."
"So I say—no hurry anyway; but that's her will and she must be obeyed,
if you please."
"Them caught from the grave like that did ought to be humoured," said
Adam's aunt. She was a little woman with grey hair and a red face.
"I'll come, then, if it must be so," said Winter. "The green plover be
back, and I shot a brace this morning. Will she accept 'em?"
The men returned together. Their walk had been silent on Jacob's part,
while Adam related the particulars of the rescue.
"I properly thank you," said Margery, when they ascended to her room
and Adam took a chair in the window, while Bullstone stood with his hands
in his pocket at the foot of the bed and Judith Huxam sat beside it.
"We'll never, never forget it, Jacob and me," continued Margery.
"I hope you will, then," answered the farmer. "Why such a noise about
it? Duty's duty. In fact 'twas more of a pleasure than a duty, I'm sure, and if I
hadn't much feared you was a goner, I should have enjoyed the fun."
Jacob's eyes were restless, he frowned and moved about. Then he turned
his back and examined some family photographs on Margery's mantelshelf.
"To save a life is a great thing, Mr. Winter," said Mrs. Huxam. "Now,
whatever your own life's got in store for you, you can always remember that
you had a hand, under God, in keeping a human creature alive."
"It's a wonderful thing to look at a man who's saved your life," said
Margery.
"Wish I was a finer object," he replied.
Jacob hid his emotion, but had to speak and occupy himself. The invalid
was nursing two young puppies from the last litter. She had demanded
something to play with.
"Best let me take them back," he said. "Mustn't keep Mr. Winter—he's a
busy man. And mustn't spoil young dogs. Bless it, you're cuddling them as
if they was a brace of babbies!"
She was wilful still and continued to speak in a tired, small voice.
"Are you fond of dogs?" she asked, and Adam declared that he was.
"So do I," she replied. "Jacob can't see the human side of dogs—no, you
can't, Jacob. He's all for discipline."
"Quite right too," declared Winter. "You must put into the heart of a dog
his bounden duty from the first, else he'll grow up a nuisance to himself and
everybody else. Work did ought to be found for every dog. If it ain't, they
think life's all play and that makes 'em selfish."
"Jacob's the whole law and the prophets about dogs," asserted Margery.
"They're blessed creatures and nothing's too good for them—you know you
think so, Jacob."
"They haven't got souls, however," explained Mrs. Huxam, "and you
had no sort of right, Margery, to run the risk of drowning for a dog."
"Some dogs have got far bigger souls than some men," answered her
daughter; "and you've only got to look in their eyes to see 'em."
"That's a wicked thing to say, and I'm sorry you said it," replied Judith.
"It shows your mind is wandering still and there's fever left in your brain.
So these men had best to be gone. You forget your religion, Margery."
The girl was silenced, but Adam Winter, who did not fear Mrs. Huxam,
ventured on a doubtful joke.
"The dogs have got religion anyway," he assured them, "for I'm sure the
little ones worship your darter, ma'am; and the big ones worship Mr.
Bullstone."
Adam Winter, conscious that his last remark had annoyed Mrs. Huxam,
though she did not answer it with words, got up to go his way.
"Mustn't bide no more," he said. "And I hope you'll soon be down house
and as right as rain, Miss."
She stretched out a hand and he took it and stood a moment on his way
to the door.
"Mind you come to our wedding," bade Margery. "I will have you there;
there wouldn't have been a wedding at all but for you."
BOOK I
CHAPTER I
JEREMY
The market town of Brent differed but little from like boroughs linked
by the artery of the railroad to centres greater than themselves. It grew,
reacted to the ordinary stimuli and, upon discovery of Dartmoor as a
healthful resort of pilgrimage, enlarged its borders to meet increasing
demand.
An environment was created after the usual pattern, and from the village
centre of shops and cottages, there extended good roads on which stood
single and semi-detached houses with gardens about them. The class of
shop improved to serve the class of customer; the atmosphere thickened
from its primitive simplicity. Change increasingly dominated Brent,
creating an environment wherein to be honest and fearless grew more
difficult, while cowardice and hypocrisy were encouraged by the nature of
things.
Human capacity was displayed at its customary levels; greed and creed,
after the inevitable rule, dominated the minds of men and women and
infected the minds of the children. Education progressed, but its evidences
were often painful, and, along with it, things worthy of preservation
departed for ever. Modern education promotes selfishness and egotism in
the pupil, but neglects any valuable formative influence on character—the
result of that narrow and unimaginative type of man and woman foremost
in the ranks of the certified teachers.
Of such were the postmistress and her husband, Judith and Barlow
Huxam. To the Chosen Few they belonged—the woman from her birth, the
man by adoption; for Judith insisted, as a condition of marriage, that
Barlow must join her particular sect and he, much in love and of no deep
convictions, did not hesitate to oblige her. And still the pair worshipped
with that mournful denomination, while the Chosen Few lived up to their
proud title and became yearly fewer. This fact brought sorrow, but not
surprise, to Mrs. Huxam. Fewer, indeed, were chosen, for the good reason
that fewer deserved to be. She took a long view, and though admitting that
her own generation was painfully distinguished by a lack of just persons in
all classes, yet hoped that better times might be coming and subsequent
humanity provide a more handsome inheritance for the Kingdom.
Apart from her religious predilections, Mrs. Huxam was stern, but
reasonable. She knew that offences must come, while regretting that more
appeared to come from Brent than most other places. She was not
censorious, though glad to remember that the mills of God always ground
small in the long run; and she never wavered in conviction that all was for
the best and divinely preordained.
Her husband she honoured and respected, and indeed he was a man
worthy of respect and honour. He had earned admiration and applause, for
to have lived with Judith through thirty-five unclouded years argued great
gifts of patience and philosophy on the part of Mr. Huxam. They worked in
perfect amity and their drapery establishment was still the most important
shop in Brent.
Judith felt prouder of her own family than her husband's, and a slight to
any member of the clan was an affront upon herself. A bachelor brother
lived at Plymouth. He owned trawlers and prospered, letting it be known
that his niece, Margery, would some day inherit his possessions. Mrs.
Huxam's father, Tobias Pulleyblank, a saddler, had been dead ten years, and
her mother passed a year earlier. But other Pulleyblanks still flourished
round about. They lifted steadfast lights on a naughty world, and nothing
had disappointed Judith Huxam more than to find that Pulleyblank blood
was not pre-potent in the veins of her own boy and girl. They both lacked
that steel of character and indomitable will power she herself possessed;
and though Margery Bullstone, the elder child, married to a prosperous
man, had done her duty and given her mother just cause for gratification
and contentment, of Jeremy, her son, this could not be admitted.
Barlow and his wife were in bed. They retired early and, as a rule,
conversed for an hour on the interests of the day before sleeping. When Mr.
Huxam stretched his hand for a little box beside him and took a
mucilaginous lozenge for his 'tubes,' that was the signal that conversation
must cease and sleep be sought.
"It's lack of purpose," said Judith. "He's like one of them ants you see in
the woods. They'll tug and tug and wander this way and that, pulling along
a scrap of rubbish; and they'll climb up a stone and fall off a score of times
and get no forwarder. Yet you can't deny the creatures are busy enough. Of
Jeremy you can only say that he's himself and made as his Maker willed
him to be. He'll never treat time like a servant, but let it master him. That's
what our Thomas understood, though only a child when he died."