Search found 62 matches

by pcls1026
Fri Aug 10, 2018 5:58 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 112

Re: position encoder

I like that solution, patrickpoirier51 . What do you think Kwagyeman? I could collect the data, calculate the distance traveled and transmit a 2 byte word to Cam7 every 0.1 second.
by pcls1026
Thu Aug 09, 2018 6:16 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 112

Re: position encoder

The STM processor does use interupts on its QEModule. Will I still have interrupt problems if I take a picture; wait until the uP is done processing the image; and then use the QEmodule. I can do this because I will not be moving when I'm using the camera and there won't be any QEModule interrupts b...
by pcls1026
Tue Aug 07, 2018 3:08 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 112

Re: position encoder

I understand ithe example Python code would not run well while run as a script. However, would it run OK when it is loaded onto the uProcessor and run with a battery or just a power only USB cable?
by pcls1026
Mon Aug 06, 2018 3:40 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 112

position encoder

Do you have a python example to read a simple quadrature encoder with the cam 7?
by pcls1026
Sun Mar 25, 2018 11:24 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 522

Re: grayscale to monochrome

how do i show it in the frame buffer so I can see it?
by pcls1026
Sun Mar 25, 2018 10:59 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 522

Re: grayscale to monochrome

my image that I load in is already grayscale. I want to convert the grayscale to black and white.
by pcls1026
Sun Mar 25, 2018 9:59 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 522

Re: grayscale to monochrome

I am loading a saved file using image.Image---
I want to convert the image to monochrome.
I want to have the monochrome image show in the IDE frame buffer.
Jim
by pcls1026
Sun Mar 25, 2018 9:43 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 522

grayscale to monochrome

Hi,
What this this command do? image.binary(thresholds(50, 255),invert=false)
Jim
by pcls1026
Wed Mar 21, 2018 1:55 pm
Forum: Technical Discussion
Topic: apriltag
Replies: 3
Views: 307

Re: apriltag

Ignore my post. I moved the apriltag closer to the camera and it worked.
Jim
by pcls1026
Wed Mar 21, 2018 12:58 pm
Forum: Technical Discussion
Topic: apriltag
Replies: 3
Views: 307

apriltag

Hi,
For script "find_apriltags_3d_pose" Which apriltag "ID" should I use. For example "april.tag.Tag36h11" has 586 ID's? I printed out and tried ID=1, however the script could not find the apriltag.
Jim
by pcls1026
Tue Mar 13, 2018 2:11 pm
Forum: General Topics
Topic: github
Replies: 1
Views: 302

github

Hi,
Where can I find the source code for img.find_rects?
I think it is on github, but I have no idea how to find it.
Is there a web page explaining how to use github?
Thanks, Jim
by pcls1026
Sat Mar 10, 2018 11:42 am
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

Thanks,
You guys are operating way above my meager capabilities. Do you get paid to do this or is it a passion?
Thanks Again,
Jim
by pcls1026
Fri Mar 02, 2018 1:35 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5983

Re: importing a *.bmp file

Hi, I discovered several things I never new before: 1.When I take a cam7 picture with VGA and GRAYSCALE, each pixel in the IMG file is an 8 bit word. However, when I use the "save image to pc" command, on the frame buffer image, it is saved in a 3 byte tuple, ie (255,255,255). Notice that each byte ...
by pcls1026
Thu Mar 01, 2018 7:42 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5983

Re: importing a *.bmp file

Hi, I apologize for opening this post again but I finally got back to work on it. I attached my latest script file. I tried to attach the .bmp graphics file but it totally screwed up your attach software. I Made the changes you suggested but it still doesn't run. When I save an image from the IDE wh...
by pcls1026
Thu Mar 01, 2018 6:24 pm
Forum: Technical Discussion
Topic: image.image
Replies: 2
Views: 218

Re: image.image

Hi,
Ignore this post. I am sending a substitute.

Jim
by pcls1026
Thu Mar 01, 2018 5:59 pm
Forum: Technical Discussion
Topic: image.image
Replies: 2
Views: 218

image.image

img = image.image(c:\user\jimkim\blksqrclose.bmp, copy_to_fb=true) I saved a cam7 image from the frame buffer to the pc. Will the command shown above work to load the saved file into the frame buffer and use it as if the camera was being use?. Also, the saved image is GRAYSCALE, VGA *.bmp. The file ...
by pcls1026
Thu Mar 01, 2018 10:46 am
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

Once again the file appeared on the K drive this morning after running the script. I deleted the file from the K drive; ran the script; and the file did not appear on the K drive.

What it is Bro.

Jim
by pcls1026
Wed Feb 28, 2018 2:51 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

blksearch.py zipped file attached
by pcls1026
Wed Feb 28, 2018 2:29 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

You won't believe this.

Every morning when I start openmv ide and run my script, the file magically appears on the k drive. But the rest of the day it does not. Maybe the problem is in Windows and it gets repaired at night over the internet.

Jim
by pcls1026
Tue Feb 27, 2018 6:15 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

Me again,
Whats (tag.) how do i use it?
Sorry for being such an ignoramus.
Jim
by pcls1026
Tue Feb 27, 2018 6:08 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 5548

Re: serial terminal

It works. Sorry for all the trouble.
Jim Sullivan
by pcls1026
Tue Feb 27, 2018 3:39 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 5548

Re: serial terminal

HI,
I attached the wrong code in the previous reply.
Here is the correct code.
by pcls1026
Tue Feb 27, 2018 3:34 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 5548

Re: serial terminal

Hi,
I'm sorry for the endless questions.
When I use pyb.delay(1) I get the error "NameError: name 'pyb' is not defined".
Code is attached.
by pcls1026
Tue Feb 27, 2018 3:23 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

How do I post the script for debugging? And, how can they debug it without my camera?
Jim
by pcls1026
Tue Feb 27, 2018 3:22 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

How do I post the script for debugging? And, how can they debug it without my camera?
Jim
by pcls1026
Tue Feb 27, 2018 2:08 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

I bought from the openmv website. --openm3 r2 us-mf-002 ov7725-m7 05/20/2017-- When I put the SD card in the camera the PC recognizes the USB port and the CAM7 works as usual. This morning I got the following results for my file problem. 1. I started the openmv ide. The previously attached file "cop...
by pcls1026
Mon Feb 26, 2018 8:32 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

Hi,
Now I have another problem. When I plug the camera into the PC USB port, the PC will not accept it. It says the device not recognized. Also, the camera light blinks like crazy.
Jim
by pcls1026
Mon Feb 26, 2018 7:29 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

I had the SD card attached to the camera. I thought the file was automatically opened on the SD card. How do I know if the file is being written to the SD card or the Flash?
by pcls1026
Sat Feb 24, 2018 6:12 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

Re: f.write

I tried adding the /. It worked the first time I ran the script. I could read the file on the K drive. However, it did not work the second time I ran the script. I reinstalled the CAM firmware and it ran properly again the first time but not the second. It would appear the firmware is getting corrup...
by pcls1026
Sat Feb 24, 2018 5:44 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 5548

Re: serial terminal

kwagyeman,
What do you mean by adding a wait. Is this a Python command?

I created a 3x24 2d list that I want to look at.
I attached code.

Jim
by pcls1026
Sat Feb 24, 2018 3:52 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 5548

serial terminal

Hi,
When I PRINT too much data, the serial terminal does not accept all of it. Is there any cure ,other than writing a file to the SD card as I talked about on my previous post; "F.WRITE" .
Jim
by pcls1026
Sat Feb 24, 2018 3:29 pm
Forum: General Topics
Topic: Question for iabdakader
Replies: 1
Views: 2024

Question for iabdakader

Hi,
Were you able to include the pixel RAW data code in the 8a update?
Jim Sullivan
by pcls1026
Sat Feb 24, 2018 3:23 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 8246

f.write

Hi, I wrote and ran a script several months ago that writes data to a file on the SD card. After running the script, I reset the MV Cam using IDE tools. The file then presents on the K-Drive of the PC. I then open the file on Notebook and look at it. I ran the script today, but the file does not pre...
by pcls1026
Wed Feb 14, 2018 1:46 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5983

Re: importing a *.bmp file

Hi, Sorry about all the posts. My updated program is attached. I tried to attach a copy of the image file from the PC, but the following error message ensued "Invalid file extension: blkandwht12.bmp." I tried to attach a copy of the image file from the K drive, but it did not show there. All of the ...
by pcls1026
Sat Feb 10, 2018 2:51 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5983

importing a *.bmp file

Hi,
I am using the attached code to import a 16KB, BMP image file, into the Image frame frame buffer on an M7.
It gives a syntax error.
What am I doing wrong?
Jim
by pcls1026
Wed Feb 07, 2018 5:45 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1047

Re: usb cable

HI,
I think I answered your question wrong.
I am talking about the USB cable that goes from the PC to openmv board.
Jim
by pcls1026
Wed Feb 07, 2018 5:39 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1047

Re: usb cable

No, it was the big "A" connector.
The board is fine I think.

Do you have the official names for the cable connectors. I have no idea what to ask for.

Jim
by pcls1026
Tue Feb 06, 2018 8:40 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1047

usb cable

Hi,
Believe it or not, a wild squirrel ate the end off of my USB cable. Can you give a part number or let me buy one from you?
Thanks,
Jim Sullivan
by pcls1026
Mon Jan 15, 2018 2:22 pm
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 776

Re: pixel value

Thanks iabdalkader
Jim
by pcls1026
Sat Jan 13, 2018 12:52 am
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 776

Re: pixel value

A "REDO" of the previous reply.
If you get the time I would appreciate the ability to get the raw intensity value of the red filtered pixel.
Thanks
Jim
by pcls1026
Sat Jan 13, 2018 12:49 am
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 776

Re: pixel value

If you get the time I would appreciate the ability to get the red intensity value.
Thanks
Jim
by pcls1026
Thu Jan 11, 2018 5:02 pm
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 776

Re: pixel value

Thanks,
If I use image.get with QVGA and RGB565, I think the R in the tuple (R,G,B) would be close to what I'm looking for. What do you think?
Jim
by pcls1026
Tue Jan 09, 2018 3:27 pm
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 776

pixel value

Hi,
I want to read the "raw intensity" value of the bayer red filtered pixels.
Thanks
Jim Sullivan
by pcls1026
Tue Nov 14, 2017 2:29 pm
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 688

Re: frames/second

10.42305
--
--
7.692307

See attached file
by pcls1026
Tue Nov 14, 2017 12:49 am
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 688

Re: frames/second

I am referring to the FPS printed out using "print(clock.fps())" command in the script. The printout is in the IDE serial terminal.
by pcls1026
Mon Nov 13, 2017 3:14 pm
Forum: General Topics
Topic: frames/second
Replies: 5
Views: 688

frames/second

I run helloworld.py.
The fps printed out vary wildly--80 fps to 28 fps.
what overhead causes the difference?
will the fps be more stable when the camera is not run in the IDE?

Jim
by pcls1026
Fri Nov 10, 2017 3:00 pm
Forum: General Topics
Topic: source code
Replies: 1
Views: 496

source code

where do i find source code?
specifically for img.find_blobs.
by pcls1026
Sun Oct 22, 2017 5:26 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 844

Re: OSError 28

is there any way to clear the flash memory?
by pcls1026
Sun Oct 22, 2017 12:39 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 844

Re: OSError 28

I am using the is the M7 camera. I attached my file. I ran the file in the IED. *when the program attempts the f.write statement I get the "OSError 28". Some background: *The program originally worked fine. *I inadvertently used "for j in range(1000):" and this is when the problem started. *I change...
by pcls1026
Sat Oct 21, 2017 3:38 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 844

OSError 28

I think the STM32 memory is full or the OS is corrupted.
I get an OSError 28 when I try to write to an open file .
I tried TOOLS/reset openmvcam. It did not solve the problem

Go to advanced search