Solved

Connect to IP Camera using Java

Posted on 2016-08-19
4
249 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
  • 2
  • 2
4 Comments
 
LVL 26

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 26

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
factorial example 4 48
java stored proc example 9 44
Error in @AspectJ Based AOP with Spring 2 18
Crystal Reports Licensing Questions 4 34
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

860 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