B4J Question Universal B4J camera

stevewidget

Member
Licensed User
Hi,
Ive been looking at a very simple machine vision project (dont need opencv) but one problem seems to be availabity of cameras, so my idea was to use either a uCam3 or Arducam
https://www.4dsystems.com.au/product/uCAM_III/
http://www.arducam.com/products/spi-camera/
These can be controlled and data transferred via a serial port (well you need to add an arduino with Arducam). Being serial, frame rate is pretty low, but dropping to low res for previewing, and using high res image for data analysis would work for me.
Problem is data is in jpeg format. I need to be able to preview the lo res with a fixed grid overlay, take a hi res picture, put this into an array and manipulate the pixels.
Maybe Ive missed it, but ive seen mention of saving array to jpg, but not other way round.
Any suggestions?
Stevewidg
 

stevewidget

Member
Licensed User
Thanks Erel,
I did say I'd probably missed it!.The Blur example is pretty much what I want to do.
As Im going to read the image into an array from the serial port(as a jpg file), can I use this array instead of a file in xui.LoadBitmapResize as it asks for directory and filename.
Thanks again
SteveWidg
 
Upvote 0
Top