https://github.com/davidobinna/ai-crime-detector-mobile-app-open-source
source code is private....
https://github.com/davidobinna/ai-crime-detector-mobile-app-open-source
Last synced: 8 months ago
JSON representation
source code is private....
- Host: GitHub
- URL: https://github.com/davidobinna/ai-crime-detector-mobile-app-open-source
- Owner: davidobinna
- Created: 2024-06-14T01:15:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T21:26:36.000Z (about 2 years ago)
- Last Synced: 2025-03-27T14:36:24.610Z (about 1 year ago)
- Language: Swift
- Homepage:
- Size: 417 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Crime Detector with React + TypeScript + Vite + Ionic + Capacitor Native + NodeJS
## Table of Contents
- [Introduction](#introduction)
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Usage](#usage)
- [Project Structure](#project-structure)
- [Contributing](#contributing)
- [License](#license)
## Introduction
The AI Crime Detector is a cutting-edge application that leverages the capabilities of Android and iOS cameras in conjunction with a Vision Model to analyze and rate crime scenes. The application captures images from the camera, processes them using advanced AI models to identify and assess the crime scene, and displays the results to the user. This tool aims to aid law enforcement and security agencies in quickly identifying and responding to potential crime scenes.
## Features
- Capture images using Android and iOS cameras.
- Analyze images using an integrated Vision Model.
- Identify and rate the severity of crime scenes.
- Display detailed analysis and identification results.
- Cross-platform support for web, iOS, and Android.
## Technologies Used
- **Frontend:**
- React
- TypeScript
- Vite
- Ionic
- Capacitor
- **Backend:**
- NodeJS
- Express
- **AI & Vision Model:**
- TensorFlow.js (or any other AI framework/library)
## Installation
To set up the project locally, follow these steps:
1. **Clone the Repository:**
```sh
git clone https://github.com/your-username/ai-crime-detector.git
cd ai-crime-detector
```
2. **Install Dependencies:**
```sh
npm install
```
3. **Set Up Environment Variables:**
Create a `.env` file in the root directory and add the necessary environment variables.
4. **Run the Application:**
```sh
npm run dev
```
## Usage
1. **Start the Application:**
```sh
npm start
```
2. **Access the Application:**
Open your browser and navigate to `http://localhost:3000` to access the web version of the application.
3. **Using Mobile Features:**
To test mobile-specific features, use the Ionic Capacitor CLI to run the application on an emulator or a physical device:
```sh
ionic capacitor run ios
ionic capacitor run android
```
## Project Structure
```
ai-crime-detector/
├── public/
│ ├── index.html
│ └── ...
├── src/
│ ├── assets/
│ ├── components/
│ ├── pages/
│ ├── services/
│ ├── App.tsx
│ ├── main.tsx
│ └── ...
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── app.js
│ └── ...
├── .env
├── package.json
├── README.md
└── ...
```
## Contributing
We welcome contributions to improve the AI Crime Detector. To contribute, follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/your-feature-name`).
3. Make your changes.
4. Commit your changes (`git commit -m 'Add some feature'`).
5. Push to the branch (`git push origin feature/your-feature-name`).
6. Open a Pull Request.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
Thank you for using AI Crime Detector! If you have any questions or feedback, please open an issue or contact us at support@ai-crimedetector.com.
# Template for Capacitor Native + NodeJ
This descrip below provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level `parserOptions` property like this:
```js
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}
```
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list