sophon-sail User Manual
- 1. Disclaimer
- 2. SAIL
- 3. Compilation and Installation Guide
- 4. SAIL C++ API Reference
- 4.1. SAIL C++ API
- 4.1.1. Basic function
- 4.1.2. Data type
- 4.1.3. PaddingAtrr
- 4.1.4. Handle
- 4.1.5. Tensor
- 4.1.6. IOMode
- 4.1.7. Engine
- 4.1.8. BMImage
- 4.1.9. Decoder
- 4.1.10. Bmcv
- 4.1.11. MultiDecoder
- 4.1.12. sail_resize_type
- 4.1.13. ImagePreProcess
- 4.1.14. EngineImagePreProcess
- 4.1.15. algo_yolov5_post_1output
- 4.1.16. Encoder
- 4.1. SAIL C++ API
- 5. SAIL Python API Reference
- 5.1. Basic function
- 5.2. sail.Data type
- 5.3. sail.PaddingAtrr
- 5.4. sail.Handle
- 5.5. sail.IOMode
- 5.6. sail.bmcv_resize_algorithm
- 5.7. sail.Format
- 5.8. sail.ImgDtype
- 5.9. sail.Tensor
- 5.10. sail.Engine
- 5.10.1. __init__
- 5.10.2. get_handle
- 5.10.3. load
- 5.10.4. get_graph_names
- 5.10.5. set_io_mode
- 5.10.6. get_input_names
- 5.10.7. get_output_names
- 5.10.8. get_max_input_shapes
- 5.10.9. get_input_shape
- 5.10.10. get_max_output_shapes
- 5.10.11. get_output_shape
- 5.10.12. get_input_dtype
- 5.10.13. get_output_dtype
- 5.10.14. get_input_scale
- 5.10.15. get_output_scale
- 5.10.16. process
- 5.10.17. get_device_id
- 5.10.18. create_input_tensors_map
- 5.10.19. create_output_tensors_map
- 5.11. sail.MultiEngine
- 5.12. sail.bm_image
- 5.13. sail.BMImage
- 5.14. sail.BMImageArray
- 5.15. sail.Decoder
- 5.16. sail.Encoder
- 5.17. sail.Bmcv
- 5.17.1. __init__
- 5.17.2. bm_image_to_tensor
- 5.17.3. tensor_to_bm_image
- 5.17.4. crop_and_resize
- 5.17.5. crop
- 5.17.6. resize
- 5.17.7. vpp_crop_and_resize
- 5.17.8. vpp_crop_and_resize_padding
- 5.17.9. vpp_crop
- 5.17.10. vpp_resize
- 5.17.11. vpp_resize_padding
- 5.17.12. warp
- 5.17.13. convert_to
- 5.17.14. yuv2bgr
- 5.17.15. rectangle
- 5.17.16. imwrite
- 5.17.17. get_handle
- 5.17.18. crop_and_resize_padding
- 5.17.19. rectangle_
- 5.17.20. imwrite_
- 5.17.21. convert_format
- 5.17.22. vpp_convert_format
- 5.17.23. putText
- 5.17.24. putText_
- 5.17.25. image_add_weighted
- 5.17.26. image_copy_to
- 5.17.27. image_copy_to_padding
- 5.17.28. nms
- 5.17.29. drawPoint
- 5.17.30. drawPoint_
- 5.17.31. warp_perspective
- 5.17.32. get_bm_data_type
- 5.17.33. get_bm_image_data_format
- 5.17.34. imdecode
- 5.17.35. fft
- 5.18. sail.MultiDecoder
- 5.19. sail.sail_resize_type
- 5.20. sail.ImagePreProcess
- 5.21. sail.TensorPTRWithName
- 5.22. sail.EngineImagePreProcess
- 5.22.1. __init__
- 5.22.2. InitImagePreProcess
- 5.22.3. SetPaddingAtrr
- 5.22.4. SetConvertAtrr
- 5.22.5. PushImage
- 5.22.6. GetBatchData_Npy
- 5.22.7. GetBatchData_Npy2
- 5.22.8. GetBatchData
- 5.22.9. get_graph_name
- 5.22.10. get_input_width
- 5.22.11. get_input_height
- 5.22.12. get_output_names
- 5.22.13. get_output_shape
- 5.23. sail.algo_yolov5_post_1output
- 5.24. sail.algo_yolov5_post_3output