Neural Nets + Face detection/recognition

Does anyone have any experience with this, I've been struggling to find decent resources on whether or not building an ANN in Java for this purpose is a reasonable idea or not, even to produce something that wouldn't necessarily, or likely, be massively successful.
In fact, I've come across very little actual code for this in any programming language so whilst preferring Java, to see any implementation would be interesting for me. I'm aware of JOONE(?) but I suspect that's a relatively mature project and I'd like to see smaller examples of ANNs so I can get some of the concepts first.
Is it feasible? Are there any online documented instances of people doing this where their code is available? It needs to be *nix too, I did find a link to a VB program but that's not much good as I don't have a Windows box.
Thanks

For face detection/recognition, a BAM (Biderectional Associative Memory) neural net would do fine.
Google for 'Kosko' or ''Bidirectional Associative Memory'. It's quite easy to implement, just a bit
of matrix multiplications ...
kind regards,
Jos

Similar Messages

  • Re-run face detection

    Hi,
    I jumped from 06 to 11 so faces is a new things for me. I tried to search for a way to re-run the face detection after matching 500+ photos. Is there a way to use existing database to work on the rest of the photos?
    Thanks in advance.
    Cheers,

    It seems like one of the more requested enhancements on the forum
    The official Adobe feedback forum already has 35 people requesting it: Lightroom 6/CC - Allow facial recognition feature to re-index a folder/collection. Please add your vote and opinion.

  • How to re-run face detection?

    Dear community,
    I have accidentally deleted all detected faces in Lightroom CC today. How can I re-run face detection for my catalogue?
    Thanks for your support!
    Jan-Henrik

    It seems like one of the more requested enhancements on the forum
    The official Adobe feedback forum already has 35 people requesting it: Lightroom 6/CC - Allow facial recognition feature to re-index a folder/collection. Please add your vote and opinion.

  • Face detection hit and miss

    I am finding this feature to be very hit and miss. I have a lot of folders with full-on, well-exposed face shots that LR is not picking up faces in, and other folders with partial faces that are obscured, dark, or over blown that it is picking out faces in. Then there were the random squiggles of grass that LR thought was my very bald brother...
    There doesn't seem to be a way to get it to re-check folders, and "find similar faces" doesn't seem to do anything but look for faces I've already confirmed - the naming makes it seem like if you say, "Hey, here's a face to look for," it would go back through the folder/catalog and look for similar faces that weren't already picked out.
    It's got potential, but in its current state, I'm going to have to go through and manually choose faces in thousands of photos that LR theoretically should be picking out. Bummer.
    Keep working on it, Adobe.

    My experience so far with LRs face detection is a little disappointing as well.
    I understand that machine face recognition has severe limits. Persons age, change in expression, glasses, hats... not to speak of angle of shooting, light conditions etc etc. Plus it needs to be computationally feasible.
    And yet when I started to name a person, particularly after having tagged some childhood pictures, the suggestions started to get very very odd, including faces from the opposite sex, some graphic ornaments on a wall, and ancient Greek statues.
    And then going through a large collection (again!), with thousands of clicks...
    Adding to the disappointment: Although LR CC writes face data to XMP-mwg-rs tags (jay!), it does NOT read and process existing XMP-mwg-rs written by other software (Nooooooo!).
    Thousands and thousands clicks to go, again...

  • Face Detection on iPhone4s freezes on faces & won't work! Help!

    Hi all. I've been searching all across the Internet in hopes that others are having the same issue as me. I'm hoping that anyone can shed some light on why this keeps happening to me.
    I purchased a brand new iPhone4s in December of 2011. My phone was working great till around April 2012, I began having the issue that if I take a picture of people with the apple camera app (both front & back camera), face detection locates the faces but then freezes on me. Many times the camera won't take the picture and then shuts down and restarts itself. Other times, it will take the picture but only after several minutes. The camera app works great on landscape, but not faces. It doesn't matter if I'm opening the camera from the lock screen or in my unlocked phone.
    I took my iphone into the apple store numerous times and it was eventually replaced. I started with a clean phone and just in case, I uploaded my apps back on my new iphone from itunes, not icloud. I did this to avoid installing the problem back on my iphone. Sadly, the problem is now arising again on a replaced iphone.
    In addition, on my orginal iphone (before replacement) sometimes, if I would want to edit a picture in the camera roll, the picture would freeze and cause my phone to shut down and restart. I haven't encountered this problem yet on the replaced iphone.
    Is this problem happening to anyone else? Please help. Thank you!

    Hello, I would like to add that I recently experienced this problem with iPhone 4S. Multiple face detection defeinitely causes the camera app to lock up, whereas scenery pictures do not. It just happens to be rare for me to take pics with many people in them on my iPhone, so I was suprised to find this happening.
    The only advice I could find was a forum post, which suggests the key is to always "unlock" before entering the camera app. Meaning, the quick-slide access to camera from the lock screen may be at the root of the problem.
    http://www.iphoneforums.net/forum/iphone-camera-67/iphone-4s-camera-multiple-fac es-detection-prevents-photos-being-taken-no-shutter-41481/

  • Disable face detection for projects

    Is there a way to have Aperture, not to use certain Projects for Face Detection?

    Bummer. That means Aperture is working on literally thousand of useless faces.
    And I have to go through the effort of rejecting potentially hundreds or thousands of false hits for no reason whatsoever.
    My short-term answer:
    1) Recognize Faces only on a per-project basis with the contextual menu.
    2) Turn off Faces in Prefs unless I'm using them in a session.
    3) Cancel Face Recognition in the Activities Window if it starts up otherwise.
    Apple needs to fix this. Aperture is not iPhoto.

  • I downloaded ios5.1.1 to my phone, but i dont like the new software. The face detection used in the camera jut isnt for me. So, i would like to know if there was a way to undo the update and go back to ios 5.0.1. My iphone is not jailbroken or unlocked.

    i downloaded ios5.1.1 to my phone, but i dont like the new software. The face detection used in the camera jut isnt for me. So, i would like to know if there was a way to undo the update and go back to ios 5.0.1. My iphone is not jailbroken or unlocked.

    The face detection used in the camera jut isnt for me.
    Try a different camera app.  Camera Plus is a good one and there are many others.

  • Forcing Face Detection for All Pictures in an Event

    Aperture 3.0 fails to detect all faces in all photos in an Event. Is there a way to force face detection for all photos in an Event? As it stands now, one cannot tag photos for faces if Aperture decides (erroneously) that photos don't contain a face.
    Spent ninety minutes with Apple Aperture Support, who confirmed this.

    I don't know how to answer your first question (force it for all photos), but I thought you could add faces / names to a photo using the Name button left hand side of the toolbar. I've used it today to add a "Face" to a photo containing two hands because I wanted to tag each hand with a Name. So I clicked Name, and drew a box on each hand and added a Name to it. So it works for a single photo but that might be a pain to do for a lot
    David

  • Tips For Improving Face Detection Accuracy

    These are some rules I have slowly discovered that have helped improve the accuracy of iPhotos' face detection.
    a. Don't force iPhoto to recognize *+every single+* instance of an individuals face. (If you need to create a location containing every instance of an individual, then you need to setup a Smart Folder using the persons' name as a Description or Keyword. "Faces" is not the section to do this. See a suggestion below for using "Faces" to do this.)
    b. Avoid confirming really poor quality examples of a persons face (low light, pixelated, off in the distance, etc)
    c. Avoid confirming only partially visible faces (hair covering half the face, head turned away to a profile, extreme angles too high or too low, etc)
    d. Avoid too many instances in which the person's eyes are closed. (Obviously, sunglasses are a real problem here as well)
    e. Avoid instances where the persons head is tilted 45 degrees or more, unless the software recognizes the face on it's own.
    f. Avoid instances where the face has areas of heavy shadow, and the light source is at right angles to the face. (Outdoors with Sun directly overhead or near horizon.) If face is in an "even" shadow that seems to be OK.
    g. Clearly, the more full frontal, clearly lit views of an individuals' face you can include, the better the face detection will be.
    h. If you do use the "Add Missing Face" button, then restrict the selection box to just around the eyebrows, nose and mouth. Avoid selecting the whole head since the face detection software concentrates on the features in the center of the face. No need to include the hair as it does not appear to be a factor.
    *Gathering Every Instance of a Persons' Face*
    Here is how you could use "Faces" to gather every photo of an individual, yet maintain its' face detection accuracy. Mind you, this may only be practical with relatively small libraries, not libraries with 10's of thousands of photos.
    1. First, go ahead and name *+every instance+* of an individuals' face (Even poor quality examples).
    2. Then, within the "Faces" corkboard section, open that persons' album and "Select All" of their photos (Do this before the Faces scan is complete or you will also select all of the suggested faces under "So-and_So may also be in the photos below")
    3. Next, create "New Album from selection..." and give it the name of the person. (Alternatively, you could "Batch Change..." all the selected photos with a "Description" using the persons' name and then use a "Smart Album" to gather all of the persons' photos. This could be handy for adding future photos of the person automatically to the Smart Album.)
    4. Once that is complete, now "Reject" all poor quality, or partially visible examples of the persons' face within Faces. This will improve the software's future accuracy at detecting the persons' face in new photos added to the library.
    If, at a future date, you add another large group of photos containing that persons' face, you can repeat steps 1 & 2 and simply drag all the photos to the persons' Album. Or "Batch Change..." the Description again to automatically include the newly added photos to the Smart Album you created earlier.
    In the end I have discovered that the Faces section of iPhoto is really more a "tool" for creating Albums, rather than a destination for viewing photos.
    Hope this helps. Feel free to add any suggestions you have discovered for improving the face detection accuracy.
    Cheers

    Glenn Carter wrote:
    h. If you do use the "Add Missing Face" button, then restrict the selection box to just around the eyebrows, nose and mouth. Avoid selecting the whole head since the face detection software concentrates on the features in the center of the face. No need to include the hair as it does not appear to be a factor.
    Apparently you shouldn't worry too much about what you select for the face area when using "Add Missing Face"... From Apple's knowledgebase at http://support.apple.com/kb/HT3427:
    Note: Only faces that have been automatically detected in your photo library will help iPhoto match faces. Manually identified faces will not aid iPhoto's face-matching ability.
    So, unless they later come out with an update that actually uses that data, any effort you make in selecting especially accurate face regions is going to waste. (Though I'll admit I'm still putting in the effort in the hope that the data will someday be used for something in a future version of iPhoto...)

  • Is any software available for face detection to unlock screen?

    is any software available for face detection to unlock screen?

    No. Third party software annot control the operating system.

  • Neural net implementation in LabVIEW

        I've got a project coming up that may be a good candidate for a neural network algorithm.  I've done a search on neural net applications and examples in LabVIEW but came up with very little.  The Dev Zone has one white paper on it, but without any examples and few specifics.  Lava had a reference to a book, but not any actual LabVIEW code.  I'd be surprised if no one has done this before.  Does anyone know of some good examples?
    Thanks,
       Dave T.
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Hi Dave,
    The DevZone example here is for version 4.1. Attached is the same example for 8.2
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer
    Attachments:
    neural_net_learner.zip ‏143 KB

  • Face detect behavior on previously tagged images

    Hi,
    I transfered all my previously tagged images (before face detect feature was available) to the newly created "people" tags. For example, PSE8 face detect created a tag for Claudia (my wife), I then transfered all the photos with my wife on them that I had manually tagged before PSE8. I did that for all my "favorite" faces. Of course, all the photos added to the organizer AFTER installing PSE8 have been added using this feature
    PSE8 keeps asking me "Who is this?" for older photos (added before PSE8) even when these photos are already tagged with the proper face tags.
    How should I proceed?
    How should I handle photos that were added before PSE8?
    Should I keep "teaching" PSE8 so it recognized the faces for all my pre-PSE8 images?
    I have around 3,000 images in the organizer pre-PSE8
    Any comments will be greatly appreciated

    Thanks John.
    In a related question. PSE8 face detect algorithms do not seem to remember one of my favorite faces (wife wife's!!)... In every rectangle of her face, it will never suggest her name from the usual three options... it will autocomplete her name, though. Even after several sessions, it will never suggest her name.
    Is this common?  This behavior seems only specific to her face.
    Should I delete her face tag and start all over?
    What do you reccommend?
    Thanks

  • Problem in implements ADF Faces: Detecting and handling user session expiry

    Hello everybody
    I´m trying to implement a method to handle user session expiry as explained by frank nimphius in his blog.
    http://thepeninsulasedge.com/frank_nimphius/2007/08/22/adf-faces-detecting-and-handling-user-session-expiry/
    I have implemented the class bellow and add the filters in web.xml. However when I add the JavaServer Faces Servlet to sign the filter, my hole application get nuts. I try to publish the applicatoin in the OAS and it seems that it already starts expired.
    Someone konw what I´m doing wrong?
    I use the filter
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>adf.sample.ApplicationSessionExpiryFilter</filter-class>
    <init-param>
    <param-name>SessionTimeoutRedirect</param-name>
    <param-value>SessionExpired.jspx</param-value>
    </init-param>
    </filter>
    then I add
    XML:
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    package adf.sample;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    this is the class
    public class ApplicationSessionExpiryFilter implements Filter {
    private FilterConfig _filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
    _filterConfig = filterConfig;
    public void destroy() {
    _filterConfig = null;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    String requestedSession = ((HttpServletRequest)request).getRequestedSessionId();
    String currentWebSession = ((HttpServletRequest)request).getSession().getId();
    boolean sessionOk = currentWebSession.equalsIgnoreCase(requestedSession);
    // if the requested session is null then this is the first application
    // request and "false" is acceptable
    if (!sessionOk && requestedSession != null){
    // the session has expired or renewed. Redirect request
    ((HttpServletResponse) response).sendRedirect(_filterConfig.getInitParameter("SessionTimeoutRedirect"));
    else{
    chain.doFilter(request, response);
    I'm really having trouble controlling user sessions. if someone know where I can get materials to learn how to implements session in Jdev ADF + BC, I´m very grateful.
    Thank you Marnie

    The class works fine.. the issue is when I add the this code into web.xml
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    bellow the web.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>userinterface.DataBindings</param-value>
    </context-param>
    <filter>
    <filter-name>ApplicationSessionExpiryFilter</filter-name>
    <filter-class>view.managedBean.ApplicationSessionExpiryFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>ApplicationSessionExpiryFilter</filter-name> ==> the problem occurs when I try to add this code
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>1</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/pain</mime-type>
    </mime-mapping>
    </web-app>
    By the way, how can I post code on the forum properly?

  • Why No Face Detection for Mobileme Gallery?

    I know to perform face detection, i goto Events, select a photo, then click the "Name" icon on the bottom toolbar, type in the name, and iPhoto will take care of the rest.
    But when i open the Mobileme galleries in iPhoto and select photos, there is no "Name" icon on the bottom toolbar. How could i perform the face detection for mobileme photos then?
    Help very much appreciated

    You can't. You'll need to do your naming with the versions in your Library.
    Regards
    TD

  • IOS photo app vs iPhoto, keywords, smart albums, face detection?

    greetings,
    i have some questions about iOS photos app in comparison to iPhoto (in 10.8).  i've done a little searching on the web and in the forum, but didn't see this covered...
    i always sync my iPhone to my mac, copy/import my photos to iPhoto, and use iPhoto to organize my photos.  in iPhoto, i tag photos (keywords) and use "smart albums" to access all my photos based upon the keyword tags.  face detection in iPhoto is GREAT!.   i have all my friends faces named and finding them by "people" grouping is fantastic.  the down side to all of this is that i have everything working great on my mac, but usually i'm using the photos app in the iPhone to show pics to my friends since that is what i have with me.  i'm not sure if this information in iPhoto ever gets synced back to my iPhone. 
    1- does the iOS photos app have any of these features from iPhoto? 
         in other words, can i tag photos, lable the faces of friends, set up smart albums in iOS photos?  if so, please point me to some info.  i haven't seen an obvious way to do any of this. 
    2- can i sync what i do in iPhoto back to my iPhone?
         in other words, can i get the tags, peoples' names on their faces, and smart albums copied from iPhotos back to my iPhone?  is there some setting or command in iPhoto, or somewhere else?
    3- i just turned on photostream.  can/does this iPhoto data transfer via photostream to the iPhone?
    i have an iPhone 4.
    i am just about ready to upgrade from iOS 5 to iOS 6.  so if any of these features are specific to iOS 6, please let me know. 
    i'd appreciate it if you could mention if there is anything special about iOS in the iPad, because a friend has asked me how she can do in her iPad (iOS 6), what i do with iPhoto in my mac. 
    thank you for any suggestions or advice. 

    You're best bet would be to do your own comparison: https://itunes.apple.com/us/app/iphoto/id497786065?mt=8
    https://itunes.apple.com/us/app/iphoto/id408981381?mt=12

Maybe you are looking for

  • Counting the number of IDocs in a package of IDocs in BPM

    Hello All,     I need a solution where I need to count the number of EDI_DC40  segments (The IDoc Count) in a package of IDoc's. The following is the scenario 1) We are receiving a package of IDoc's in receive step using the XI File Adapter. I was wo

  • Backing up in time capsule

    I have my time capsule 2TB connected to an Imac. I have been ripping my DVD library to the Imac in order to add them to my itunes library. After ripping 15 movies the Imac disk got almost full. What should i do to keep my personal movies backed up in

  • Photos not visible in slideshow

    Some imported photos will not show in slideshow or when trying to open the photos to a larger picture by double-clicking on the smaller photo image. When the photo opens it appears for a moment and then is replaced with an ! Within a triangle. NB the

  • Playing website videos requiring flash media player.

    Websites such as cnn.com and foxnews.com as well as many others offer video clips for viewing, but they require use of a flash media player. Is it possible to play such clips on an IPhone and, if so, how?

  • 5800 XM Mini-QWERTY and handwriting not available ...

    Hi, just got the phone two days ago, and am really loving it. Some bugs as is expected of such a new product, but on the whole a really nice piece of kit especially for the price. One problem though came up after I updated to the newest firmware, V 2