Search found 128 matches

by pcls1026
Tue Oct 06, 2020 4:56 pm
Forum: Technical Discussion
Topic: image statistics
Replies: 1
Views: 70

image statistics

Hi
What python command sequence do use to get grayscale statistics?

Jim Sullivan
by pcls1026
Sun Aug 23, 2020 4:26 pm
Forum: Technical Discussion
Topic: record
Replies: 3
Views: 62

Re: record

Hi,
What I am trying to do here get a single picture to put into Microsoft PAINT . It looks kike I should do it in my script file pixel by pixel, [x,y,intensity].
Thanks,
Jim
by pcls1026
Sun Aug 23, 2020 4:13 pm
Forum: Technical Discussion
Topic: histogram
Replies: 3
Views: 61

Re: histogram

Thanks,
I was in college for 6 years and got two Engineering Masters degrees and I never new what a histogram was until now. I always thought it was a simple bar chart.
Thanks for completing my education,
Jim
by pcls1026
Sun Aug 23, 2020 4:00 pm
Forum: Technical Discussion
Topic: record
Replies: 3
Views: 62

record

Hi,
In the IDE, when I "record" the frame, where is the file recorded, and why does it take so long to record, and why is it so big?
Thanks,
Jim Sullivan
by pcls1026
Sun Aug 23, 2020 3:44 pm
Forum: Technical Discussion
Topic: histogram
Replies: 3
Views: 61

histogram

How do I read the IDE histogram. I want to find the pixel intensity along an X line segment. I use: script "helloworld_1.py" ,sensor.set_pixformat(sensor.GRAYSCALE) , sensor.set_framesize(sensor.VGA) IDE Histogram "grayscale color space" res(W:640,H:480) Questions; 1. Why does the X scale only go to...
by pcls1026
Mon Jul 27, 2020 4:38 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

Hi,
Every thing is beautiful in its own way.
Thanks
Jim
by pcls1026
Fri Jul 24, 2020 3:00 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

Me again,

Can I just clear the flash memory using TOOLS.

Jim
by pcls1026
Fri Jul 24, 2020 2:53 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

Hi,

Can you explain your last message in more detail? Where is the Video file. How does replacing the sdcard help?

Jim
by pcls1026
Thu Jul 23, 2020 7:33 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

MORE INFO: DISK K only has a 79K capacity. File "stream.bin" on drive K is 78KB. I have the microSD card mounted in its connector on the PC board. Why doesn't drive K have more KB's. When I remove the microSD card and read the K drives capacity using windows explorer, it reads the same as when the m...
by pcls1026
Thu Jul 23, 2020 5:59 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

More INFO:
The four files dated 2014 have a total of 80 KB.
by pcls1026
Thu Jul 23, 2020 5:53 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

Hi,

I still get the ERROR. The "K disk" has 4 files all put on in 2014, and one file main.py180724 with 0KB dated 7/23/2020.

Jim
by pcls1026
Thu Jul 23, 2020 2:17 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

Re: loading CAM7 with script file

No. Not according to "removable disk K" listed in Windows explorer.

I do not understand where the "DISK K" memory is. Is it on the Microprocessor or on the MicroSD?
by pcls1026
Thu Jul 23, 2020 1:37 pm
Forum: Technical Discussion
Topic: loading CAM7 with script file
Replies: 11
Views: 184

loading CAM7 with script file

Hi,
I forgot how to load a script file into the CAM7.
Here is what I do:
connect
tools
save open script
YES

ERROR: cannot write file K:\\main.py. disk full?!

Thanks
Jim Sullivan
by pcls1026
Fri Apr 24, 2020 5:02 pm
Forum: Technical Discussion
Topic: code speed
Replies: 1
Views: 793

code speed

Hi, I have a lot of PRINT statements in my script. They slow down my execute speed in the IDE. Do the PRINT statements also slow down the execute speed when I run the script without the IDE. (I.E on batteries.) If they do slow the execute speed, can I delete them with a blanket command, or do I need...
by pcls1026
Sun Apr 12, 2020 6:00 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi, I plugged in my 5 volt power supply to the CAM7 without the USB hooked up. A white light blinked on the CAM7. Is this the only indication that my code is running? Also, since the IDE is no longer hooked up I can't get serial output to debug. Can I keep using the USB power and the OPEN TERMINAL s...
by pcls1026
Sat Apr 11, 2020 1:45 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Yo dude, it works. I love it.

Thanks again
Jim
by pcls1026
Sat Apr 11, 2020 11:10 am
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi,
I want use the CAM on a robot without being connected to the USB port on The PC. In other words I want the CAM to run autonomously, like you guys do when your racing in California.
Jim
by pcls1026
Fri Apr 10, 2020 5:05 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

hi, I put in a delay after the print in the code I sent you. I get the same error printout. >>> >>> raw REPL; CTRL-B to exit >raw REPL; CTRL-B to exit >OK Traceback (most recent call last): File "<stdin>", line 174 SyntaxError: invalid syntax > MicroPython v1.11-omv OpenMV v3.5.0 2019-11-04; OPENMV3...
by pcls1026
Wed Apr 08, 2020 11:26 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

I forgot the code.
by pcls1026
Wed Apr 08, 2020 11:16 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

The great code is attached.
by pcls1026
Wed Apr 08, 2020 3:55 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

I looked at all the white spaces: there was nothing but dots . I entered a tab just to see what it looked like. When I entered the tab, the cursor went to the right four spaces and showed ....(four dots) not ->. However the line number was high lighted and a red bar appeared after the line number. I...
by pcls1026
Wed Apr 08, 2020 12:13 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi,
I don't see any reference to TABS under IDE EDIT.
Under EDIT --ADVANCED there is "clean whitespace", is this the command that eliminates tabs?
Jim
by pcls1026
Tue Apr 07, 2020 7:16 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi, I ran my script in the IDE and it does what it should. When I run my script in the serial terminal, it gives me the following ********************* raw REPL; CTRL-B to exit >OK Traceback (most recent call last): File "<stdin>", line 68 IndentationError: unindent doesn't match any outer indent le...
by pcls1026
Tue Apr 07, 2020 7:01 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

From the device manager ---PORTS (COM & LPTA)>>>Openmv cam USB com port (COM 3). I turned off the IDE serial. Under tools I reopened serial port com 3, and I GOT THE COM 3 SERIAL PORT SCREEN. ON the screen I used the run button and the script on the cam ran, with print statement data being printed. ...
by pcls1026
Tue Apr 07, 2020 3:57 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

under tools i select "open terminal ... new terminal"
under "new terminal" I select "connect to a serial port"
under "serial port", I select "com 3" because that is the only one available
I enter the baud rate "115200"

"ERROR: ACCESS IS DENIED"
by pcls1026
Mon Apr 06, 2020 5:48 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

how abut the serial ports. which one do I select?
by pcls1026
Mon Apr 06, 2020 5:46 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

how abut the serial ports. which one do I select?
by pcls1026
Mon Apr 06, 2020 2:05 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi I jumped the gun on my last post. I copied the helloworld script file to the cam7. I can see the file main.py on the Kdrive using windows explorer. I can look at the file using notepad; Loe and Behold, the helloworld file is their. How do I run the Kdrive file using the usb power, or must I use m...
by pcls1026
Mon Apr 06, 2020 1:51 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

Re: microSD

Hi, I am confused of course. I fiddled around but could not make it work. Here are the steps I took. Plugged in the cam 7 to a PC usb port. Opened the IDE Called up the "helloworld_1.py" script Used tools to save this script to the cam7 Used tools to open a new terminal NOW, WHICH OF THE 3 serial po...
by pcls1026
Sun Apr 05, 2020 7:13 pm
Forum: Technical Discussion
Topic: microSD
Replies: 28
Views: 2617

microSD

Hi, I bought a new microSD card. Under tools on the IDE, I "save open script to OPENMV CAM". I verified that copy script file is on the microSD card by looking at the K drive removable disk. Being the novice I am, how does the CAM know to load the "Script File" that I put on the SD card into the CAM...
by pcls1026
Sat Apr 04, 2020 6:54 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

thanks
Ill close this one.
Jim
by pcls1026
Fri Apr 03, 2020 5:48 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

Once my script is loaded onto the uSD I want to run the script on a different power source (batteries) than the PC. To What pins on the cam7 do I connect the Voltage and ground from my power source. Also what voltage do I use , i.e. 5V or 3.25 V?
Jim

PS: When are the OpenMV Cam H7 plus coming.
by pcls1026
Mon Mar 30, 2020 3:18 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

Hi,
I need a new usd card. I broke my old one. How many GB should I buy?
Jim
by pcls1026
Sun Mar 29, 2020 6:39 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

Under tools in the IDE the copy .. command is not high lighted.
Jim
by pcls1026
Sun Mar 29, 2020 6:32 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

I'll try it and get back.
Thanks,
Jim
by pcls1026
Sun Mar 29, 2020 3:55 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

after i'v saved the script to the cam, is it non volitile?

how do I start the program running, or does it just start when I power up the cam?
by pcls1026
Sun Mar 29, 2020 2:34 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

Hi, I got my image timing to work the way I wanted. Thanks MY script works the way I want, when it is running in the IDE. What do I need to do to run it NOT using the IDE. I assume I need a power supply. How do I program the camera uP with the script. And, does the uP start running automatically whe...
by pcls1026
Thu Mar 26, 2020 7:59 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

Re: image

I forgot the enclosure.
by pcls1026
Thu Mar 26, 2020 7:45 pm
Forum: Technical Discussion
Topic: image
Replies: 14
Views: 1661

image

Hi,
I finally got logged in under my wife's name.

Ihave enclosed my script file. I want the image to appear on the IDE frame buffer screen "immediately" after the picture is taken on line 24 , before the rest of the code is run.


Thanks,
Jim
by pcls1026
Fri Nov 15, 2019 12:43 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

In the last post I forgot the most important thing. I had removed the SD card. Now, when I put the SD card in the camera (with the 8 traces facing down in the connector) I get the same response in windows explorer. I will get a new SD like you suggested and see if it works. Just out of curiosity wha...
by pcls1026
Fri Nov 15, 2019 12:22 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

when I plug in the camera removable disk K shows up under computer in windows explorer.

However, using properties it says it has 80 KB which is not the size of the SD card.

I tried UART1 and the transmitter works correctly. So, I can use UART1 instead of UART3.

Jim
by pcls1026
Fri Nov 15, 2019 11:57 am
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

Hi, I tried your code above. It still gets the OSERROR. Type "help()" for more information. >>> Traceback (most recent call last): File "<stdin>", line 9, in <module> OSError: Failed to write requested bytes! MicroPython v1.11-omv OpenMV v3.5.0 2019-11-04; OPENMV3-STM32F765 Type "help()" for more in...
by pcls1026
Fri Nov 15, 2019 11:45 am
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

If it wasn't for the SPELLCHECKER I would misspell every thing.

I will try the code you sent.

I have not tried UART1, but I will.

I'll be back!! (A quote from Arnold S.)

Thanks,
Jim Sullivan
by pcls1026
Thu Nov 14, 2019 5:10 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

I tried the code you sent me and I get OS ERROR: failed to write requested bytes.

I Used helloworld_1.py from the examples. I removed the while loop.

You spelled sensor wrong.

Jim Sullivan
by pcls1026
Thu Nov 14, 2019 4:59 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

Re: usage

I checked continuity and there are no shorts.
Why Can't I use UART-1?
by pcls1026
Thu Nov 14, 2019 1:32 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 1298

usage

OpenMV Cam M7 I need an explanation of how to save an image frame buffer to the sd card; and then copy it back into the frame buffer so I can see it. Also, I still can't get UART3 to output the correct waveform. The waveform timing is correct but the voltage levels are wrong. [low=2.94V and high=3.2...
by pcls1026
Sat Nov 02, 2019 8:38 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 1424

Re: uart waveform

I checked the soldering and re-soldered the pin. Nothing changed.

How about finding the SD card?

Jim
by pcls1026
Sat Nov 02, 2019 6:30 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 1424

Re: uart waveform

Hi, That is exactly what I would expect to see. My cam7 pin 4 is high before I start my script (attached) and remains high during the uart.write command. I fear my cam7 microprocessor uart 3 transmitter has failed. The uart 3 WILL receive a write from my DSP with no problem. Also, The PC cannot find...
by pcls1026
Thu Oct 31, 2019 5:40 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 1424

Re: uart waveform

I will try it hooked up to a microchip dsp33ep256mp on board uart and see if sends the correct wave form.
by pcls1026
Thu Oct 31, 2019 1:34 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 1424

uart waveform

I have a simple script to run UART 3 on my OpenMV Cam M7. I have attached it. The UART voltage waveform does not seem to be correct. I have the scope probe attached to pin 4 of the Cam M7. I have the probe ground attached to the GND pin of the Cam M7. The script sends chr(24), binary '00011000' from...

Go to advanced search