Solved

Image decoding from Camera

Posted on 2016-11-07
3
45 Views
Last Modified: 2016-11-12
Hello there,

I have an IP camera and it is scanning barcodes. The camera generates the img file in .bmp format and a XML file and then saves it to a folder. Now I am trying to capture this data from the TCP packet and trying to decode it, to again generate the image and the XML for my software integration. I have attached the output as zip since it contains around 100 text file which i am capturing but the problem is I do not understand where the image file starts and where it ends. You will need to change the txt back to rar to be able to see the contents. EE does not allow me to upload rar files.

For XML I can check <camera> for start and </camera> for end but for image info I am struggling to get bmp. Can somebody please help me.

regard
Zolf
output.txt
0
Comment
Question by:zolf
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
krakatoa earned 500 total points
ID: 41876945
I'm not saying I can step in here with a qualified answer, but it seems you might be going 'round in a bit of a circle when you try to re-interpret the image data when you already have it in the .BMP file from the camera. What I am getting at is that the Package javax.imageio can already work with several formats, including that one :


https://docs.oracle.com/javase/7/docs/api/javax/imageio/package-summary.html
0
 

Author Closing Comment

by:zolf
ID: 41884445
thanks
0
 
LVL 16

Expert Comment

by:krakatoa
ID: 41884567
You too.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now