Search found 52 matches

by s-bbrackett
Thu May 10, 2018 4:32 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Never mind I got it working. However, I was wondering if you could tell me how to pull a string out of a string. MY data is currently being transmitted in the format of uart.write("!EYE x:%d, y:%d, w:%d, h:%d" % e) uart.write("!IRIS x:%d, y:%d" % iris) I want to have just the x and y data values at ...
by s-bbrackett
Thu May 10, 2018 10:37 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So for my sending code I have, uart = pyb.UART(3, 115200) while (True): clock.tick() # Capture snapshot img = sensor.snapshot() # Find eyes ! # Note: Lower scale factor scales-down the image more and detects smaller objects. # Higher threshold results in a higher detection rate, with more false posi...
by s-bbrackett
Wed May 09, 2018 1:43 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

If you want I can send you examples of my sending code. The code that's receiving the data is the code that you provided for me.
by s-bbrackett
Wed May 09, 2018 12:46 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So I replace all the example code you gave me with usrt?
by s-bbrackett
Wed May 09, 2018 10:54 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you. So, I have everything all connected via pins 4 and 5, and my system has two connecting ground pins. Then I have one of the cameras plugged into the IDE while the other is disconnected. However, I still am not reading any data on my receiving camera. Do you have any ideas of what could be ...
by s-bbrackett
Tue May 08, 2018 10:42 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you, now I have this code as a start but I know its wrong. Could you tell/show me what else I need to add to it.

Code: Select all

uart = UART(3, 19200, timeout_char = 1000)

while(True):
    inData = uart.any()
    print(inData);
    time.sleep(1000)
by s-bbrackett
Mon May 07, 2018 10:48 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

OK so I understand the code, but can I give you an example of how my physical pin system is set up? My system has two openMV cams both plugged into the computer via micro-USB cords. The two cams are then connected with two wires vis pins 4 and 5. Lastly, the camera that sends eye data is disconnecte...
by s-bbrackett
Fri May 04, 2018 11:26 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Awesome! So if that sends strings, how to I receive the strings? Also, don't need to declare the pins anywhere, correct?
by s-bbrackett
Fri May 04, 2018 10:44 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

I guess the better way to phrase it would be, what's the easiest way to receive data sent by the print command.
by s-bbrackett
Fri May 04, 2018 10:39 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So I can just use the print function to send text, and then create a statemachine on the other end to receive it?
by s-bbrackett
Thu May 03, 2018 11:24 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Hey I'm back again.
I just wanted to know, if I were to use serial pins to communicate between the two cameras, I would ONLY use pins 4 and 5, right? This is also the simplest way to communicate between the two correct?

Thanks.
by s-bbrackett
Thu Apr 26, 2018 6:04 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Never mind I got it working. However, I wanted to say thank you for your help with the DTR. I forgot one line of code within my script and when I fixed it, everything worked fine. Thanks again.
by s-bbrackett
Thu Apr 26, 2018 10:30 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

The code compiles with no errors and it runs it's "Press any key" part, but it never prints out any data. At this point, I really don't know what the problem could be besides that I forgot something. Please let me know if you have any suggestions.

