Search found 732 matches

by iabdalkader
Fri Apr 19, 2019 6:29 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

done.
by iabdalkader
Fri Apr 19, 2019 6:20 pm
Forum: Technical Discussion
Topic: OpenMV Cam2 IR filter
Replies: 7
Views: 172

Re: OpenMV Cam2 IR filter

If you look at the back of the lens, you can see the filter (it's square piece of red glass). I have an IR filter on my lens and I can still see my remote IR LED, the filter blocks some of IR not all of it (without a filter it will be much brighter). But you can track it then it's fine I guess.
by iabdalkader
Fri Apr 19, 2019 6:16 pm
Forum: Technical Discussion
Topic: how to send image to server by post to http?
Replies: 11
Views: 2244

Re: how to send image to server by post to http?

Given the wifi shield uses the same atwinc1500 chip as both the Adafruit feather M0 and their standalone winc1500, couldn't this same concept here: https://learn.adafruit.com/adafruit-feather-m0-wifi-atwinc1500/updating-ssl-certificates be used to flash the SSL certificates? or have there been suff...
by iabdalkader
Thu Apr 18, 2019 7:43 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

Should add this to the IDE libraries...
by iabdalkader
Thu Apr 18, 2019 7:22 pm
Forum: General Topics
Topic: OpenMV Master and OpenView receiver | Arduino Master - openMV receiver
Replies: 2
Views: 142

Re: OpenMV Master and OpenView receiver | Arduino Master - openMV receiver

Hi, I tested your code and it's working fine (after some fixing). First issue you send data from OpenMV once and then wait to receive data from Arduino (but Arduino is waiting to receive data from OpenMV before sending), so you should remove the second "if (Wire.available() == 2)". Also OpenMV expec...
by iabdalkader
Thu Apr 18, 2019 1:12 pm
Forum: Technical Discussion
Topic: Power battery domain with RTC only
Replies: 5
Views: 128

Re: Power battery domain with RTC only

As long as you keep the power supply connected, the RTC will keep working in low power modes. And yes VDD and VBAT are connected.
by iabdalkader
Thu Apr 18, 2019 12:17 pm
Forum: Technical Discussion
Topic: OpenMV Cam2 IR filter
Replies: 7
Views: 172

Re: OpenMV Cam2 IR filter

Hi does the OpenMV Cam2 has an IR filter on the lens? Is it possible to remove it? It depends on the lens you have. The standard lens that ships with the cam has an IR filter, and yes you can remove it if you want or you could buy and IR lens here: https://openmv.io/collections/lenses/products/ir-l...
by iabdalkader
Thu Apr 18, 2019 12:13 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

Attached.
by iabdalkader
Wed Apr 17, 2019 8:03 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

Actually I can send you a firmware image for testing. Which camera do you have ?
by iabdalkader
Wed Apr 17, 2019 4:59 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

This could take some time, maybe in a couple of weeks.
by iabdalkader
Wed Apr 17, 2019 4:30 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

You have to wait for the next release, or build the firmware from source.
by iabdalkader
Wed Apr 17, 2019 4:25 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

I checked, it allocates memory in runtime. I will enable this module.
by iabdalkader
Wed Apr 17, 2019 4:12 pm
Forum: Project Discussion
Topic: printing to OLED display
Replies: 22
Views: 398

Re: printing to OLED display

Actually we may not be able to enable this module if it reserves memory.
by iabdalkader
Wed Apr 17, 2019 3:47 pm
Forum: General Topics
Topic: Recording to a circular stream
Replies: 2
Views: 35

Re: Recording to a circular stream

Note that OpenMV has very low latency compared to RPi.
by iabdalkader
Mon Apr 15, 2019 3:32 pm
Forum: Technical Discussion
Topic: usocket and uselect reboots board
Replies: 4
Views: 154

Re: usocket and uselect reboots board

Okay I see the problem, actually we don't implement select/poll in the WINC1500 driver. The ioctl function is not even set (it shouldn't crash the cam however, I'll debug this). You can't use this module for now, but you can use the set timeout function to zero instead to set the socket to non-block...
by iabdalkader
Mon Apr 15, 2019 12:08 pm
Forum: Technical Discussion
Topic: External Camera with SPI bus
Replies: 15
Views: 3824

Re: External Camera with SPI bus

In spi.c, I found a condition '!DMA_BUFFER(src/dst)', is it means I need allocate the buffer with a special API? Otherwise how can I make sure my buffer is end by 000011b? #define DMA_BUFFER(p) ((uint32_t)p & 3) ... if (len == 1 || query_irq() == IRQ_STATE_DISABLED || !DMA_BUFFER(src)) { // Read da...
by iabdalkader
Fri Apr 12, 2019 7:14 pm
Forum: Technical Discussion
Topic: encoder question
Replies: 14
Views: 13528

Re: encoder question

For what it's worth, on the H7 the TIM2_CH2 is multiplexed on this pin:

untitled.png

Note: If you use this pin you can NOT use the FLIR module.
by iabdalkader
Fri Apr 12, 2019 8:49 am
Forum: Technical Discussion
Topic: Posting Guidelines — Please Read This First, Before You Post!
Replies: 0
Views: 127

Posting Guidelines — Please Read This First, Before You Post!

Welcome to the OpenMV Forums. Before posting your question, please read the following checklist first: Have you checked the built-in IDE examples in File->Examples first ? Have you searched the forums first ? Your question may have been answered before. Have you searched the docs first ? We have ex...
by iabdalkader
Fri Apr 12, 2019 8:49 am
Forum: Technical Discussion
Topic: usocket and uselect reboots board
Replies: 4
Views: 154

Re: usocket and uselect reboots board

Can you post a test script ? We can debug and fix it then.
by iabdalkader
Thu Apr 11, 2019 6:47 pm
Forum: General Topics
Topic: Posting Guidelines — Please Read This First, Before You Post!
Replies: 0
Views: 347

Posting Guidelines — Please Read This First, Before You Post!

Welcome to the OpenMV Forums. Before posting your question, please read the following checklist first: Have you checked the built-in IDE examples in File->Examples first ? Have you searched the forums first ? Your question may have been answered before. Have you searched the docs first ? We have ex...
by iabdalkader
Wed Apr 10, 2019 8:34 pm
Forum: Technical Discussion
Topic: encoder question
Replies: 14
Views: 13528

Re: encoder question

Hey, I think using 1 channel (TIM2_CH1) you should be able to count pulses, just not know which direction.
by iabdalkader
Wed Apr 10, 2019 6:24 pm
Forum: General Topics
Topic: Qr code and I2C
Replies: 1
Views: 5613

Re: Qr code and I2C

We have a wifi shield you can use directly with OpenMV : https://openmv.io/collections/products/products/wifi-shield Or you can use I2C or UART and send the data to Arduino. See the following examples in the IDE: Examples->02-Board-Control->arduino_i2c_slave.py Examples->02-Board-Control->uart_contr...
by iabdalkader
Sun Apr 07, 2019 10:10 pm
Forum: General Topics
Topic: Send image via serialport
Replies: 15
Views: 22033

Re: Send image via serialport

One (hopefully last) question: what causes the device to be busy? Sometimes I can't send the Serial.write as it throws the error [Errno 16] could not open port /dev/ttyACM0: [Errno 16] Device or resource busy: '/dev/ttyACM0' or serial.serialutil.SerialException: read failed: device reports readines...
by iabdalkader
Thu Apr 04, 2019 5:03 pm
Forum: Technical Discussion
Topic: What are the all supported resolutions?
Replies: 2
Views: 6249

Re: What are the all supported resolutions?

These are all the built-in standard resolutions:

http://docs.openmv.io/library/omv.senso ... _framesize

And you can also set a custom window:

http://docs.openmv.io/library/omv.senso ... _windowing
by iabdalkader
Thu Apr 04, 2019 12:31 pm
Forum: General Topics
Topic: Nvidia digits to train cnn with caffe
Replies: 3
Views: 5116

Re: Nvidia digits to train cnn with caffe

Maybe it's a different version of caffe, I think you need to install it from source:
https://github.com/NVIDIA/DIGITS/blob/d ... Install.md
by iabdalkader
Wed Apr 03, 2019 2:25 pm
Forum: General Topics
Topic: Reading stream of data sent from OpenMV to Raspberry Pi through USB
Replies: 5
Views: 3601

Re: Reading stream of data sent from OpenMV to Raspberry Pi through USB

This is not a problem with the port it's how you send the data, you send a str and when you recv you read 1 byte at a time, I get the same values. If you want to send a 4 bytes int and read that try: usb.send(ustruct.pack("<L", 90)) Then read 4 bytes and unpack: struct.unpack('<L', sp.read(4))[0]
by iabdalkader
Wed Apr 03, 2019 1:47 pm
Forum: General Topics
Topic: Nvidia digits to train cnn with caffe
Replies: 3
Views: 5116

Re: Nvidia digits to train cnn with caffe

Hi, yes and I used it before.
by iabdalkader
Tue Apr 02, 2019 2:49 pm
Forum: Technical Discussion
Topic: UVC packet size and interrupts
Replies: 3
Views: 2937

Re: UVC packet size and interrupts

Maybe you should try sending a single packet per frame first and increase VIDEO_PACKET_SIZE. I'm sorry I can't help you more I don't have access to HS hardware and never tried it before.
by iabdalkader
Tue Apr 02, 2019 2:47 pm
Forum: General Topics
Topic: [Basic] Outputting Edge Detection Image to be Put in to Line Detection
Replies: 7
Views: 4409

Re: [Basic] Outputting Edge Detection Image to be Put in to Line Detection

You should call find_lines directly on the image (please see the find_lines.py example). And if you want to access pixels you can access the image like an array (img[0] etc...).
by iabdalkader
Tue Apr 02, 2019 1:59 pm
Forum: General Topics
Topic: [Basic] Outputting Edge Detection Image to be Put in to Line Detection
Replies: 7
Views: 4409

Re: [Basic] Outputting Edge Detection Image to be Put in to Line Detection

This function finds edges in the image. You can also use find_lines, rects, circles etc... What do you mean by grab an image ? img = sensor.snapshot() img is the image object.
by iabdalkader
Tue Apr 02, 2019 1:06 pm
Forum: General Topics
Topic: [Basic] Outputting Edge Detection Image to be Put in to Line Detection
Replies: 7
Views: 4409

Re: [Basic] Outputting Edge Detection Image to be Put in to Line Detection

See the edge detection example: examples/09-Feature-Detection/edges.py
by iabdalkader
Tue Apr 02, 2019 1:03 pm
Forum: General Topics
Topic: UART communication with Teensy (Arduino)
Replies: 2
Views: 3107

Re: UART communication with Teensy (Arduino)

How do you connect the two boards ? You should connect TX->RX, RX->TX and ground.
by iabdalkader
Tue Apr 02, 2019 1:02 pm
Forum: General Topics
Topic: Reading stream of data sent from OpenMV to Raspberry Pi through USB
Replies: 5
Views: 3601

Re: Reading stream of data sent from OpenMV to Raspberry Pi through USB

I tested your code, seems to be working. Try opening the port like this: import sys, serial, struct port = '/dev/ttyACM0' sp = serial.Serial(port, baudrate=115200, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, xonxoff=False, rtscts=False, stopbits=serial.STOPBITS_ONE, timeout=None, dsrdtr=Tr...
by iabdalkader
Mon Apr 01, 2019 2:42 pm
Forum: Project Discussion
Topic: pop() for arrays
Replies: 4
Views: 4421

Re: pop() for arrays

pop() without index removes the last item not the first, try

Code: Select all

l.pop(0)
by iabdalkader
Thu Mar 28, 2019 7:09 pm
Forum: Technical Discussion
Topic: cnn accuracy on m7
Replies: 29
Views: 11110

Re: cnn accuracy on m7

@Eric I've tested your network using the first 1000 images in val_data on the camera, and the accuracy is very low indeed. Then I checked the first 100 images in val_data and I don't think the network will learn anything useful from these images (some images are mislabeled, others contain multiple p...
by iabdalkader
Thu Mar 28, 2019 11:32 am
Forum: Technical Discussion
Topic: Image Washout On M7
Replies: 5
Views: 5212

Re: Image Washout On M7

I think that's just the AGC and AEC working, they need time to settle down when going from a very bright to a very dark image or the other way around.
by iabdalkader
Thu Mar 28, 2019 11:29 am
Forum: Technical Discussion
Topic: LCD shield compatibility with servo and P&T shields
Replies: 2
Views: 2627

Re: LCD shield compatibility with servo and P&T shields

If I'm understanding the pinouts correctly, the LCD shield should work with the servo shield, which relies exclusively on the I2C pins P4 and P5, but not the pan & tilt shield, which utilizes the servo pins P7, P8, and P9, which would double up on the LCD's use of P7 and P8, right? Yes, the servo a...
by iabdalkader
Wed Mar 27, 2019 8:41 pm
Forum: Technical Discussion
Topic: 5V TTL?
Replies: 2
Views: 2420

Re: 5V TTL?

3.3v TLL and 5v TLL devices are compatible, to a 5V system the minimum input for a high is >= 2v. It will Not damage the device (if it's 5v tolerant it's 5v tolerant), however note that not all pins are 5v tolerant (see the pinout).
by iabdalkader
Wed Mar 27, 2019 3:30 pm
Forum: General Topics
Topic: Furthest distance for recognizing faces
Replies: 1
Views: 1750

Re: Furthest distance for recognizing faces

The faces must be close to the camera just a few feet away, or you could use one of the zoom lenses. Note this detector is trained on frontal faces, it won't detect profile faces. Currently we don't have any built-in function for people detection, however training a NN should work.
by iabdalkader
Sun Mar 24, 2019 12:02 pm
Forum: Technical Discussion
Topic: UVC packet size and interrupts
Replies: 3
Views: 2937

Re: UVC packet size and interrupts

Hi, we don't have any cameras with USB HS so there are no plans to support it. I don't think the interrupts are relevant, it's probably to make sure the transfer starts after all the buffers are set. How do you increase the packet size ? Do you change the VIDEO_PACKET_SIZE in include/usbd_uvc.h ?
by iabdalkader
Sun Mar 24, 2019 11:34 am
Forum: Technical Discussion
Topic: How to save image and video to SD card on board openMV M7
Replies: 1
Views: 2431

Re: How to save image and video to SD card on board openMV M7

Hi please see the snapshot and video recording examples. If you want to boot from SD, save the script to SD as main.py
by iabdalkader
Sun Mar 17, 2019 12:25 pm
Forum: Technical Discussion
Topic: Artifacts from camera after running CNN and frame differencing
Replies: 24
Views: 10362

Re: Artifacts from camera after running CNN and frame differencing

This is not related to NN or any other image function. There's an issue with extra_fb in particular and with fb memory in general, I'll try to fix this soon before the next release (the fix will make extra_fb have less memory, so be prepared for that). For now the only workaround is to avoid using e...
by iabdalkader
Fri Mar 15, 2019 1:56 pm
Forum: Project Discussion
Topic: Find red color and setar pin 1
Replies: 5
Views: 8501

Re: Find red color and setar pin 1

Also please stop posting the same question in every forum we have, we got it :)
by iabdalkader
Fri Mar 15, 2019 1:48 pm
Forum: Project Discussion
Topic: Find red color and setar pin 1
Replies: 5
Views: 8501

Re: Find red color and setar pin 1

Hi, please post the code you have so far and an example image of what you want to track and we'll help.
by iabdalkader
Sat Mar 09, 2019 3:49 pm
Forum: General Topics
Topic: white and cold image colors for M7 (OV7725) => blur image
Replies: 6
Views: 2807

Re: white and cold image colors for M7 (OV7725) => blur image

This will help you understand how it works
Screenshot from 2019-03-09 22-44-15.png
by iabdalkader
Sat Mar 09, 2019 3:37 pm
Forum: General Topics
Topic: white and cold image colors for M7 (OV7725) => blur image
Replies: 6
Views: 2807

Re: white and cold image colors for M7 (OV7725) => blur image

This just limits AGC/AEC to that range and it should make the image darker. But also note there's another region for fast AGC/AEC controlled by VPT(0x26).
by iabdalkader
Fri Mar 08, 2019 7:56 am
Forum: Technical Discussion
Topic: Openmv _thread module support?
Replies: 4
Views: 3234

Re: Openmv _thread module support?

It works in Micropyhton because they don't use this patch, we use this patch because this bug affects the IDE (causes the camera to crash when the script is started/stopped). There's No plan to support threading before this issue is fixed in Micropython first.
by iabdalkader
Thu Mar 07, 2019 11:00 am
Forum: Technical Discussion
Topic: 12 hr. Time lapse Snapshots
Replies: 2
Views: 2713

Re: 12 hr. Time lapse Snapshots

If you search the forums I think you'll find examples for timelapse. Anyway, what problem are you having with your code ? Can you post the script ?
by iabdalkader
Thu Mar 07, 2019 10:58 am
Forum: Technical Discussion
Topic: cnn accuracy on m7
Replies: 29
Views: 11110

Re: cnn accuracy on m7

Eric wrote:
Wed Mar 06, 2019 7:14 am
Of these 100 persons only 11 were recognized.
Are you sure the labels are not inverted ? 0 for person 1 for something else ? Note some accuracy is lost when the model is quantized, but shouldn't be this bad.

Go to advanced search