MCPcopy Index your code
hub / github.com/blundell/WoodyFaceDetection

github.com/blundell/WoodyFaceDetection @1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.1.0 ↗ · + Follow
144 symbols 261 edges 20 files 15 documented · 10% updated 10y ago1.1.0 · 2015-05-23★ 861 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Woody Face Detection

Is a library to simplify the detection of faces using the front facing camera.

Named after a pioneer of automated facial recognition Woody Bledsoe.

Adding to your project

The Demo App shows some simple use cases.

As an example a one liner for using in an Activity would be like this:

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Woody.onCreateMonitor(this);
    }

Then you have callbacks like so:


    @Override
    public void onFaceDetected() {

    }

    @Override
    public void onFaceTimedOut() {

    }

    @Override
    public void onFaceDetectionNonRecoverableError() {

    }

Release change log

compile 'com.blundell:woody:1.1.0'

Further Reading

During 1964 and 1965, Bledsoe, along with Helen Chan and Charles Bisson, worked on using the computer to recognize human faces (Bledsoe 1966a, 1966b; Bledsoe and Chan 1965). He was proud of this work, but because the funding was provided by an unnamed intelligence agency that did not allow much publicity, little of the work was published. Given a large database of images (in effect, a book of mug shots) and a photograph, the problem was to select from the database a small set of records such that one of the image records matched the photograph. The success of the method could be measured in terms of the ratio of the answer list to the number of records in the database. Bledsoe (1966a) described the following difficulties:

" This recognition problem is made difficult by the great variability in head rotation and tilt, lighting intensity and angle, facial expression, aging, etc. Some other attempts at facial recognition by machine have allowed for little or no variability in these quantities. Yet the method of correlation (or pattern matching) of unprocessed optical data, which is often used by some researchers, is certain to fail in cases where the variability is great. In particular, the correlation is very low between two pictures of the same person with two different head rotations. "

License

(c) Copyright 2014 Paul Blundell

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Extension points exported contracts — how you extend this code

Listener (Interface)
(no doc) [2 implementers]
woody/src/main/java/com/blundell/woody/EasyFaceDetection.java
Listener (Interface)
(no doc) [2 implementers]
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java
Listener (Interface)
(no doc) [2 implementers]
woody/src/main/java/com/blundell/woody/core/LoadFrontCameraAsyncTask.java
Listener (Interface)
(no doc) [2 implementers]
woody/src/main/java/com/blundell/woody/core/FrontCameraRetriever.java
FragmentListener (Interface)
(no doc)
woody/src/main/java/com/blundell/woody/Woody.java

Core symbols most depended-on inside this repo

initialise
called by 3
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java
theseAreTheDroidsWeAreLookingFor
called by 3
woody/src/main/java/com/blundell/woody/core/UniqueActivityLifecycleCallbacks.java
onFinish
called by 2
woody/src/main/java/com/blundell/woody/core/RestartingCountDownTimer.java
initialiseWithDebugPreview
called by 2
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java
recycle
called by 2
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java
onFaceDetectionNonRecoverableError
called by 2
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java
load
called by 2
woody/src/main/java/com/blundell/woody/core/LoadFrontCameraAsyncTask.java
onLoaded
called by 2
woody/src/main/java/com/blundell/woody/core/LoadFrontCameraAsyncTask.java

Shape

Method 114
Class 20
Interface 10

Languages

Java100%

Modules by API surface

woody/src/main/java/com/blundell/woody/core/FrontCameraRetriever.java18 symbols
woody/src/main/java/com/blundell/woody/core/UniqueActivityLifecycleCallbacks.java16 symbols
woody/src/main/java/com/blundell/woody/core/DummySurfaceHolder.java13 symbols
woody/src/main/java/com/blundell/woody/core/OneShotFaceDetectionListener.java11 symbols
woody/src/main/java/com/blundell/woody/core/FaceDetectionCamera.java11 symbols
woody/src/main/java/com/blundell/woody/core/LoadFrontCameraAsyncTask.java9 symbols
demo/src/main/java/com/blundell/demo/FragmentWithPreview.java9 symbols
woody/src/main/java/com/blundell/woody/core/RestartingCountDownTimer.java7 symbols
woody/src/main/java/com/blundell/woody/Woody.java7 symbols
demo/src/main/java/com/blundell/demo/ActivityWithPreview.java7 symbols
woody/src/main/java/com/blundell/woody/core/DebugCameraSurfaceView.java6 symbols
woody/src/main/java/com/blundell/woody/EasyFaceDetection.java5 symbols

For agents

$ claude mcp add WoodyFaceDetection \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact