Facial Recognition error

I wrote some facial recognition software and posted the code below. It does compile fine but for some reason gives me an error when I run it. There always seems to be an exception thrown while it is analyzing the eyes of a new face. My coding standards may be a little different than what you are used to.
------ file FaceRecognizer.java ------
public class FaceRecognizer {
   public static void main(String args[]) {
     Face f = new Face();
     Face f2 = f;
     if (f.equals(f2)) {
         System.out.println("Faces are the same person!");
        class   Face
        {Face(){ int
        _=1,__=1;int
        X______ = 1,
    ________ =1, _____=1     
   ;;  _-=_   ;  _=-_  ;;
   ;;;   __=     __    ;_
    =   (0 )   /(0 )   ;_
    =        1|        1   
    |        1|        1
    |       (__)       |
    1*    ________     ;
    _=    X______/     1
     -_               /7
       -_           /7
         -________/7;
---- end of file ----

I don't know if you were looking for an actual answer, but this compiles AND runs:
------ file FaceRecognizer.java ------public class FaceRecognizer {
   public static void main(String args[]) {
     Face f = new Face();
     Face f2 = f;
     if (f.equals(f2)) {
System.out.println("Faces are the same person!");
        class   Face
        {Face(){ int
       _=1,__=1;int O=
       1 ,X______ = 1,
    ________ =1, _____=1
   ;;  _-=_   ;  _=-_  ;;
   ;;;   __=     __    ;_
    =   (O )   /(O )   ;_
    =        1|        1
    |        1|        1
    |       (__)       |
    1*    ________     ;
    _=    X______/     1
     -_               /7
       -_           /7
         -________/7;
///////////////////////////---- end of file ----
I just changed the eyes to an O instead of 0, and added an int O on the hat.
Very cool, by the way...

Similar Messages

  • PSE 9 - Error converting facial recognition data

    After PSE 9 successfully converted my PSE 8 database (16.5K items), I went to open the newly converted database. I received a message that it was converting the facial recognition data.
    The first time I tried doing this, the facial recognition conversion stalled at 80%. So I deleted the new database and reconverted the PSE 8 data.
    This time, the facial data conversion went to 100%, but followed up with several messages that the conversion failed and that most (all?) of the facial recognition data was deleted and would have to be redone.
    Fortunately, I have only played with facial recognition a bit and didn't rely on it for tag generation.
    However, I thought someone might want to know about this. I would be happy to upload my PSE 8 catalog if Adobe want's to try to recreate the problem. It is almost 850MB, so it would take a wjile to upload....

    What yetanotherron reported looks very similar to the problem I had after upgrading to PSE 9. The PSE 9 Organizer remained in "Restoring facial recognition data" forever and I could never use it.
    In another thread on this forum I saw the recommendation to hold Ctrl + Alt + Shift while clicking on "Organizer". I did this, holding these keys until the Catalog Manager came up. I could then convert the catalog to a PSE 9 version and open it. From then on I could start the Organizer without problems.
    The problem seems to be that the installation routine of the upgrade has no provision for converting the catalog from the older version.
    I still have these problems with the converted catalog:
    1. all the RAW files are hidden in my PSE 8 catalog. The "Hidden" status is ignored by Organizer 9 so they are all visible again.
    2. the folder location data after conversion shows pictures in the wrong folder. That's quite a mess which I have reported to Adobe.
    I'm afraid Adobe launched PSE 9 before it was ready.

  • Facial recognition problem

    I just got Lightroom 6 and was sreening my previous catalog (LR3) to do facial recognition. I focus on few people (~10) to start with and I was pretty happy to get few hundred pictures recognize. and then suddently I got three facial identifaction tags mixed up in a single one without any warning? I thought that I did a misstake but now I got sometime an error message when trying to identify manual a face in a picture (see below). So I am worring that my catalog corrupted.
    I have a catalog of around 60000 pictures that I have been working on since 3 years without any problem.
    Any of you had a similar problem, could it be a bug in the apps?
    Thank for your help.
    Regards

    Hi jean-yvesi6479191,
    watch this tutorial by Julieanne Kost to be sure you have completed all the steps right Facial Recognition in Lightroom CC - YouTube ,

  • Qosmio G55-q802 - facial recognition problem

    Ever since I received my laptop the facial recognition program will not work. It comes up with an error and says camera device failed to initialize. Either the device is in use by another application, or it is not recognized by the system. The Toshiba camera utility works. Ive even tried installing the latest drivers off the web. I saw one post on a yahoo site that stated turn off cec_main in task manager but that program is not even running.
    I tried calling tech support which was totally useless. They told me to call back and ask for tier II. Anyone else experiencing this same frustration? Other than this issue this laptop is flawless!!!!!
    G55-q802 with Vista 64 bit installed

    Hi my friend.
    Listen, I choose Windows Vista 32 Bit. I do not know if it is considerable in this error.
    But I had the same problem.
    I now have solved. How?
    First, I uninstalled the software Toshiba Face Recognition.
    Then, I downloaded the software from the Toshiba Web Page and reinstalled.
    Then it functions great.
    Please, try it and notify if it was successfully.
    Regards,
    Daniel

  • Multiple iPhoto libraries facial recognition

    I have decided to use multiple iPhoto libraries. In one library I have used facial recognition for all of my photos. Q: When I move to the next library will iPhoto recognize those faces?

    No
    One of the many reasons that multiple libraries are not recommended - iPhoto is a SQLite database and it is most powerful when you have one database - there is no connection of any sort between different libraries
    LN

  • Lightroom 6 / CC2015 - Facial Recognition Terribly Slow, not using all of CPU or GPU, still keeps going when paused.

    This is actually a couple of issue but wondering if others are experiencing it and worked through it.
    I am using a Dual Xeon CPU 3.2 ghz Mac Pro, Catalog on SSD, Images files on Mirrored Pair, Dedicated GPU (max I can install in my version of Mac Pro) and hardware acceleration enabled in Lightroom.
    I watched the Lightroom 6 Facial Recognition tutorial which leaves out a lot of the bulk editing and says basically let it loose on your whole catalog.. NOT recommended.
    I started out with a couple small portrait galleries that identified a couple hundred total people to seed facial recognition so it didn't suggest everyone is the first person I confirmed (which it will do otherwise). I have also optimized my catalog multiple times.
    I have encountered the following serious performance issues and bugs with Facial Recognition.:
    Lightroom Facial Recognition goes to a ridiculous crawl after about 2000 images to be confirmed. (i.e. 2000-2300 in a couple hours, 800-1200 in the next 12 hours)
    Lightroom becomes largely unresponsive after having a fair number of images to be confirmed, even after pausing Address and Facial Recognition. So even selecting 4 rows of images can take 5 minutes with several long pauses.
    Once I select and click confirm it takes up to 2 minutes to update the "to be confirmed" list again.
    When I click on an individual at the top of the page, pause facial recognition and address lookup it still continues to "Look for similar faces" [BUG!!!!!!!!] even though all I want to do is just confirm some individuals more quickly in bulk with the images already identified.. not continue to look for more as a work around for the painfully slow responsiveness of the module.
    The odd part is that with all of the performance issues Lightroom will not use more than 20-30% of my two Xeon CPUs, barely touches my GPU (<10% CPU, 30% memory), my and no more than 35% of my memory. Computer Temps are also barely above startup temperatures and 15-25 degrees cooler than when I run other applications which will consume my entire CPU and memory if I let it. I have explored Lightroom's settings but seen nothing further I can configure to speed it all up.  I have also attempted the operation on images on the SSD, my drobo (known to be slow), an independent fast disk I have, and a pair of raided disks and have the same issues.
    I will also note that all of my other applications seem to continue to operate just fine.. the slowness seems to be contained to the Lightroom application itself.
    Lightroom version: 6.0 [1014445]
    Operating system: Mac OS 10 Version: 10.10 [3]
    Application architecture: x64
    Logical processor count: 8
    Processor speed: 3.2 GHz
    Built-in memory: 18,432.0 MB
    Real memory available to Lightroom: 18,432.0 MB
    Real memory used by Lightroom: 5,537.5 MB (30.0%)
    Virtual memory used by Lightroom: 32,240.6 MB
    Memory cache size: 4,342.0 MB
    Maximum thread count used by Camera Raw: 8
    Camera Raw SIMD optimization: SSE2
    Displays: 1) 2048x1152
    Graphics Processor Info:
    NVIDIA GeForce GTX 285 OpenGL Engine
    Check OpenGL support: Passed
    Vendor: NVIDIA Corporation
    Version: 3.3 NVIDIA-10.0.31 310.90.10.05b12
    Renderer: NVIDIA GeForce GTX 285 OpenGL Engine
    LanguageVersion: 3.30
    Application folder: /Applications/Adobe Lightroom
    Library Path: /Users/DryClean/Documents/Lightroom_Catalog/MyCat_LR6.lrcat
    Settings Folder: /Users/DryClean/Library/Application Support/Adobe/Lightroom
    Anyone have any suggestions?

    A big problem continues to be that once you wait for it to index all your faces you find it missed over half of them. There are many cases where it missed the subject of the photo but managed to find a tiny waiter off in the shadows. I don't know how this will ever get fixed; it seems it'll require an update that lets you rerun the indexing a few times, maybe with different levels of granularity. I doubt that's coming.
    It stands to reason that a system that hands you thousands of false positives for every face can't recognize if something is or isn't a face in over half the cases. Faces in profile or tilted down, especially with the eyes looking down, are bypassed completely. I have directories with a thousand people shots in them, many with multiple people, and instead of LR6 returning an index of 1.5k or so, it gives me 385. I'm not sure how valuable the search advantages will be in this case; I can see it not returning some favorite shots of people.
    Anyway, for anyone looking to get past the spinning wheels, work on one directory at a time. Then once a directory is done, keep it selected so you have the same thumbnails of identified faces in the confirmed area, and control-select the next directory. You won't have to reseed the confirmed faces area this way and things move much faster when you're not working with the entire library. It also helps to click each person in the confirmed faces and work in that view sometimes. It'll return faces of family members of that person and you can rename those. You can watch it focus its top results as you confirm but, annoyingly, it doesn't narrow the total suggestions but actually expands them the more faces you confirm and the fewer correct positives remain. (This seems opposite to how it should work. It should give you fewer faces the more you confirm as it gets a better idea what the person looks like and has fewer shots left unconfirmed of that person.)  Yet, even with the expanded results, faces will still escape it and pop up in other people's results as false positives.
    Bottom line: It's only a little better than manual tagging, and not as thorough because of the poor hit rate of the initial indexing. But it works better if you stick to isolated directories and occasionally individual people. At least that way you don't have to wait for it to re-sort tens of thousands of results with every click.

  • TS1702 Can anyone explain to me if iPhoto for iPod/iPad is suppose to have facial recognition. I downloaded it for that purpose but cant get it to work. I was about to buy an iPad but without the Facial Recognition I won't bother.

    I need to have a Facial Recognition program for the iPad. I use iPhoto on the Mac and need to be able to use the Facial Recognition on the iPad.

    I'm not sure where did you get that?
    iPhoto for OS X does have facial recognition. The iPad version doesn't.
    newer iPhone and iPad do have facial recognition in their camera applications (for auto-focus).

  • FAST ACCESS FACIAL RECOGNITION WON'T WORK ON DELL STUDIO 1555 SINCE MOZILLA UPDATE

    When Firefox updated my Facial Recognition Fast Access on Dell Studio 1555 no longer works. The box shows up but not green line around it

    Some Firefox add-ons have a hard limit on compatible versions and may stop working after a Firefox update. To check for a newer version from Dell, see this article:
    http://www.sensiblevision.com/en-us/support/dellsupport.aspx
    Can you find a newer/updated version that might work with Firefox 19?

  • Anyone else notice that facial recognition does not recognize people with "white/silver" hair?

    I have several family members who are premature gray and have full heads of hair and the facial recognition ID's them about 25% of the rest of my subjects. anyone else notice. and their hair is in exposure.

    Same thing here.  Lr had a hard time with a couple people with pure white hair.  About the same 25%.

  • Facial Recognition-- Best Practice

    Question about facial recognition for tagging, Lets say you have a person who has baby pictures, child pictures, teenager, and adult pictures.
    should you tell PE that these are different people (john infant, john child, john teenager, john adult) to make the searching more accurate. (then you can combine them manually)
    Or, should you tell PE that these are the same people  John, and it can figure out the changes without any confusion.

    Good questions.  Annecdotally, PSE automatically recognized a photo of me when I was 1, after I tagged a number of photos of me as an adult.  Don't know how representative that is, but I would bet that it's not going to recognize me as a teenager!
    As for technical references, I'm not aware of any that Adobe has published.  It appears that Adobe has licensed the technology from Cognitec:
    http://www.cognitec-systems.de/News-Details.61+M58e94ecfeec.0.html
    If you're a programmer, you can read the Cognitec SDK manual:
    http://www.cognitec-systems.de/fileadmin/cognitec/media/products/FaceVACS-SDK/FaceVACS-SDK _Manual.pdf
    An interesting nugget:
    Facial pose requirements 
    While a frontal view of the upright face is recommended, some deviations are admissible. A horizontal (yaw) or nose up/down (pitch) rotation of the head of up to 15 degrees is admissible. Also, the face is admitted to deviate from upright view (roll) up to 15 degrees.

  • How can I reset facial recognition so as to start the process over clean?

    I have the most current version of iPhoto and am wanting to trash what has already been done via facial recognition and start the process over.  Is there anyway to do this?

    Back up first, as I'm not certain about this, but it should work:
    Go to the Faces heading on the left hand pane.
    Trash all the Faces there - just highlight them and delete.
    Then: Select the Library or an Event and go
    Photos -> Detect Missing Faces

  • Photoshop Elements Organizer 11: Facial Recognition not working.

    When I click on either 1 photo or 10 photos to add a name to the faces it says "no new people found in your selection". I have tried to only click on 1 photo, then click on mark face and it will say that this photo has not been analyzed yet, even though it has, and after analyzing it will say the same thing. Please help! I have over 20,000 photos to put names to the faces.
    Thanks!!!!

    four.roos wrote:
    I have also tried to repair my catalog and optimize it and neither has fixed my problem. The only thing I think thats left is uninstalling and reinstalling but will my pictures and the faces I have applied so far still be the way the are now?
    I don't use facial recognition and can't help you on that matter. Repairing and optimizing can do no harm but won't help either. Don't reinstall, that won't help you even if your catalogs will be preserved. I'd wait for other answers from people acquainted with the facial recognition feature.

  • IPhoto 8.1.1 Fixes Facial Recognition Problems

    That's what I have observed from my testing on a library of over 15,000 pictures.
    It is important to "Detect Missing Faces" as explained in the appended support article:
    http://support.apple.com/kb/HT3941
    Your computer will work long and hard at this task ... best to leave it alone while you are having Thanksgiving dinner! When done, quit iPhoto and expect it to save a very large file describing all the faces it recognized. In particular, the 'faces' files in the library will be much larger, presumably because they now contain much more information.
    The recommended procedure to identify a few faces manually and then let iPhoto find the rest automatically is unchanged, but what a difference in performance! Expect iPhoto to immediately select many pictures that "look like" the faces you found manually. Also, expect to have to confirm or reject many of the selections ... it seems that iPhoto thinks "everyone looks like everyone else" at first, but it gets better as you improve its training. Also, expect the facial recognition process to occur while you are training by accepting or rejecting selections ... don't be surprised if certain selections are suddenly 'withdrawn' from consideration as you accept or reject others.
    You should also expect to see the "Is This ...?" pop-up much more frequently. I observed that as soon as I named one picture of a person in multiple photographs they were immediately identified in successive photographs, especially if the photographs were taken at the same event. Of course, the real test will be if iPhoto's facial recognition can recognize a person as they change over time, especially when they are children.
    There are still a few problems. If you have a large number of photographs of the same person, iPhoto will select them all ... and more. There needs to be an easier way to confirm or reject the selections rather than laboriously clicking on each. Expect family members to be erroneously suggested as matches, especially children with their parents and grandparents ... what else would you expect? Glasses are still a problem, especially sun glasses, but it is surprising how well iPhoto can "see through" such an obvious problem. Finally, a full face, even in profile is necessary for reliable identification ... putting a hand over the mouth or wearing a hat over the eyes defeats the identification process.
    iPhoton

    Thank you, Henk ... that's also how it works for me. It seems that the 8.1.1 update shifted more of the work load to the initial search for faces, i.e., "Detect Missing Faces". However, it still takes a little time to match each face, particularly if there are many faces. The big difference is that a little time is a lot better than an seemingly-infinite amount of time, which was how it used to work ... at least it seemed that way.
    The library on which I have done most of my testing is mostly "people pictures" ... school classes, family gatherings, birthday parties and sporting events. One of the sporting events is a professional baseball game photographed from behind the first base dugout at the level of the playing field. Pictures of the batters at home plate show hundreds of eager fans behind the third base dugout intently watching from the other side of the field. As the pictures were taken with a telephoto lens, all those faces are not only in the field of view, but also clearly in focus ... iPhoto finds them all! Not that I know them, much less are interested in naming them, but those hundreds of faces take time to be found and there are many pictures like that.
    Thanks also for the tip to use the Alt/Option key. I can use that for exactly this situation ... ignoring the faces of people I am not interested in recognizing, much less naming.
    iPhoton

  • Can I merge duplicate tags from facial recognition in Elements 11?

    How can I merge duplicate tags from facial recognition in Photoshop Elements 11?  For example, if I mistakenly created two tags, both called Bill, how can I put all Bill's pictures in one file?  I found an answer for previous editions of Photoshop Elements, but Photoshop Elements 11 has changed the organizer so I can't figure out how to do it.  Also, it doesn't seem possible to see two sets of tags at the same time - is this a glitch?

    OK - I figured it out. 
    1.  Go to Media in the Organizer.
    2.  Click on View at the top, and click on "Show People in Tag Panel."  
    3.  Click on the name you want to merge - the file name you want to get rid of.
    4.  Edit > Select All
    5.  Drag the tag you want to use to the selected photos, so that they have both the old and new tags.
    6.  In the Keyword Tags pane, click on the old tag, go up to where it says "People Tags."  There is a plus and minus sign next to this.  Click on the minus sign and click on Delete.  The tag you highlighted will be deleted. 

  • OK,  PE has Facial Recognition, it works very well.  I try to use LR 4 or 5 to pullin the PE catalog

    I spent days in Photoshop Elements Organizer "adding" people.  I got over 24K images tagged wtih people.
    I then brought up LR (tried with both 4 and 5) and "converted existing PE catalog.  unfortunatly, NONE of the people data came accross into LR.
    So, I wasted days of work.
    How am I supposed to pull in that date from PE Organizer into LR?  Its why I used PE to do facial recognition, and wanted LR for work flow, but wanted quick smart sets based on faces in the pictures.
    looks beautiful in PE Organizer, looks normal in LR.  Any help is appreciated.

    I thought about the converting the "People" info in PSE Organizer to a "Tag" to be imported inot LR when you convered the PSE Organizer catalog.
    First, I thought People was a tag, and should have automatically picked up and tied to the photo within LR.  (obviously not the case) and second of all, i really have no idea how to do this.
    I really don't have to have to tag 24K photo's with the names of people again in LR since I spent weeks in PSE.   Especially since there isn't a facial recognition option in LR like PSE.
    Still looking.   BTW, the excecise of using Facial Recognition on PSE helped me eleminate over 5200 duplicate photos.  So, it wasn't all wasted.
    Thansk ssprengel for responding.  Hopefull someone there will no how to exececute on your idea.
    G

Maybe you are looking for

  • How do I set up my iPad 2?

    When I first receive my iPad 2 will it require me to connect it to a computer or can I set it up wirelessly? Also does it come with iOS5 or will I have to connect to my computer to update it? Thanks

  • Songs No Longer Playing!

    Hey all, I have been having issues with my iTunes recently, I am a member to an mp3 download site and get songs from them. They work in iTunes for a while but then a few weeks down the road they no longer work. The file is still there and they work i

  • How to change translation date in sales order

    Hi would it still be possible to change the translation date in the sales order if delivery document is already created and good issue is already is already posted. Please advise where on the sales order i can change the translation date. Thank you

  • Inserting Picture (from Web- through Webdav) to Word document using VSTO code

    Hi, I have been trying to insert an image/picture to current selection in word. with help of code - Microsoft.Office.Interop.Word.InlineShape s = this.Application.Selection.InlineShapes.AddPicture( @"http://127.0.0.1:9001/test/myimage.png", true, tru

  • Detecting C Series Module Fault through I/O Variable Node

    Hello LabVIEW Users. My name is Eisuke Ono, An Application Engineer at NI Japan. One of our customer is requesting a function. The function is to retrieve information of module fault from C Series I/O variable Node (Scan Interface). I know that we ca