Search found 344 matches

by iabdalkader
Mon Oct 16, 2017 2:16 pm
Forum: General Topics
Topic: OpenMV interfacing with a TI MSP432 processor
Replies: 4
Views: 38

Re: OpenMV interfacing with a TI MSP432 processor

kwagyeman wrote:
Sat Oct 14, 2017 10:50 am
As a note, your professor forcing you to use a dying MCU line seems weird. You'd find much more use out of learning how STM32 CPUs work that TI stuff.
Many universities still require students to use this MCU in their projects, I think due to outdated curriculums.
by iabdalkader
Mon Oct 16, 2017 11:03 am
Forum: Project Discussion
Topic: Face recognition Project
Replies: 3
Views: 20

Re: Face recognition Project

See Examples->07-Face Detection->face_recognition.py

It's an implementation of the paper mentioned in the comments of the script. I don't think it works well in real life conditions.
by iabdalkader
Mon Oct 16, 2017 11:01 am
Forum: Technical Discussion
Topic: How to porting image processing algorithm with pure C to openmv3
Replies: 1
Views: 30

Re: How to porting image processing algorithm with pure C to openmv3

Hi, see the following examples: https://github.com/openmv/openmv/commit/83451de050e339c11c1d112f3cc52b4edd764dcb#diff-8f4d10f043b1a0ee3c6cc5be660537b9 https://github.com/openmv/openmv/commit/e104be63dfa5b439258530a4cc8c7bf364cc238e#diff-8f4d10f043b1a0ee3c6cc5be660537b9 https://github.com/openmv/open...
by iabdalkader
Thu Oct 12, 2017 5:35 pm
Forum: Technical Discussion
Topic: Waiting for connections..
Replies: 1
Views: 28

Re: Waiting for connections..

Hi,
What do you mean by eject it from its USB connection ? Do you mean reset the camera ?
by iabdalkader
Thu Oct 12, 2017 5:29 pm
Forum: General Topics
Topic: Strange behavior in the IDE.
Replies: 6
Views: 46

Re: Strange behavior in the IDE.

Hi,

I just saw this too and notified Kwabena. We've just switched servers and It's probably related. I think you can ignore that update message, just click cancel.
by iabdalkader
Sun Oct 08, 2017 11:07 am
Forum: Technical Discussion
Topic: HTML generated by mjpeg_streamer
Replies: 4
Views: 52

Re: HTML generated by mjpeg_streamer

I think the docs are wrong. Those functions are not implemented in MicroPython STM socket module:

https://github.com/micropython/micropyt ... dusocket.c
by iabdalkader
Thu Oct 05, 2017 7:51 pm
Forum: General Topics
Topic: Fixed target point
Replies: 2
Views: 54

Re: Fixed target point

Try:

Code: Select all

