Jump to content

Can someone please explain to me what is the difference between a zybo board and a raspberry board?

I am trying to make an iris recognition program and i am using e-radu's program from istructables(https://www.instructables.com/id/Iris-recognition-on-Zybo/#discuss), but i cant make it run on my laptop without errors. IN his program he is using a zybo board while i am using just my laptop. Are the issues i am facing caused by the lack of a zybo board? and can i use a raspberry pi instead of a zybo board?

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/
Share on other sites

Link to post
Share on other sites

They’re 2 different microcontroller devices. (Maybe more so credit Card Computers.) 

I’d imagine Zybo to be “more powerful” but it really depends on what you’re doing. 

 

It seems zybo is a full on tiny computer and the raspberry pi is a computer that acts like a microcontroller. I have programmed the arduino which is not a conputer but a device that can control electronics like a computer. 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11565710
Share on other sites

Link to post
Share on other sites

15 hours ago, fpo said:

They’re 2 different microcontroller devices. (Maybe more so credit Card Computers.) 

I’d imagine Zybo to be “more powerful” but it really depends on what you’re doing. 

 

It seems zybo is a full on tiny computer and the raspberry pi is a computer that acts like a microcontroller. I have programmed the arduino which is not a conputer but a device that can control electronics like a computer. 

so I can do whatever zybo can do on my laptop?

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568508
Share on other sites

Link to post
Share on other sites

16 hours ago, kivince said:

Can someone please explain to me what is the difference between a zybo board and a raspberry board?

I am trying to make an iris recognition program and i am using e-radu's program from istructables(https://www.instructables.com/id/Iris-recognition-on-Zybo/#discuss), but i cant make it run on my laptop without errors. IN his program he is using a zybo board while i am using just my laptop. Are the issues i am facing caused by the lack of a zybo board? and can i use a raspberry pi instead of a zybo board?

What kind of problems are you having?

What errors are you getting?

What OS is your laptop running?

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568558
Share on other sites

Link to post
Share on other sites

Just now, Nutler said:

What kind of problems are you having?

What errors are you getting?

What OS is your laptop running?

I am using Kali Linux OS.

The output i am getting is something like this

RadS:  21, max:   13, pos:( 104,   65)
RadB:  47, max:   12, pos:(  79,    0)
RadS:  21, max:   13, pos:( 104,   65)
RadB:  45, max:    8, pos:(  81,    0)

In his comments he stated that this output is the algorithm trying to draw circles to locate and extract the iris and can be resolved by SDL Library. I have installed SDL library but the error still persist.

This error prevents the program from creating a new user and adding an image to the database.

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568571
Share on other sites

Link to post
Share on other sites

12 minutes ago, kivince said:

I am using Kali Linux OS.

The output i am getting is something like this

RadS:  21, max:   13, pos:( 104,   65)
RadB:  47, max:   12, pos:(  79,    0)
RadS:  21, max:   13, pos:( 104,   65)
RadB:  45, max:    8, pos:(  81,    0)

In his comments he stated that this output is the algorithm trying to draw circles to locate and extract the iris and can be resolved by SDL Library. I have installed SDL library but the error still persist.

This error prevents the program from creating a new user and adding an image to the database.

 

To me that output looks just like debug data; which judging by the code will apparently be printed anyway.

If there were to be a problem with SDL library, the program wouldn't likely compile or run to begin with.

 

I failed to find any relevant comments by the author via the link you provided or in the repository itself, can you provide a link to them?

 

Does the window with the webcam data show up? Does it update? And is the correct stuff drawn over it?

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568604
Share on other sites

Link to post
Share on other sites

6 minutes ago, Nutler said:

To me that output looks just like debug data; which judging by the code will apparently be printed anyway.

If there were to be a problem with SDL library, the program wouldn't likely compile or run to begin with.

 

I failed to find any relevant comments by the author via the link you provided or in the repository itself, can you provide a link to them?

 

Does the window with the webcam data show up? Does it update? And is the correct stuff drawn over it?

The webcam window shows up fine. The problem is when it comes to the correct stuff being drawn on the screen. I take it to mean that by the 'correct stuff' you mean that the circles to detect the eye and then the smaller circle to detect the iris. They are only visible when the eye is placed closer to the camera, but instead of printing "user not in database" it prints "segmentation done...matching done" on the terminal. Trying to add a user to the database results in the same issue as above, instead of "2 images added" i get "segmentation done ... matching done."

 

About the comments by the author, The author replied to a comment written by Eric w Clarkson, he had an error almost similar to mine. The only difference is that his was a SDL error with the many numbers being printed. That was the only comment the author wrote. Efforts to reach him have bore no fruits for the past month.

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568650
Share on other sites

Link to post
Share on other sites

3 minutes ago, kivince said:

The webcam window shows up fine. The problem is when it comes to the correct stuff being drawn on the screen. I take it to mean that by the 'correct stuff' you mean that the circles to detect the eye and then the smaller circle to detect the iris. They are only visible when the eye is placed closer to the camera, but instead of printing "user not in database" it prints "segmentation done...matching done" on the terminal. Trying to add a user to the database results in the same issue as above, instead of "2 images added" i get "segmentation done ... matching done."

 

About the comments by the author, The author replied to a comment written by Eric w Clarkson, he had an error almost similar to mine. The only difference is that his was a SDL error with the many numbers being printed. That was the only comment the author wrote. Efforts to reach him have bore no fruits for the past month.

