Sponsored Content
Top Forums Programming Telegram Object Detection Bot using Node-RED and TensorFlow Object Detection on macOS Post 303044899 by Neo on Sunday 8th of March 2020 09:42:04 AM
Old 03-08-2020
Had this Node-RED, COCO-SSD, TensorFlow contraption out on the balcony hunting for birds today. Then was busy on some other project, and got this incoming.

So, not sure if the gizmo I made actually identified an airplane or it is confusing birds with planes! LOL

Anyway, I have heard so many "bad stories" about these AI algos are used for evil; but today it was really fun detecting various things and laughing at what my MacBook Air thought was a "airplane" or a "flower pot" or some other crazy idea from an image detection bot.....

"It's a bird! It's a plane! No! It's MuppetBot!"

Telegram Object Detection Bot using Node-RED and TensorFlow Object Detection on macOS-img_9220jpg
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

virus detection

IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
Discussion started by: pbonilla
1 Replies

2. IP Networking

modem detection

How to get information that where is my modem configured in /dev. I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies

3. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

4. Programming

Parallel Processing Detection and Program Return Value Detection

Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies

5. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies

6. What is on Your Mind?

Telegram Bots - Bot Code Examples

I'm currently looking into ways to integrate the Telegram API into the forums: Telegram Bots - Bot Code Examples I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?). Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies

7. What is on Your Mind?

MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, Arduino

I have just completed the first phase of integrating all these devices and technologies: MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Discussion started by: Neo
1 Replies

8. Programming

Programming a Telegram Bot Using Node-RED, PHP, and MySQL

Yesterday, I announced the first release of a "Telegram Computer Trivia Bot" in this post: Play Computer Trivia on Telegram In this post, I will provide a high level overview of the application. The main components in this application are: Node-RED LAMP (Linux, Apache2, MySQL, PHP)... (7 Replies)
Discussion started by: Neo
7 Replies
MPSNNDefaultPadding(3)					 MetalPerformanceShaders.framework				    MPSNNDefaultPadding(3)

NAME
MPSNNDefaultPadding SYNOPSIS
#import <MPSNeuralNetworkTypes.h> Inherits NSObject, and <MPSNNPadding>. Instance Methods (NSString *__nonnull) - label Class Methods (instancetype __nonnull) + paddingWithMethod: (instancetype __nonnull) + paddingForTensorflowAveragePooling (instancetype __nonnull) + paddingForTensorflowAveragePoolingValidOnly Method Documentation - (NSString * __nonnull) label Human readable description of what the padding policy does + (instancetype __nonnull) paddingForTensorflowAveragePooling A padding policy that attempts to reproduce TensorFlow behavior for average pooling Most TensorFlow padding is covered by the standard MPSNNPaddingMethod encodings. You can use +paddingWithMethod to get quick access to MPSNNPadding objects, when default filter behavior isn't enough. (It often is.) However, the edging for max pooling in TensorFlow is a bit unusual. This padding method attempts to reproduce TensorFlow padding for average pooling. In addition to setting MPSNNPaddingMethodSizeSame | MPSNNPaddingMethodAlignCentered | MPSNNPaddingMethodAddRemainderToBottomRight, it also configures the filter to run with MPSImageEdgeModeClamp, which (as a special case for average pooling only), normalizes the sum of contributing samples to the area of valid contributing pixels only. // Sample implementation for the tensorflowPoolingPaddingPolicy returned -(MPSNNPaddingMethod) paddingMethod{ return MPSNNPaddingMethodCustom | MPSNNPaddingMethodSizeSame; } -(MPSImageDescriptor * __nonnull) destinationImageDescriptorForSourceImages: (NSArray <MPSImage *> *__nonnull) sourceImages sourceStates: (NSArray <MPSState *> * __nullable) sourceStates forKernel: (MPSKernel * __nonnull) kernel suggestedDescriptor: (MPSImageDescriptor * __nonnull) inDescriptor { ((MPSCNNKernel *)kernel).edgeMode = MPSImageEdgeModeClamp; return inDescriptor; } + (instancetype __nonnull) paddingForTensorflowAveragePoolingValidOnly Typical pooling padding policy for valid only mode + (instancetype __nonnull) paddingWithMethod: (MPSNNPaddingMethod) method Fetch a well known object that implements a non-custom padding method For custom padding methods, you will need to implement an object that conforms to the full MPSNNPadding protocol, including NSSecureCoding. Parameters: method A MPSNNPaddingMethod Returns: An object that implements <MPSNNPadding> for use with MPSNNGraphNodes. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSNNDefaultPadding(3)
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy