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
Solved

Image decoding from Camera

Posted on 2016-11-07
3
95 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

792 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