Looks like the "matching done" text should only be printed when you haven't started the program with the 'a'-flag to put it into the ADD_IRIS mode.

 

So, what's the command you start the program with? It should be something like "./irisRec_v1 -a"

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568666
Share on other sites

Link to post
Share on other sites

2 minutes ago, Nutler said:

Looks like the "matching done" text should only be printed when you haven't started the program with the 'a'-flag to put it into the ADD_IRIS mode.

 

So, what's the command you start the program with? It should be something like "./irisRec_v1 -a"

yes,to add a user to the database i started the program with ./irisRec_v1 -d /dev/video0 -a "username"

and to check if one is in database i started it with .irisRec_v1 -d /dev/video0

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568674
Share on other sites

Link to post
Share on other sites

11 minutes ago, kivince said:

yes,to add a user to the database i started the program with ./irisRec_v1 -d /dev/video0 -a "username"

and to check if one is in database i started it with .irisRec_v1 -d /dev/video0

And you still get the "matching done" output when trying to add an user?

 

According to the code that shouldn't happen: https://github.com/e-radu/irisRec/blob/608e718464e3b7358cd72be5ba2dac1abc0ea542/irisTop.c#L155-L172

 

I'd recommend you to paste the entire output of a quick test run.

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568680
Share on other sites

Link to post
Share on other sites

7 minutes ago, Nutler said:

And you still get the "matching done" output when trying to add an user?

 

According to the code that shouldn't happen: https://github.com/e-radu/irisRec/blob/608e718464e3b7358cd72be5ba2dac1abc0ea542/irisTop.c#L155-L172

 

I'd recommend you to paste the entire output of a quick test run.

result of ./irisRec_v1 -d /dev/video0 -a "username".

their is no matching done but i expected a text showing that an image has been added to the database.

 "RadB:  47, max:    8, pos:(  43,   85)
RadS:  16, max:    8, pos:(  47,   90)
RadB:  40, max:    6, pos:(  49,   84)
Segmentation done!
Segmentation done!
Drawing done!
Encoding done!
RadS:  18, max:    9, pos:(  67,  113)
RadB:  41, max:    6, pos:(  43,   89)
RadS:  19, max:   14, pos:(  48,   92)"

 

this is the result i get

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568697
Share on other sites

Link to post
Share on other sites

1 minute ago, kivince said:

result of ./irisRec_v1 -d /dev/video0 -a "username".

their is no matching done but i expected a text showing that an image has been added to the database.

 "RadB:  47, max:    8, pos:(  43,   85)
RadS:  16, max:    8, pos:(  47,   90)
RadB:  40, max:    6, pos:(  49,   84)
Segmentation done!
Segmentation done!
Drawing done!
Encoding done!
RadS:  18, max:    9, pos:(  67,  113)
RadB:  41, max:    6, pos:(  43,   89)
RadS:  19, max:   14, pos:(  48,   92)"

 

this is the result i get

 

below the above results i get

"

