HASS-Deepstack-object | Home Assistant custom component
kandi X-RAY | HASS-Deepstack-object Summary
kandi X-RAY | HASS-Deepstack-object Summary
Home Assistant custom component for using Deepstack object detection
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Crop the image
- Save the image
- Get a list of objects from prediction
- Get object type
- Check if an object is in the given ROI
- Checks if a point is within a box
- Returns a valid filename
HASS-Deepstack-object Key Features
HASS-Deepstack-object Examples and Code Snippets
Community Discussions
Trending Discussions on Internet of Things (IoT)
QUESTION
I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files
...ANSWER
Answered 2020-May-17 at 23:55The new object to get params in React Navigation 5 is:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HASS-Deepstack-object
ip_address: the ip address of your deepstack instance.
port: the port of your deepstack instance.
api_key: (Optional) Any API key you have set.
timeout: (Optional, default 10 seconds) The timeout for requests to deepstack.
custom_model: (Optional) The name of a custom model if you are using one. Don't forget to add the targets from the custom model below
confidence: (Optional) The confidence (in %) above which detected targets are counted in the sensor state. Default value: 80
save_file_folder: (Optional) The folder to save processed images to. Note that folder path should be added to whitelist_external_dirs
save_file_format: (Optional, default jpg, alternatively png) The file format to save images as. png generally results in easier to read annotations.
save_timestamped_file: (Optional, default False, requires save_file_folder to be configured) Save the processed image with the time of detection in the filename.
always_save_latest_file: (Optional, default False, requires save_file_folder to be configured) Always save the last processed image, even if there were no detections.
scale: (optional, default 1.0), range 0.1-1.0, applies a scaling factor to the images that are saved. This reduces the disk space used by saved images, and is especially beneficial when using high resolution cameras.
show_boxes: (optional, default True), if False bounding boxes are not shown on saved images
roi_x_min: (optional, default 0), range 0-1, must be less than roi_x_max
roi_x_max: (optional, default 1), range 0-1, must be more than roi_x_min
roi_y_min: (optional, default 0), range 0-1, must be less than roi_y_max
roi_y_max: (optional, default 1), range 0-1, must be more than roi_y_min
source: Must be a camera.
targets: The list of target object names and/or object_type, default person. Optionally a confidence can be set for this target, if not the default confidence is used. Note the minimum possible confidence is 10%.
entity_id : the entity id responsible for the event
name : the name of the object detected
object_type : the type of the object, from person, vehicle, animal or other
confidence : the confidence in detection in the range 0 - 100%
box : the bounding box of the object
centroid : the centre point of the object
saved_file : the path to the saved annotated image, which is the timestamped file if save_timestamped_file is True, or the default saved image if False
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page