Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Help for working with image

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help for working with image

    Hello,

    I'm doing work for college and need to find a license plate on a picture of a car.
    Does anyone have any material on this in JAVA? Or something that can help me?
    I need the same help, I am almost desperate.

    Thank you anyway!!!


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Help for working with image

    This isn't exactly trivial- what does the picture of a car look like? I find it a little hard to believe that the course just dropped this assignment into your lap without any other information.

    You might want to start googling for image recognition software, but like I said, unless you're working with a very specific optimal image, this isn't going to be easy.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help for working with image

    The image will always be of the front of the car and quality is rather good.

    I did some research and it seems I'll need to make a calculation of the tonal variation of the image.

    For that I will need to pass it to grayscale and then make this calculation. Where there is more tonal variation in an area of ​​100x30, more likely to be the license plate in the image.

    But how? T_T

  4. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Help for working with image

    Quote Originally Posted by fabbaraujo View Post
    The image will always be of the front of the car and quality is rather good.

    I did some research and it seems I'll need to make a calculation of the tonal variation of the image.

    For that I will need to pass it to grayscale and then make this calculation. Where there is more tonal variation in an area of ​​100x30, more likely to be the license plate in the image.

    But how? T_T
    Which part of this are you confused about? You mentioned several processes here. Like I said, you might want to look for a third party library for image manipulation and recognition. Or you could consult the BufferedImage API for some useful functions for manipulating the pixel data yourself.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Junior Member
    Join Date
    Jun 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help for working with image

    Got it.

    I only know in theory, apply it all is that I'm not getting. So, if someone had already done something similar, would help me a lot.

    But anyway, thank you.

Similar Threads

  1. Image Doesn't Display with Qualified Image Path????
    By swaginator in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 31st, 2012, 12:29 AM
  2. Create image Jpeg from an object of Image class.
    By Ramandeep in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: December 31st, 2011, 11:34 PM
  3. Replies: 2
    Last Post: February 14th, 2011, 05:36 PM
  4. Pixel Alteration in an image/image rotation
    By bguy in forum Java Theory & Questions
    Replies: 3
    Last Post: November 1st, 2009, 10:50 AM
  5. Replies: 4
    Last Post: January 27th, 2009, 12:03 AM