Warming 10
RadS:  14, max:   13, pos:(  83,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 9
RadS:  16, max:   10, pos:(  85,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 8
RadS:  14, max:   10, pos:(  83,    0)
RadB:  59, max:    7, pos:(  37,   56)
Warming 7
RadS:  15, max:   10, pos:(  84,    0)
RadB:  41, max:    7, pos:(  39,   73)

 

"

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568698
Share on other sites

Link to post
Share on other sites

1 minute ago, kivince said:

below the above results i get

"

Warming 10
RadS:  14, max:   13, pos:(  83,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 9
RadS:  16, max:   10, pos:(  85,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 8
RadS:  14, max:   10, pos:(  83,    0)
RadB:  59, max:    7, pos:(  37,   56)
Warming 7
RadS:  15, max:   10, pos:(  84,    0)
RadB:  41, max:    7, pos:(  39,   73)

 

"

 

The entire output is :

 

Opening device /dev/video0
Users in database: 0
Driver Caps:
  Driver: "uvcvideo"
  Card: "Integrated_Webcam_HD: Integrate"
  Bus: "usb-0000:00:14.0-5"
  Version: 1.0
  Capabilities: 84a00001
Camera Cropping:
  Bounds: 160x120+0+0
  Default: 160x120+0+0
  Aspect: 1/1
  FMT : CE Desc
--------------------
  YUYV:    YUYV 4:2:2
  MJPG: C  Motion-JPEG
Selected Camera Mode:
  Width: 160
  Height: 120
  PixFmt: YUYV
  Field: 1
Length: 38400
Address: 0x7fd5faf15000
Image Length: 0
Warming 9
Warming 8
Warming 7
Warming 6
Warming 5
Warming 4
Warming 3
Warming 2
Warming 1
Warming 0
RadS:  10, max:    7, pos:( 109,    0)
RadB:  39, max:    8, pos:(  55,   99)
RadS:  26, max:    9, pos:(  62,   97)
RadB:  64, max:    8, pos:(  58,    0)
RadS:  25, max:    9, pos:(  29,   89)
RadB:  43, max:   10, pos:(  51,  111)
RadS:  20, max:   11, pos:(  30,   87)
RadB:  39, max:    7, pos:( 105,   88)
RadS:  10, max:    8, pos:( 109,    0)
RadB:  66, max:    8, pos:(   6,    0)
RadS:  19, max:    8, pos:(  29,   87)
RadB:  42, max:    7, pos:( 106,   80)
RadS:  20, max:    9, pos:(  97,   59)
RadB:  45, max:    7, pos:( 107,   75)
RadS:  24, max:   10, pos:(  35,   81)
RadB:  43, max:    7, pos:(  89,  158)
RadS:  18, max:   11, pos:(  89,  126)
RadB:  47, max:    6, pos:(  35,  105)
RadS:  15, max:   19, pos:(  99,  117)
RadB:  43, max:    8, pos:(  60,   59)
RadS:  20, max:   12, pos:(  98,   55)
RadB:  42, max:    6, pos:(  41,   90)
RadS:  37, max:    9, pos:(  39,   83)
RadB:  51, max:    8, pos:(  49,  139)
RadS:  27, max:   10, pos:(  35,   72)
RadB:  39, max:    6, pos:(  41,   37)
RadS:  23, max:    9, pos:(  34,   71)
RadB:  59, max:    8, pos:(  41,  136)
RadS:  24, max:   10, pos:(  34,   66)
RadB:  50, max:    6, pos:(  53,   24)
RadS:  27, max:    9, pos:(  35,   72)
RadB:  49, max:    7, pos:(  41,   48)
RadS:  27, max:   11, pos:(  34,   67)
RadB:  39, max:    6, pos:(  35,   78)
RadS:  24, max:   10, pos:(  36,   67)
RadB:  57, max:    7, pos:(  36,   95)
RadS:  25, max:    9, pos:(  36,   68)
RadB:  60, max:    7, pos:(  49,   97)
RadS:  26, max:    9, pos:(  33,   66)
RadB:  49, max:    7, pos:(  52,   23)
RadS:  30, max:   10, pos:(  37,   68)
RadB:  42, max:    7, pos:(  36,   79)
RadS:  26, max:   12, pos:(  34,   65)
RadB:  59, max:    7, pos:(  41,  135)
RadS:  24, max:   11, pos:(  37,   65)
RadB:  51, max:    8, pos:(  47,   47)
RadS:  21, max:   11, pos:(  34,   63)
RadB:  41, max:    7, pos:(  45,   23)
RadS:  14, max:    8, pos:( 112,    0)
RadB:  49, max:    7, pos:(  47,   49)
RadS:  20, max:   10, pos:(  33,   61)
RadB:  53, max:    7, pos:(  48,   45)
RadS:  23, max:   11, pos:(  36,   62)
RadB:  55, max:    8, pos:(  48,   43)
RadS:  24, max:   12, pos:(  37,   61)
RadB:  46, max:    7, pos:(  50,   15)
RadS:  24, max:   12, pos:(  37,   61)
RadB:  39, max:    7, pos:(  49,   59)
RadS:  36, max:    9, pos:(  49,   62)
RadB:  39, max:    7, pos:(  49,   59)
RadS:  23, max:   10, pos:(  36,   60)
RadB:  58, max:    8, pos:(  48,   40)
RadS:  21, max:    9, pos:( 105,   52)
RadB:  42, max:    9, pos:(  48,   56)
RadS:  20, max:   10, pos:(  33,   61)
RadB:  40, max:    7, pos:(  35,  138)
RadS:  22, max:   11, pos:(  31,   61)
RadB:  63, max:    7, pos:(  35,   20)
RadS:  31, max:   10, pos:(  47,   67)
RadB:  53, max:   10, pos:(  48,   45)
RadS:  21, max:   11, pos:(  31,   63)
RadB:  39, max:    7, pos:(  37,    0)
RadS:  25, max:   13, pos:(  36,   66)
RadB:  64, max:    7, pos:(  47,   34)
RadS:  25, max:   11, pos:(  36,   67)
RadB:  43, max:   12, pos:(  48,   55)
RadS:  28, max:    9, pos:(  38,   70)
RadB:  39, max:    8, pos:(  48,   59)
RadS:  27, max:   10, pos:(  37,   70)
RadB:  58, max:    7, pos:(  48,   40)
RadS:  27, max:   12, pos:(  37,   70)
RadB:  43, max:    8, pos:(  48,   55)
RadS:  25, max:   10, pos:(  52,   70)
RadB:  45, max:    8, pos:(  48,   53)
RadS:  27, max:   12, pos:(  37,   70)
RadB:  46, max:    7, pos:(  47,   52)
RadS:  26, max:   12, pos:(  37,   69)
RadB:  40, max:   10, pos:(  49,   58)
RadS:  27, max:   12, pos:(  37,   70)
RadB:  45, max:   11, pos:(  48,   53)
RadS:  18, max:    9, pos:( 103,   54)
RadB:  64, max:    8, pos:(  47,   34)
RadS:  22, max:   11, pos:(  36,   65)
RadB:  39, max:    8, pos:(  49,   60)
RadS:  23, max:   10, pos:(  36,   66)
RadB:  42, max:   10, pos:(  48,   56)
RadS:  27, max:   16, pos:(  37,   70)
RadB:  39, max:    7, pos:(  48,   59)
RadS:  27, max:    9, pos:(  36,   71)
RadB:  58, max:   10, pos:(  48,   40)
RadS:  27, max:   10, pos:( 106,   58)
RadB:  48, max:   12, pos:(  48,   50)
RadS:  26, max:   10, pos:( 105,   57)
RadB:  43, max:    8, pos:(  48,   55)
RadS:  25, max:    9, pos:(  32,   73)
RadB:  44, max:    9, pos:(  47,   54)
RadS:  23, max:   10, pos:( 102,   55)
RadB:  40, max:    6, pos:(  43,   34)
RadS:  22, max:   11, pos:( 101,   55)
RadB:  47, max:    6, pos:(  52,   21)
RadS:  20, max:   11, pos:(  33,   82)
RadB:  40, max:    6, pos:(   7,   27)
RadS:  22, max:   12, pos:(  34,   83)
RadB:  42, max:    6, pos:( 119,  102)
RadS:  22, max:    9, pos:(  34,   86)
RadB:  49, max:    7, pos:(  53,   22)
RadS:  16, max:    9, pos:(  94,   56)
RadB:  40, max:    7, pos:( 118,   75)
RadS:  10, max:   11, pos:( 119,   17)
RadB:  50, max:    8, pos:(  59,   15)
RadS:  23, max:   12, pos:(  34,   93)
RadB:  42, max:    8, pos:(  43,  110)
RadS:  11, max:   11, pos:( 109,   55)
RadB:  41, max:    8, pos:(  43,  111)
RadS:  20, max:   10, pos:(  34,  101)
RadB:  49, max:    9, pos:(  53,   22)
RadS:  35, max:   10, pos:(  80,    0)
RadB:  41, max:    8, pos:(  43,  111)
RadS:  19, max:    9, pos:(  33,  106)
RadB:  48, max:    8, pos:(  42,  118)
RadS:  16, max:   10, pos:(  26,  104)
RadB:  53, max:    9, pos:(  59,   12)
RadS:  20, max:    9, pos:(  32,  106)
RadB:  48, max:    9, pos:(  51,   23)
RadS:  16, max:   10, pos:(  25,  104)
RadB:  41, max:    8, pos:(  43,  111)
RadS:  30, max:   10, pos:(  69,    3)
RadB:  41, max:    7, pos:(  43,  111)
RadS:  15, max:    9, pos:(  64,   52)
RadB:  42, max:    8, pos:(  27,  107)
RadS:  10, max:    9, pos:(  69,   73)
RadB:  48, max:   10, pos:(   0,    0)
RadS:  36, max:   11, pos:(  61,   29)
RadB:  42, max:   10, pos:(  62,   23)
RadS:  12, max:   11, pos:(  61,   99)
RadB:  39, max:    8, pos:(  51,  107)
RadS:  12, max:   10, pos:(  61,   95)
RadB:  44, max:   10, pos:(  43,  113)
RadS:  10, max:   11, pos:(  95,   16)
RadB:  39, max:    9, pos:(  42,   99)
RadS:  10, max:   10, pos:(  91,    8)
RadB:  54, max:    8, pos:(  60,    9)
RadS:  13, max:   20, pos:(  94,    0)
RadB:  40, max:    8, pos:(  38,  124)
RadS:  11, max:    9, pos:(  61,   83)
RadB:  45, max:    8, pos:(  35,   89)
RadS:  12, max:   13, pos:(  60,   82)
RadB:  39, max:    8, pos:(  41,   86)
RadS:  29, max:   13, pos:(  51,   84)
RadB:  40, max:    9, pos:(  41,   85)
RadS:  13, max:   13, pos:(  59,   82)
RadB:  48, max:   11, pos:(  32,   85)
RadS:  12, max:   10, pos:(  59,   84)
RadB:  43, max:    9, pos:(  37,   85)
RadS:  18, max:   11, pos:(  52,   83)
RadB:  43, max:   12, pos:(  35,   87)
RadS:  10, max:   12, pos:(  53,   78)
RadB:  53, max:   11, pos:(  24,   88)
RadS:  29, max:   11, pos:(  49,   93)
RadB:  39, max:    9, pos:(  36,   88)
RadS:  19, max:   13, pos:(  44,   85)
RadB:  43, max:    8, pos:(  27,   88)
RadS:  24, max:   12, pos:(  34,   85)
RadB:  40, max:    8, pos:(  22,   88)
RadS:  23, max:   10, pos:(  31,   87)
RadB:  39, max:    7, pos:(  11,   88)
RadS:  21, max:    9, pos:(  45,   94)
RadB:  48, max:    8, pos:(   0,   95)
RadS:  24, max:    9, pos:(  24,   91)
RadB:  39, max:    7, pos:(   0,   95)
RadS:  12, max:   11, pos:(  43,   90)
RadB:  42, max:    8, pos:(  24,   90)
RadS:  24, max:   11, pos:(  29,   84)
RadB:  49, max:   10, pos:(  13,   72)
RadS:  31, max:   12, pos:(  36,   78)
RadB:  44, max:   13, pos:(  23,   87)
RadS:  34, max:    8, pos:(  13,   55)
RadB:  56, max:   11, pos:(  10,   73)
RadS:  21, max:    8, pos:(  42,  146)
RadB:  53, max:    7, pos:(  12,   57)
RadS:  10, max:    6, pos:(   3,  104)
RadB:  39, max:    6, pos:(  40,   30)
RadS:  12, max:    8, pos:(  16,  108)
RadB:  41, max:    5, pos:(  42,  104)
RadS:  20, max:   12, pos:(  16,  106)
RadB:  44, max:    5, pos:(   0,   88)
RadS:  26, max:    7, pos:(  77,   71)
RadB:  45, max:    6, pos:(  58,  106)
RadS:  22, max:    9, pos:(  73,  129)
RadB:  39, max:    8, pos:(  48,  105)
RadS:  15, max:    8, pos:(  96,   79)
RadB:  40, max:    8, pos:(  82,  105)
RadS:  13, max:    7, pos:(  35,  129)
RadB:  40, max:    5, pos:(  81,  103)
RadS:  11, max:   14, pos:(  26,  109)
RadB:  39, max:    7, pos:(   0,  113)
RadS:  10, max:   14, pos:(  28,  110)
RadB:  39, max:   10, pos:(   0,  113)
RadS:  10, max:   19, pos:(  30,  110)
RadB:  47, max:    8, pos:(   0,  106)
RadS:  18, max:    9, pos:(  15,  135)
RadB:  42, max:    9, pos:(  65,  113)
RadS:  13, max:   10, pos:(  26,   78)
RadB:  65, max:    9, pos:(  75,   90)
RadS:  11, max:   20, pos:(  47,   96)
RadB:  42, max:    9, pos:(  68,  112)
RadS:  36, max:   14, pos:(   0,   29)
RadB:  44, max:    8, pos:(  71,   76)
RadS:  17, max:   14, pos:(  51,   83)
RadB:  40, max:    7, pos:(  38,   78)
RadS:  18, max:   20, pos:(  51,   80)
RadB:  42, max:    9, pos:(  38,   74)
RadS:  18, max:   23, pos:(  53,   82)
RadB:  47, max:    8, pos:( 109,   29)
RadS:  19, max:   21, pos:(  53,   85)
RadB:  42, max:    8, pos:(  41,   80)
RadS:  18, max:   17, pos:(  54,   87)
RadB:  41, max:    7, pos:(  35,   87)
RadS:  18, max:   22, pos:(  53,   89)
RadB:  44, max:   11, pos:(  32,   87)
RadS:  17, max:   14, pos:(  56,   89)
RadB:  41, max:    9, pos:(  38,   87)
RadS:  18, max:   15, pos:(  58,   87)
RadB:  56, max:    8, pos:(  87,  105)
RadS:  13, max:   12, pos:(  60,   87)
RadB:  42, max:   10, pos:(  40,   84)
RadS:  18, max:   16, pos:(  61,   87)
RadB:  39, max:    8, pos:(  44,   85)
RadS:  18, max:   18, pos:(  62,   88)
RadB:  41, max:   13, pos:(  44,   85)
RadS:  19, max:   16, pos:(  62,   88)
RadB:  43, max:   10, pos:(  42,   85)
RadS:  19, max:   16, pos:(  60,   87)
RadB:  44, max:   11, pos:(  39,   83)
RadS:  17, max:   15, pos:(  61,   86)
RadB:  42, max:   10, pos:(  72,   70)
RadS:  26, max:   14, pos:(  57,   88)
RadB:  39, max:   13, pos:(  70,   69)
RadS:  19, max:   17, pos:(  60,   88)
RadB:  42, max:   10, pos:(  41,   85)
RadS:  18, max:   16, pos:(  60,   87)
RadB:  41, max:   11, pos:(  42,   83)
RadS:  18, max:   14, pos:(  60,   87)
RadB:  39, max:    9, pos:(  44,   83)
RadS:  23, max:   16, pos:(  55,   88)
RadB:  45, max:   11, pos:(  37,   85)
RadS:  19, max:   18, pos:(  59,   88)
RadB:  40, max:    9, pos:(  71,   69)
RadS:  19, max:   16, pos:(  59,   88)
RadB:  40, max:    9, pos:(  72,   69)
RadS:  20, max:   12, pos:(  59,   88)
RadB:  40, max:    8, pos:(  43,   82)
RadS:  20, max:   11, pos:(  60,   88)
RadB:  42, max:   10, pos:(  75,   69)
RadS:  18, max:   14, pos:(  62,   88)
RadB:  41, max:    9, pos:(  75,   71)
RadS:  12, max:   13, pos:(  62,   88)
RadB:  39, max:    9, pos:(  72,   72)
RadS:  20, max:   12, pos:(  59,   89)
RadB:  43, max:    8, pos:(  73,   78)
RadS:  12, max:   11, pos:(  61,   87)
RadB:  44, max:    9, pos:(  39,   82)
RadS:  21, max:   11, pos:(  61,   90)
RadB:  52, max:    8, pos:(  83,   71)
RadS:  18, max:   11, pos:(  61,   88)
RadB:  40, max:    8, pos:(  73,   73)
RadS:  12, max:   11, pos:(  60,   89)
RadB:  41, max:   11, pos:(  41,   84)
RadS:  19, max:   16, pos:(  65,   86)
RadB:  44, max:    7, pos:(  48,  113)
RadS:  18, max:   14, pos:(  59,   89)
RadB:  40, max:    7, pos:(  79,   89)
RadS:  19, max:   12, pos:(  58,   89)
RadB:  40, max:    8, pos:(  41,   84)
RadS:  30, max:   10, pos:(  44,   94)
RadB:  43, max:    9, pos:(  54,   86)
RadS:  12, max:   11, pos:(  61,   87)
RadB:  41, max:    7, pos:(  34,   89)
RadS:  11, max:    8, pos:(  62,   88)
RadB:  58, max:    7, pos:(  16,   86)
RadS:  11, max:    9, pos:(  60,   87)
RadB:  46, max:    8, pos:(  50,   86)
RadS:  10, max:    8, pos:(  74,   51)
RadB:  48, max:    9, pos:(  46,   84)
RadS:  10, max:   10, pos:(  74,   50)
RadB:  40, max:    7, pos:(  54,   84)
RadS:  22, max:    9, pos:(  48,   86)
RadB:  40, max:    8, pos:(  51,   82)
RadS:  10, max:   10, pos:(  71,   51)
RadB:  47, max:    8, pos:(  43,   85)
RadS:  16, max:    8, pos:(  47,   90)
RadB:  40, max:    6, pos:(  49,   84)
Segmentation done!
Segmentation done!
Drawing done!
Encoding done!
RadS:  18, max:    9, pos:(  67,  113)
RadB:  41, max:    6, pos:(  43,   89)
RadS:  19, max:   14, pos:(  48,   92)
RadB:  43, max:    8, pos:(  67,   76)
RadS:  23, max:   11, pos:(  47,   95)
RadB:  41, max:    9, pos:(  64,   76)
RadS:  15, max:   10, pos:(  52,   92)
RadB:  44, max:    8, pos:( 113,   98)
RadS:  15, max:   11, pos:(  52,   94)
RadB:  54, max:    9, pos:(  75,   77)
RadS:  17, max:   10, pos:(  50,   86)
RadB:  49, max:    7, pos:(  76,   96)
RadS:  17, max:   10, pos:(  49,   85)
RadB:  50, max:    7, pos:(  69,   74)
RadS:  11, max:   13, pos:(  53,   85)
RadB:  66, max:    9, pos:(  87,   75)
RadS:  12, max:    9, pos:(  55,   85)
RadB:  51, max:    7, pos:(  78,   87)
RadS:  12, max:   12, pos:(  56,   85)
RadB:  39, max:    7, pos:(  39,   82)
RadS:  12, max:   11, pos:(  56,   85)
RadB:  48, max:    7, pos:(  26,   81)
RadS:  12, max:   11, pos:(  57,   84)
RadB:  47, max:    9, pos:(  73,   86)
RadS:  11, max:   14, pos:(  59,   84)
RadB:  50, max:    8, pos:(  34,   73)
RadS:  12, max:   10, pos:(  61,   84)
RadB:  66, max:    9, pos:(  96,   82)
RadS:  11, max:   11, pos:(  64,   82)
RadB:  47, max:    8, pos:(  51,   90)
RadS:  11, max:   11, pos:(  64,   81)
RadB:  39, max:    7, pos:(  48,   80)
RadS:  26, max:    9, pos:(  66,   81)
RadB:  41, max:    9, pos:(  76,   63)
RadS:  26, max:    9, pos:(  68,   80)
RadB:  41, max:    8, pos:(  84,   80)
RadS:  27, max:   10, pos:(  70,   82)
RadB:  40, max:    9, pos:(  79,   62)
RadS:  12, max:    9, pos:(  66,   57)
RadB:  41, max:   10, pos:(   0,   97)
RadS:  26, max:    9, pos:(  68,   84)
RadB:  45, max:   10, pos:(  86,   82)
RadS:  20, max:   10, pos:(  58,   89)
RadB:  62, max:    8, pos:(  31,   93)
RadS:  23, max:   11, pos:(  51,   76)
RadB:  39, max:    7, pos:(  69,   86)
RadS:  11, max:    9, pos:(  59,   85)
RadB:  40, max:    7, pos:(  36,   85)
RadS:  29, max:   11, pos:(  56,   68)
RadB:  40, max:    8, pos:(   3,  130)
RadS:  11, max:    9, pos:(  57,   88)
RadB:  40, max:    7, pos:(  39,   83)
RadS:  10, max:   11, pos:(  57,   90)
RadB:  42, max:    7, pos:(  69,   76)
RadS:  31, max:   11, pos:(  58,   94)
RadB:  44, max:    8, pos:(  71,   90)
RadS:  10, max:   11, pos:(  58,   89)
RadB:  51, max:    7, pos:(  79,   89)
RadS:  11, max:   12, pos:(  58,   89)
RadB:  45, max:    7, pos:(  38,   83)
RadS:  11, max:   11, pos:(  58,   89)
RadB:  45, max:    9, pos:(  47,  102)
RadS:  20, max:   11, pos:(  56,   92)
RadB:  58, max:    9, pos:(  88,   88)
RadS:  10, max:    9, pos:(  59,   90)
RadB:  45, max:    8, pos:(  48,  103)
RadS:  20, max:    9, pos:(  56,   93)
RadB:  44, max:    7, pos:(  47,   99)
RadS:  20, max:   10, pos:(  57,   94)
RadB:  41, max:    7, pos:(  46,  112)
RadS:  10, max:    8, pos:(  59,   85)
RadB:  40, max:    8, pos:(  72,   81)
RadS:  10, max:   10, pos:(  60,   91)
RadB:  44, max:    7, pos:(  48,  100)
RadS:  22, max:    9, pos:(  55,   96)
RadB:  44, max:    7, pos:(  52,  111)
RadS:  10, max:    9, pos:(   0,   88)
RadB:  60, max:    8, pos:(  92,   90)
RadS:  10, max:   12, pos:(  61,   91)
RadB:  63, max:    8, pos:(  96,   83)
RadS:  10, max:   10, pos:(  61,   91)
RadB:  42, max:    7, pos:(  49,  100)
RadS:  20, max:   11, pos:(  57,   93)
RadB:  40, max:    7, pos:(  74,   94)
RadS:  10, max:    9, pos:(  59,   83)
RadB:  42, max:    7, pos:(  49,   99)
RadS:  20, max:   11, pos:(  57,   93)
RadB:  42, max:    8, pos:(  78,   98)
RadS:  12, max:   11, pos:(   0,   87)
RadB:  64, max:    8, pos:(  96,   89)
RadS:  10, max:   11, pos:(  61,   91)
RadB:  39, max:    7, pos:(  43,   97)
RadS:  10, max:   10, pos:(  61,   91)
RadB:  39, max:    7, pos:(  45,  108)
RadS:  10, max:    9, pos:(  61,   91)
RadB:  44, max:    7, pos:(  49,  103)
RadS:  10, max:   11, pos:(  61,   90)
RadB:  46, max:    9, pos:(  46,  100)
RadS:  10, max:   11, pos:(  61,   90)
RadB:  46, max:    7, pos:(  79,   78)
RadS:  10, max:   11, pos:(  61,   90)
RadB:  39, max:    7, pos:(  43,   90)
RadS:  10, max:   11, pos:(   0,   87)
RadB:  55, max:    8, pos:(  62,  101)
RadS:  10, max:   13, pos:(  60,   91)
RadB:  44, max:    8, pos:(  49,  102)
RadS:  10, max:    9, pos:(   0,   89)
RadB:  40, max:    7, pos:(  42,   85)
RadS:  36, max:    9, pos:(  38,  105)
RadB:  40, max:    6, pos:(  34,  103)
RadS:  33, max:   15, pos:(  26,  113)
RadB:  42, max:   11, pos:(   7,  104)
RadS:  21, max:   14, pos:(  86,   67)
RadB:  40, max:   12, pos:(  41,  123)
RadS:  13, max:   13, pos:(  71,   92)
RadB:  41, max:    9, pos:(   0,   32)
RadS:  27, max:   15, pos:(  85,   90)
RadB:  59, max:   10, pos:(  30,   93)
RadS:  11, max:   11, pos:(  35,  110)
RadB:  45, max:   11, pos:(  23,  102)
RadS:  14, max:   10, pos:(  58,  109)
RadB:  41, max:    7, pos:(  30,   81)
RadS:  10, max:   13, pos:(   0,   90)
RadB:  43, max:   10, pos:(   0,  154)
RadS:  11, max:   12, pos:(   6,   66)
RadB:  40, max:    7, pos:(  34,   99)
RadS:  13, max:    9, pos:(  61,   86)
RadB:  46, max:    7, pos:(  20,   78)
RadS:  31, max:   10, pos:(  44,   97)
RadB:  40, max:    6, pos:(  24,  154)
RadS:  17, max:   10, pos:(  22,   50)
RadB:  41, max:    9, pos:(  25,  157)
RadS:  22, max:    8, pos:(  49,   97)
RadB:  41, max:   10, pos:( 104,    0)
RadS:  21, max:   10, pos:(  49,   99)
RadB:  67, max:    9, pos:(   0,    0)
RadS:  15, max:   11, pos:(  85,    0)
RadB:  53, max:    9, pos:(  96,   78)
RadS:  12, max:   11, pos:(  82,    0)
RadB:  39, max:    7, pos:(  23,   95)
RadS:  12, max:    9, pos:(  82,    0)
RadB:  45, max:    8, pos:(  27,  107)
RadS:  14, max:   12, pos:(  56,   90)
RadB:  40, max:    9, pos:(  32,  101)
RadS:  29, max:   13, pos:(  39,   97)
RadB:  40, max:   10, pos:(  27,   96)
RadS:  28, max:   12, pos:(  39,   93)
RadB:  40, max:    9, pos:(  32,   96)
RadS:  30, max:   12, pos:(  42,   93)
RadB:  41, max:   11, pos:(  26,   92)
RadS:  13, max:   13, pos:(  83,    0)
RadB:  63, max:    8, pos:(  33,    0)
RadS:  31, max:   13, pos:(  42,   90)
RadB:  40, max:    9, pos:(  33,   91)
RadS:  31, max:   12, pos:(  43,   88)
RadB:  39, max:    7, pos:(  35,   89)
RadS:  33, max:   12, pos:(  42,   88)
RadB:  42, max:    8, pos:(  29,   73)
RadS:  27, max:   13, pos:(  44,   87)
RadB:  39, max:    7, pos:(  31,   75)
RadS:  14, max:   11, pos:(  83,    0)
RadB:  43, max:    9, pos:(  31,   71)
RadS:  18, max:   13, pos:(  60,   83)
RadB:  42, max:    8, pos:(  31,   85)
RadS:  29, max:   12, pos:(  45,   85)
RadB:  39, max:    8, pos:(  35,   74)
RadS:  16, max:   10, pos:(  64,   83)
RadB:  40, max:    6, pos:(  35,   73)
RadS:  13, max:   13, pos:(  83,    0)
RadB:  47, max:    9, pos:(  36,   66)
RadS:  13, max:   10, pos:(  83,    0)
RadB:  42, max:    9, pos:(  36,   71)
RadS:  20, max:    9, pos:(  62,   85)
RadB:  39, max:    5, pos:(  36,   74)
RadS:  13, max:   12, pos:(  83,    0)
RadB:  41, max:    6, pos:( 118,  110)
RadS:  16, max:   10, pos:(  85,    0)
RadB:  39, max:    6, pos:(  20,   78)
RadS:  27, max:   10, pos:(  55,   88)
RadB:  39, max:    9, pos:(  38,   75)
RadS:  12, max:   10, pos:(  82,    0)
RadB:  39, max:    9, pos:(  38,   75)
RadS:  13, max:   10, pos:(  83,    0)
RadB:  40, max:    8, pos:(  37,   75)
RadS:  21, max:    9, pos:(  61,   87)
RadB:  39, max:    7, pos:(  17,   79)
RadS:  12, max:    9, pos:(  82,    0)
RadB:  39, max:    7, pos:(  19,   79)
Warming 10
RadS:  14, max:   13, pos:(  83,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 9
RadS:  16, max:   10, pos:(  85,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 8
RadS:  14, max:   10, pos:(  83,    0)
RadB:  59, max:    7, pos:(  37,   56)
Warming 7
RadS:  15, max:   10, pos:(  84,    0)
RadB:  41, max:    7, pos:(  39,   73)
Warming 6
RadS:  13, max:    9, pos:(  11,  114)
RadB:  39, max:    6, pos:(  20,   78)
Warming 5
RadS:  30, max:   10, pos:(  19,   87)
RadB:  39, max:    7, pos:(  41,   76)
Warming 4
RadS:  15, max:   10, pos:(  84,    0)
RadB:  39, max:    6, pos:(  40,   77)
Warming 3
RadS:  13, max:   11, pos:(  83,    0)
RadB:  40, max:    6, pos:(  13,  143)

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568700
Share on other sites

Link to post
Share on other sites

19 minutes ago, kivince said:

result of ./irisRec_v1 -d /dev/video0 -a "username".

their is no matching done but i expected a text showing that an image has been added to the database.

 "RadB:  47, max:    8, pos:(  43,   85)
RadS:  16, max:    8, pos:(  47,   90)
RadB:  40, max:    6, pos:(  49,   84)
Segmentation done!
Segmentation done!
Drawing done!
Encoding done!
RadS:  18, max:    9, pos:(  67,  113)
RadB:  41, max:    6, pos:(  43,   89)
RadS:  19, max:   14, pos:(  48,   92)"

 

this is the result i get

 

The logic of the program is kinda hard to follow, but it seems to require some time for it to really allow adding an user. Looks like it needs to try adding an user at least 4 times before it actually does so. So let it run for a while and check the textfile to see if it registered, just in case you've missed it succeeding.

 

16 minutes ago, kivince said:

below the above results i get

"

Warming 10
RadS:  14, max:   13, pos:(  83,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 9
RadS:  16, max:   10, pos:(  85,    0)
RadB:  39, max:    8, pos:(  38,   76)
Warming 8
RadS:  14, max:   10, pos:(  83,    0)
RadB:  59, max:    7, pos:(  37,   56)
Warming 7
RadS:  15, max:   10, pos:(  84,    0)
RadB:  41, max:    7, pos:(  39,   73)

 

"

 

Yeah, these aren't warnings, but just a way the author used to let the camera "warm" up (or more likely to adjust to the lighting conditions) before trying to match an iris. And because of the trivial way used to do it, it runs again and again each time a counter overflows.

 

It may very well be that the software is just broken.

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568719
Share on other sites

Link to post
Share on other sites

1 minute ago, Nutler said:

The logic of the program is kinda hard to follow, but it seems to require some time for it to really allow adding an user. Looks like it needs to try adding an user at least 4 times before it actually does so. So let it run for a while and check the textfile to see if it registered, just in case you've missed it succeeding.

 

Yeah, these aren't warnings, but just thing the author used to let the camera "warm" up (or more likely to adjust to the lighting conditions) before trying to match. And because of the trivial method used to do it, it runs again and again as a counter overflows.

 

It may very well be that the software is just broken.

 

Thanks Nutler,

so basically i can run the program in my laptop instead of buying a zybo board?

 

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568726
Share on other sites

Link to post
Share on other sites

Just now, kivince said:

Thanks Nutler,

so basically i can run the program in my laptop instead of buying a zybo board?

 

i will try running it later for a long period and see the results. and you mentioned that i can write away the rads and radb words and numbers that show up in the screen. Any idea how i can do that?

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568729
Share on other sites

Link to post
Share on other sites

1 minute ago, kivince said:

Thanks Nutler,

so basically i can run the program in my laptop instead of buying a zybo board?

 

No problem! And yes, it shouldn't at least work any better on zybo (or raspberry pi, which it should work on as well). It's a different question if it really works or not, or how much memory it may leak.

 

3 minutes ago, kivince said:

i will try running it later for a long period and see the results. and you mentioned that i can write away the rads and radb words and numbers that show up in the screen. Any idea how i can do that?

You can get rid of them by editing this part of the hough.c file: https://github.com/e-radu/irisRec/blob/608e718464e3b7358cd72be5ba2dac1abc0ea542/hough.c#L92,L107

 

You can basically just remove all those lines, run make again to recompile the source and then run the program to see the results.

Link to comment
https://linustechtips.com/topic/951203-zybo-and-raspberry-pi/#findComment-11568734
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×