Search found 32 matches

by sony
Friday 23rd February 2018 11:28am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

Hi Steve,
That way I made reference value in 'ek' variable in my program. Every time I calculate in the rectangle mask that 'ek >18' I add cnt by 1. So it's compare with ValueBox5.Value.
IF all pixel inside mask equal with 'ek' mean no image.
by sony
Friday 23rd February 2018 6:17am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

Hello,
Beside reading the barcode image, how to detect there is text printed at the box or not
expcode.PNG
expcode.PNG (102.26 KiB) Viewed 12029 times
by sony
Wednesday 21st February 2018 12:43am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

Hi Charlie, It looks like an advanced level :o . My project is running with a running conveyor as well, so I decided to only detect barcode images, not barcode data. The first time I also tried to use the webcam but could not capture the image object well. With PiCam I can take pictures of moving ob...
by sony
Monday 19th February 2018 3:03am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

my goal to make this project is to stop the conveyor if PiCam detected products that are not printed with barcode images automatically. See my block diagram below.
image001.PNG
image001.PNG (36.6 KiB) Viewed 12069 times
by sony
Monday 12th February 2018 2:58am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

It's about how to setting the parameter. For test just add a button with code like picture below: new_button.PNG IF you run the program then click the button will shot the camera like below: sample1.PNG Now you can fill the parameter. Size mean size area copied of image from left to right area, Pos ...
by sony
Friday 9th February 2018 12:40am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

Hi Charlie,
It's like a beginner tech to teacher :)
I think you must log in to root

1st problem, you should have 'param.par' file in the home folder.
par_file_folder.PNG
par_file_folder.PNG (76.64 KiB) Viewed 12092 times
2nd problem, you must create the 'tmp1' ram drive
create_RAM_drive.PNG
create_RAM_drive.PNG (37.05 KiB) Viewed 12092 times
by sony
Thursday 8th February 2018 6:19am
Forum: General
Topic: Raspberry Pi camera module
Replies: 30
Views: 38082

Re: Raspberry Pi camera module

Here my code,
PiCamera.zip
(43.27 KiB) Downloaded 500 times
sorry for the messy code
by sony
Thursday 8th February 2018 6:17am
Forum: Lounge
Topic: so silent
Replies: 9
Views: 13357

Re: so silent

Hi Charlie, All of my code based on your code (PiCam_Sony.tar) in http://forum.gambas.one/viewtopic.php?f=4&t=549&start=10 I just add a trigger from RPi I/O to take a picture. The serial data used for write and read the setting amount of pulse to start the trigger. I share the code in the li...
by sony
Wednesday 7th February 2018 12:05am
Forum: General
Topic: Advanced HMI conversion to gambas
Replies: 2
Views: 4487

Re: Advanced HMI conversion to gambas

Hi Steve, Yes I want HMI based on Gambas and it's open like the link I mention before. I has try the AdvancedHMI and running in RPi connect to industrial PLC but it's should be developed with MS VB, I want it can develop with gambas. Maybe need permission from AdvancedHMI developer to change with ga...
by sony
Tuesday 6th February 2018 3:43am
Forum: General
Topic: Advanced HMI conversion to gambas
Replies: 2
Views: 4487

Advanced HMI conversion to gambas

It will very interesting if gambas can convert the HMI code from http://advancedhmi.com/

sony