img.draw_cross(img.width()//2, img.height()//2)
by iabdalkader
Thu Oct 05, 2017 7:49 pm
Forum: Technical Discussion
Topic: Watchdog
Replies: 3
Views: 41

Re: Watchdog

Hi,
This code is enabled in the current development firmware. If you don't want to wait for the next release, you can clone the repo and upload the firmware image.
by iabdalkader
Thu Oct 05, 2017 7:35 pm
Forum: Technical Discussion
Topic: HTML generated by mjpeg_streamer
Replies: 4
Views: 52

Re: HTML generated by mjpeg_streamer

I don't think so, we can just control the headers.
by iabdalkader
Wed Oct 04, 2017 7:53 pm
Forum: Technical Discussion
Topic: What is the best way to check memory usage?
Replies: 6
Views: 87

Re: What is the best way to check memory usage?

GregR wrote:
Mon Oct 02, 2017 3:27 pm
Any suggestions for further troubleshooting this?
Hi, yes use this to dump GC alloc table:

Code: Select all

import machine
machine.info(1)
Dots are free blocks, anything else is an allocated GC block. Note 1 GC block == 16 bytes.
by iabdalkader
Sat Sep 30, 2017 7:21 pm
Forum: Technical Discussion
Topic: Using a different cascade classifer
Replies: 11
Views: 748

Re: Using a different cascade classifer

Hi, The slash issue should be fixed in the next release, I will make sure to test the sd and flash... Re the write permissions, I'm using Arch and the IDE can write to flash, at some point it didn't work, I can't remember exactly how I fixed it. These are my groups now: root uucp audio vboxusers plu...
by iabdalkader
Tue Sep 26, 2017 11:05 pm
Forum: General Topics
Topic: Face detection- color RGB(Not GRAYSCALE)
Replies: 2
Views: 59

Re: Face detection- color RGB(Not GRAYSCALE)

Hi, note there's no difference if it works on RGB or grayscale the image is converted to an integral image before running the algorithm.
by iabdalkader
Tue Sep 26, 2017 8:23 pm
Forum: General Topics
Topic: Connect lcd to Face_Detection
Replies: 2
Views: 48

Re: Connect lcd to Face_Detection

Hi, you just need to add the following to the face detection example: import lcd lcd.init() # Initialize the lcd screen. (before loop) And send images to LCD: lcd.display(img) # display the image. Full script: import sensor, time, image, lcd # Reset sensor sensor.reset() # Sensor settings sensor.set...
by iabdalkader
Mon Sep 25, 2017 6:54 pm
Forum: Technical Discussion
Topic: OpenMV3 firmware development
Replies: 4
Views: 101

Re: OpenMV3 firmware development

Hi, Try the following: * Remove -Wdouble-promotion flag from top Makefile. * Add -lgcc to top Makefile after $(FIRMWARE).elf (around line: 399 or whatever line number you have): $(CC) $(LDFLAGS) $(FIRM_OBJ) -o $(FW_DIR)/$(FIRMWARE).elf -lgcc This will link libc with all the missing functions. * Fina...
by iabdalkader
Sat Sep 23, 2017 8:38 pm
Forum: Technical Discussion
Topic: MemoryError: Memory allocation failed, allocating 1024 bytes
Replies: 4
Views: 71

Re: MemoryError: Memory allocation failed, allocating 1024 bytes

To people looking for the RAM specs, here is what is mentioned in the CAM M7 datasheet (RAM Layout) : - 128KB .DATA/.BSS/Heap/Stack - 384KB Frame Buffer/Stack (512KB Total) Note there's also a 128KBs Tightly Coupled Memory (TCM) memory that we're also using. Also That's not the actual memory layout...
by iabdalkader
Thu Sep 14, 2017 11:11 am
Forum: Technical Discussion
Topic: Newly bought Wifi Shield hanged
Replies: 10
Views: 100

Re: Newly bought Wifi Shield hanged

Hi,

When you run scan.py you should see the WiFi firmware version printed:

Code: Select all

Firmware version: (19, 4, 4, 19, 3, 0, 1377184)
If you don't see that and the cam gets stuck/hangs, it means the shield HW is bad.
by iabdalkader
Tue Sep 05, 2017 9:43 pm
Forum: Technical Discussion
Topic: Can't Connect M& Open MV Cam(STM32F765)
Replies: 18
Views: 336

Re: Can't Connect M& Open MV Cam(STM32F765)

westmi wrote:
Tue Sep 05, 2017 8:59 pm
Ok now that is done. Where can I read up on all the examples you provided in the OpenMV IDE so I can understand there functions.
Untitled.png
Untitled.png (176.97 KiB) Viewed 278 times
by iabdalkader
Tue Sep 05, 2017 7:46 pm
Forum: General Topics
Topic: Pins not Soldered in
Replies: 1
Views: 112

Re: Pins not Soldered in

I just received my OpenMV board in the mail. (Yay!) It came with a couple of rows of pins that haven't been soldered in. Is this normal, or just a mistake on my board? I haven't seen anything in the documentation. Not complaining -- been looking for an excuse to learn to solder. But, wasn't expecti...
by iabdalkader
Wed Aug 30, 2017 7:21 pm
Forum: Technical Discussion
Topic: All LED colors blinking
Replies: 5
Views: 124

Re: All LED colors blinking

Hi,
There should be an error log stored on the disk.
by iabdalkader
Wed Aug 30, 2017 3:14 pm
Forum: Technical Discussion
Topic: image problem
Replies: 11
Views: 289

Re: image problem

Hi I confirm this is a bug in M4 firmware.
by iabdalkader
Wed Aug 30, 2017 12:36 am
Forum: Technical Discussion
Topic: image problem
Replies: 11
Views: 289

Re: image problem

Yes, and please tell us the old firmware version so we can figure out what change cause this bug.
by iabdalkader
Tue Aug 29, 2017 10:44 pm
Forum: Technical Discussion
Topic: image problem
Replies: 11
Views: 289

Re: image problem

Hi,

I haven't tested the M4 for a while, maybe it's a bug. Can you let me know the firmware version ?
by iabdalkader
Tue Aug 29, 2017 10:43 pm
Forum: General Topics
Topic: Where are the example files?
Replies: 2
Views: 116

Re: Where are the example files?

rocketman wrote:
Tue Aug 29, 2017 9:31 pm
Hi, simple question - where are the sample code files which showcase the main use cases? I think the admin mentioned in another conversation there are over 60 files? HELP!!
Thanks!

Hi, examples are built-in the IDE:
Untitled.png
Untitled.png (176.97 KiB) Viewed 114 times
by iabdalkader
Mon Aug 28, 2017 8:49 pm
Forum: General Topics
Topic: Servo Shield
Replies: 12
Views: 347

Re: Servo Shield

cagiva wrote:
Mon Aug 28, 2017 8:32 pm
Instead of creating my own shield, can I just use your Servo shield with the WiFi shield to control one servo?
Yes, sure you can.
by iabdalkader
Mon Aug 28, 2017 7:19 pm
Forum: General Topics
Topic: Servo Shield
Replies: 12
Views: 347

Re: Servo Shield

The regulator can supply up to 500mA, so I think it's safe to power the cam and servo from USB power bank (connect the servo to the 3.3v output on the left header). If you want to power the servo from 5v, you'll have to use one of these to power the cam and servo from USB: https://www.sparkfun.com/p...
by iabdalkader
Fri Aug 25, 2017 4:51 pm
Forum: General Topics
Topic: Can the board works disconnected from IDE ?
Replies: 19
Views: 1753

Re: Can the board works disconnected from IDE ?

Maybe you don't have permissions to write to OpenMV storage (flash or SD card).

Try this:
* Save the script from the IDE like you do.
* Reset the cam, wait for it to mount the storage.
* cat main.py see if it changed at all.

Other solution, just edit main.py and put your code there.
by iabdalkader
Fri Aug 25, 2017 2:53 pm
Forum: General Topics
Topic: Servo Shield
Replies: 12
Views: 347

Re: Servo Shield

Do I need the servo shield if I want to control just one hitec servo like the HS-85MG? Can I just connect it directly to pins one of the OpenMV board to control it with Servo.py script? No, you can control up to 3 servos directly with the M7 camera. If you need to control more servos, you'll need t...
by iabdalkader
Thu Aug 24, 2017 6:10 pm
Forum: Technical Discussion
Topic: Cam sometimes reset
Replies: 4
Views: 174

Re: Cam sometimes reset

If the changes are not written/flushed the file system will be corrupted. The next time you power up the cam it re-creates the FS if it's corrupted.
by iabdalkader
Thu Aug 24, 2017 6:08 pm
Forum: Technical Discussion
Topic: Image Stream
Replies: 39
Views: 884

Re: Image Stream

Thank you very much. Do you have any idea why this is happening? Sorry for the late reply. I´ve been working on something else for quite a while now. Hi, I think you're not reading the whole frame, just the first packet. Note in the hex dump, you're reading exactly 64 byte packets (the max size of ...
by iabdalkader
Thu Aug 24, 2017 11:58 am
Forum: Technical Discussion
Topic: WiFi not working I think?
Replies: 11
Views: 426

Re: WiFi not working I think?

Hi,

I can connect to 8080 in station mode. I tested with Firefox 55.0.2 and Chromium 60.0.3112.101 (Developer Build) (64-bit)
by iabdalkader
Mon Aug 21, 2017 11:36 am
Forum: Technical Discussion
Topic: Problems converting Haar Cascade
Replies: 1
Views: 119

Re: Problems converting Haar Cascade

Hi, only Haar cascades are supported. Note some users reported the converter doesn't work on Windows.
by iabdalkader
Sat Aug 19, 2017 12:09 pm
Forum: Technical Discussion
Topic: Local binary pattern computation
Replies: 3
Views: 225

Re: Local binary pattern computation

wayne wrote:
Fri Aug 18, 2017 9:35 pm
Hi, is it possible to access the value of LBP descriptor for other processing instead of using image.match_descriptor(d0, d1)?

Thanks again
No that's not implemented.
by iabdalkader
Fri Aug 18, 2017 8:37 am
Forum: Technical Discussion
Topic: Local binary pattern computation
Replies: 3
Views: 225

Re: Local binary pattern computation

Hi, I'm trying to use local binary pattern (LBP) for image classification problem on OpenMV M4 module. It seems that image.find_lbp computes the local binary pattern but there is no detail about how to use this output. Is there any available information about how to use the output directly and how ...
by iabdalkader
Thu Aug 17, 2017 8:59 pm
Forum: Technical Discussion
Topic: WiFi not working I think?
Replies: 11
Views: 426

Re: WiFi not working I think?

Hi,

If the cam just hangs when running scan.py it means the shields is not responding. You should double check the pins and make sure they're making full contact.
by iabdalkader
Sat Aug 12, 2017 10:17 pm
Forum: General Topics
Topic: OpenMV IDE 1.7.0 / Firmware 2.5.0
Replies: 8
Views: 375

Re: OpenMV IDE 1.7.0 / Firmware 2.5.0

So basically download from the GitHub, extract it to ide firmware folder for mv3 and then let the ide do the work. Got it. EDIT. I overwrote the firmware in the folder and also changed the firmware.txt file to read 2.5.0 but still showed 2.5.0 but I went ahead and uploaded it anyway. Figured it was...
by iabdalkader
Sat Aug 12, 2017 9:15 pm
Forum: General Topics
Topic: OpenMV IDE 1.7.0 / Firmware 2.5.0
Replies: 8
Views: 375

Re: OpenMV IDE 1.7.0 / Firmware 2.5.0

mjs513 wrote:
Sat Aug 12, 2017 9:12 pm
Thanks. But how do I install the firmware from the zip. Didn't see any reference in docs on how to do that. But then again, I probably just missed it. :)
Extract it and upload OPENMV3/firmware.bin using the IDE's bootloader.
by iabdalkader
Sat Aug 12, 2017 8:57 pm
Forum: General Topics
Topic: OpenMV IDE 1.7.0 / Firmware 2.5.0
Replies: 8
Views: 375

Re: OpenMV IDE 1.7.0 / Firmware 2.5.0

Just downloaded IDE 1.7.0 and seems to work fine. When I look at the release notes it says that it is updated for Firmware 2.5.0. However, when look at the bottom of the screen it shows that 2.4.1 is the latest version? Has 2.5.0 been released yet? Yes it's been released, I think the IDE was packag...
by iabdalkader
Tue Aug 08, 2017 12:58 pm
Forum: Technical Discussion
Topic: fps is slow when OpenMV boot from file system
Replies: 17
Views: 1285

Re: fps is slow when OpenMV boot from file system

@kidswong999

Please test the attached FW let me know if it fixes the issue.
by iabdalkader
Tue Aug 08, 2017 12:52 pm
Forum: Technical Discussion
Topic: fps is slow when OpenMV boot from file system
Replies: 17
Views: 1285

Re: fps is slow when OpenMV boot from file system

Oh, yes, from the file system. Mmm, okay... Ibrahim, do we compress the frame buffer if the camera is attached to the PC but OpenMV IDE isn't connected? Maybe that's the problem? The IDE normally tells the camera to disable the frame buffer. The state is preserved so when you soft-reset the cam the...
by iabdalkader
Tue Aug 08, 2017 7:52 am
Forum: Technical Discussion
Topic: trained haar classifier could not run properly
Replies: 15
Views: 715

Re: trained haar classifier could not run properly

iabdalkader ,Thank you for your kindley support! The issue can't be solved from viewtopic.php?f=6&t=246&p=1969&hilit=short#p1969 . I found the file is HOG or LBP format train by opencv,there can't be convert to cascade file by openmv-cascade.py. How to used there in openmv3 .Thanks! We only support...
by iabdalkader
Mon Aug 07, 2017 3:46 pm
Forum: Technical Discussion
Topic: Image Stream
Replies: 39
Views: 884

Re: Image Stream

Here's a hex dump of "frame buf.txt" looks like you're getting the JPEG header over and over again. 00000000 20 20 20 20 f0 20 20 20 16 07 20 20 6a 70 65 ea | . .. jpe.| 00000010 24 1d 99 5d b3 6d f0 39 aa 7c 82 08 2d 01 c7 7f |$..].m.9.|..-...| 00000020 8e 77 bd c5 5e d1 6f 62 ff 09 5b d9 08 bd bc ...
by iabdalkader
Mon Aug 07, 2017 3:41 pm
Forum: Technical Discussion
Topic: Flipping the camera up-side-down
Replies: 17
Views: 2239

Re: Flipping the camera up-side-down

You could flip and then crop the output (set_windowing), it should have the same effect.
by iabdalkader
Mon Aug 07, 2017 12:53 pm
Forum: Technical Discussion
Topic: fps is slow when OpenMV boot from file system
Replies: 17
Views: 1285

Re: fps is slow when OpenMV boot from file system

I'm getting ~90FPS. Tried flash and uSD and both run at 90FPS.
Screenshot from 2017-08-07 18-50-35.png
Screenshot from 2017-08-07 18-50-35.png (4.02 KiB) Viewed 1159 times

This is an M7, right ?
by iabdalkader
Mon Aug 07, 2017 9:05 am
Forum: Technical Discussion
Topic: trained haar classifier could not run properly
Replies: 15
Views: 715

Re: trained haar classifier could not run properly

skylin008 wrote:
Sun Aug 06, 2017 9:57 pm
Yes,I used the python 2.7.6 (GCC 4.8.4)
When you use this:

Code: Select all

python openmv-cascade.py cas3.xml
python could be a link to Python3 not 2.7.

So you should try:

Code: Select all

python2.7 openmv-cascade.py cas3.xml
by iabdalkader
Sun Aug 06, 2017 1:29 pm
Forum: Technical Discussion
Topic: Lines Detected Change on successive images
Replies: 39
Views: 901

Re: Lines Detected Change on successive images

I tried it and it doesn't seem to make any difference, but it shouldn't blank the output so I think you disabled something else. For the future here's how to disable a bit in a reg:

Code: Select all

reg = sensor.__read_reg(addr)
sensor.__write_reg(addr, reg&mask)
by iabdalkader
Sat Aug 05, 2017 9:44 pm
Forum: Technical Discussion
Topic: Lines Detected Change on successive images
Replies: 39
Views: 901

Re: Lines Detected Change on successive images

Could you try disabling fast AGC/AEC (see COM8) ?
by iabdalkader
Fri Aug 04, 2017 2:41 pm
Forum: Technical Discussion
Topic: Image Stream
Replies: 39
Views: 884

Re: Image Stream

Even if the driver is dropping bytes, the data won't be the same . I'm interested in a hexdump maybe it will give us a clue to what the cam is sending.

Update:
Or maybe you're getting the header (which should be the same) anyway a hex dump will help a lot.
by iabdalkader
Fri Aug 04, 2017 9:46 am
Forum: Technical Discussion
Topic: Image Stream
Replies: 39
Views: 884

Re: Image Stream

Can you attach the data you get ?

Go to advanced search