Solved

Connect to IP Camera using Java

Posted on 2016-08-19
4
407 Views
Last Modified: 2016-08-20
Hello there,

How can I connect to a IP camera and get its live view from Java.

cheers
Zolf
0
Comment
Question by:zolf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:Dr. Klahn
ID: 41763510
IP camera protocols are tightly dependent on the camera model and manufacturer.  There's no universal or even widely accepted standard, so every manufacturer does what they think looks best and it varies all over the place.  See the manufacturer and camera list for the open-source ISpy product to get an idea of the magnitude of this issue.  Some stream binary, some stream in browser-compatible formats and some are proprietary.

imo, this can be done if you know the specific protocol for the specific camera and manufacturer ... but it'll be a one-off solution, and it will soon become obsolete when the manufacturer stops making that specific camera or upgrades the firmware.
0
 

Author Comment

by:zolf
ID: 41763535
Thanks for your feedback. The camera I am using is SICK Lector620OCR.
0
 
LVL 28

Accepted Solution

by:
Dr. Klahn earned 500 total points
ID: 41763923
Unless the manufacturer will release the protocol specifications to you, you'll have to reverse-engineer the camera communication protocol.  Some manufacturers will release that information and some won't, and since you'll have to start with their customer support it might be difficult getting connected to a software engineer who can tell you what you need to know.

Reverse-engineering the camera communication protocol is tedious, but not overly difficult.  It can be done by loading network monitoring software on a separate PC on the network and setting that system to monitor all traffic (both TCP and UDP) to and from the camera.  Then look over the traffic as packets and reverse-engineer the protocol.  (It may take a couple of weeks to figure out the necessary commands and what the camera is returning.)  At that point you'll have the information necessary to write a Java applet that talks to the camera.
0
 

Author Closing Comment

by:zolf
ID: 41764057
cheers
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
A solution for Fortify Path Manipulation.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question