Solved

Image decoding from Camera

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

734 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