Thanks
by s-bbrackett
Wed Apr 25, 2018 10:33 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Here you go: using System; using System.IO.Ports; using System.ComponentModel; namespace EyeStuff { class PortDataReceived { public static void Main() { SerialPort mySerialPort = new SerialPort("COM3"); mySerialPort.BaudRate = 115200; mySerialPort.Parity = Parity.None; mySerialPort.StopBits = StopBi...
by s-bbrackett
Tue Apr 24, 2018 11:09 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

If you understand C#, let me know and I could send you a bit of my code.
by s-bbrackett
Tue Apr 24, 2018 10:38 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Hey if you could show me a bit of that Qt code, maybe that might help my issues. A while ago, I sent you a post with the current settings/variables in my VS code. If those could clear anything up, let me know.


Thanks.
by s-bbrackett
Mon Apr 23, 2018 4:34 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So no settings, no code? Just save and reset?
by s-bbrackett
Mon Apr 23, 2018 3:06 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

While I don't need the code for Qt, how do I write the code in micropython?
by s-bbrackett
Mon Apr 23, 2018 11:16 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

*DTR
by s-bbrackett
Mon Apr 23, 2018 10:47 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Excuse my beginner questions but how to I work the DTS and RTS? I have a RTS function in visual studios but I'm not sure how it works in Micropython.


Thanks
by s-bbrackett
Fri Apr 20, 2018 3:07 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Sorry I didn't see your last post. So, I can write just a print statement and use the IDE terminal with the saved code and it will pickup on VS?
by s-bbrackett
Fri Apr 20, 2018 3:06 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

I guess if you want a simpler answer, I simply want to take data off of the camera and onto visual studios.
by s-bbrackett
Tue Apr 17, 2018 10:44 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So even if I have a micro-USB cable attached to the computer, the other IDE could still read the print statement?
by s-bbrackett
Mon Apr 16, 2018 3:29 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

After a bit of work I have three questions for you. So, if you recall the code you sent me earlier for the UART iris tracking, do I need to add anything else to that if I want to send serial data to an Arduino. Secondly does the camera uses pins 4 and 5 for serial? Lastly, if the cam and Arduino are...
by s-bbrackett
Sat Apr 14, 2018 3:55 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

I will do that. However, thank you so much for your help. Yo have gotten me very far and your posts have taught me a lot. Thanks again for putting up with all of my posts and questions!
by s-bbrackett
Sat Apr 14, 2018 12:31 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So I just write the code to receive and package data for Arduino and I should all work?
by s-bbrackett
Sat Apr 14, 2018 12:18 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Awesome thank you
by s-bbrackett
Fri Apr 13, 2018 10:31 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Would an Arduino work?
by s-bbrackett
Thu Apr 12, 2018 9:00 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you for that, just so you know my MVcam is connected to the computer using a microUSB cable and it is being run on the penMV IDE. Meanwhile, I'm trying to get the code to Visual studios but it keeps saying that access is denied to the camera. Note visual studios detects that there's an object ...
by s-bbrackett
Thu Apr 12, 2018 7:10 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

I have the following as C# code in VS for receiving the Cams data: mySerialPort.BaudRate = 9600; mySerialPort.Parity = Parity.None; mySerialPort.StopBits = StopBits.One; mySerialPort.DataBits = 8; mySerialPort.Handshake = Handshake.None; mySerialPort.RtsEnable = true;
by s-bbrackett
Thu Apr 12, 2018 7:05 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

By the way, there is nothing blocking your cam's serial port right? I keep getting an issue on Visual Studios saying that the port to the cameras is blocked.
by s-bbrackett
Thu Apr 12, 2018 6:34 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

The code for reading serial is on there right?
by s-bbrackett
Thu Apr 12, 2018 3:10 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you those videos really help. Now just to recap, there's no easier way to send eye coordinate data from one camera to the other and mark it on the other's display without using the coms correct? Once again thank you for your help.
by s-bbrackett
Thu Apr 12, 2018 11:20 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

WOW that really helped thank you se much! For the open terminal though, how to I run code on it?
by s-bbrackett
Thu Apr 12, 2018 11:08 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Also, is there a way of using the COMS to communicate data at the same time or quickly switching between them? Basically, can a just have the cameras read the COMS for data or do I need to have some sort of bussing method?
by s-bbrackett
Thu Apr 12, 2018 10:27 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you so much. Now just for my own ideas, you said that the two cameras can be run at the same time right? However, since there's only one IDE running at a time, how to I run the UART packaging code and the UART shipping code at the same time. Sorry about my newbie questions!
by s-bbrackett
Wed Apr 11, 2018 1:35 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Essentially, if you remember the code you sent me last time, how would I read that data via UART.
by s-bbrackett
Tue Apr 10, 2018 10:58 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Forget that last post, I got it working. My other question is if I use UART to communicate between the two cameras, do I use the pins or no? Also, do I write the UART read function in a different program or in the same as the one I'm using to send the data? If different how do I separate the program...
by s-bbrackett
Mon Apr 09, 2018 8:52 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Now for reference, is there a library I need to access to send data via UART from one board to another? Also, you mentioned something about examples of sending data online, what are those examples called?
Once again, thanks a million
by s-bbrackett
Mon Apr 09, 2018 4:30 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

I was just thinking if I wanted to have the person look at something other than the screen, then I would need the other cam.
by s-bbrackett
Mon Apr 09, 2018 4:05 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

So I could send UART data between the two and essentially have the one with the live feed running while the other marks on its feed?
by s-bbrackett
Mon Apr 09, 2018 3:05 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Would I need to write any code for that and if so, what libraries would I need to use?
by s-bbrackett
Mon Apr 09, 2018 1:19 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Is there an easy way to do that?
by s-bbrackett
Mon Apr 09, 2018 10:40 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Hey, I have recently come up with the question about whether I can use two OpenMV cams at once. I wanted to use this to have one camera showing a forward facing live time shot, while the other watches the persons eye and records it on the view of the first one. If this is possible please let me know...
by s-bbrackett
Tue Mar 27, 2018 10:49 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Once again thanks for your help. I just wanted to know, could you send the serial data over to C# and does the MV cam function like a Arduino, where it runs its last saved program if it's unplugged from the computer and plugged into a battery?

Thanks
by s-bbrackett
Mon Mar 26, 2018 10:23 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

That would be awesome. If you could send me those files and perhaps tell me how to work the QT code I would be extremely grateful. Thanks again for your help.
by s-bbrackett
Thu Mar 22, 2018 11:25 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Hey, so I took a look your work with the French class on the computer mouse controlling software. I guess the best way to visualize my project is to think of something like that, but it draws the current location of the eye gaze on the screen. If you could help me out with the Code for this I would ...
by s-bbrackett
Thu Mar 22, 2018 10:34 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you very much for your help with this issue.
by s-bbrackett
Wed Mar 21, 2018 11:02 am
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you for your response. However, I guess my next question would be, how do I set these steps up and what would the code look like? I have the camera sending me coordinates of only the eye right now but I'm rather perplexed as to what would the next steps look like. Could you please clarify this...
by s-bbrackett
Tue Mar 20, 2018 3:05 pm
Forum: Project Discussion
Topic: Advanced Iris Tracking Software
Replies: 88
Views: 6011

Re: Advanced Iris Tracking Software

Thank you so much for all the help. I have just one last question. How do I send the data out the port, and where(what software) do I send it to? Once again thank you so much for your time and help.

Go to advanced search