Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Image decoding from Camera

Posted on 2016-11-07
3
Medium Priority
?
140 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Make the most of your online learning experience.
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 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