0.1.4 • Published 1 year ago

react-prc-sdk v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

react-prc-sdk library

Description

For object detection using yolov8n_web_model model

you can install this library using npm or yarn

npm install react-prc-sdk

or

yarn add react-prc-sdk

Usage

import { SdkStarter } from 'react-prc-sdk';

const App = () => {
  return (
    <div>
      <SdkStarter modelPath={'/yolov8n_web_model/model.json'} />

      // your code goes here...
    </div>
  );
};

export default App;

Props

Prop NameTypeDescription
modelPathstringpath to the model file

Issues

If you encounter issue in CRA projects like Error: You need additional loader for this loader then you can try to install the package globally using the following command

update the package.json file with the following

"browserslist": [
  ">0.25%",
  "not dead",
  "not op_mini all"
]

and remove the node_modules folder and reinstall packages using the following command

npm install

or

yarn install

and then rerun the project

License

MIT

[]: # (end)
0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago